qiskit-community / qiskit-ignis

Ignis (deprecated) provides tools for quantum hardware verification, noise characterization, and error correction.
Apache License 2.0
168 stars 162 forks source link

Fix expval mitigation bug #563

Closed chriseclectic closed 3 years ago

chriseclectic commented 3 years ago

Summary

Fixes bug in expectation value error mitigation where if the qubits kwarg was not specified it would incorrectly use the total number of qubits of the mitigator, rather than the number of classical bits in the count dictionary leading to greatly reduced performance.

Details and comments

Closes #561