TensoredExpvalMeasMitigator¶
-
class
TensoredExpvalMeasMitigator
(amats)[source]¶ Bases:
qiskit.ignis.mitigation.expval.base_meas_mitigator.BaseExpvalMeasMitigator
1-qubit tensor product measurement error mitigator.
This class can be used with the
qiskit.ignis.mitigation.expectation_value()
function to apply measurement error mitigation of local single-qubit measurement errors. Expectation values can also be computed directly using theexpectation_value()
method.For measurement mitigation to be applied the mitigator should be calibrated using the
qiskit.ignis.mitigation.expval_meas_mitigator_circuits()
function andqiskit.ignis.mitigation.ExpvalMeasMitigatorFitter
class with the'tensored'
mitigation method.Initialize a TensorMeasurementMitigator
- Parameters
amats (
List
[ndarray
]) – list of single-qubit readout error assignment matrices.
Methods
Return the measurement assignment fidelity on the specified qubits.
Return the measurement assignment matrix for specified qubits.
Compute the mitigated expectation value of a diagonal observable.
Return the measurement mitigation matrix for the specified qubits.
Return the mitigation overhead for expectation value estimation.
Matrix plot of the readout error assignment matrix.
Matrix plot of the readout error mitigation matrix.
Return the number of shots required for expectation value estimation.
Return an upper bound on standard deviation of expval estimator.