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.
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