qiskit-community / qiskit-research

Research using Qiskit.
https://qiskit-community.github.io/qiskit-research/
Apache License 2.0
67 stars 56 forks source link

Extended the gate set for pauli twirling #121

Closed d-bharadwaj closed 1 week ago

d-bharadwaj commented 2 weeks ago

This pull request enhances the pauli_twirling utility by adding support for more two-qubit gates and refactoring the code to be more modular. It also includes comprehensive tests for the newly supported gates.

Enhancements to pauli_twirling utility:

Testing enhancements:

Additionally, I have run the tests using tox locally and have added some more tests for the utilities introduced. Also thanks to this repo that helped me out with this. This enhancement was discussed in Issue #120, where I brought it up, and @kevinsung requested me to open a pull request.

CLAassistant commented 2 weeks ago

CLA assistant check
All committers have signed the CLA.

coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 11619932235

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
qiskit_research/utils/pauli_twirling.py 41 42 97.62%
<!-- Total: 41 42 97.62% -->
Totals Coverage Status
Change from base Build 11055740630: 1.2%
Covered Lines: 675
Relevant Lines: 988

💛 - Coveralls
d-bharadwaj commented 1 week ago

Thank you!

Of course!