CTMPExpvalMeasMitigator¶
-
class
CTMPExpvalMeasMitigator
(generators, rates, num_qubits=None, seed=None)[source]¶ Bases:
qiskit.ignis.mitigation.expval.base_meas_mitigator.BaseExpvalMeasMitigator
N-qubit CTMP measurement error mitigator.
This class can be used with the
qiskit.ignis.mitigation.expectation_value()
function to apply measurement error mitigation of N-qubit measurement errors caused by one and two-body error generators. 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'CTMP'
mitigation method.Initialize a TensorMeasurementMitigator
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 generator matrix on the specified qubits.
Return the measurement mitigation matrix for the specified qubits.
Return the mitigation overhead for expectation value estimation.
Return the noise strength \(gamma\) on the specified qubits
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.
Set the seed for the quantum state RNG.
Return an upper bound on standard deviation of expval estimator.