CorrelatedReadoutMitigator¶
- class CorrelatedReadoutMitigator(assignment_matrix, qubits=None)[código fonte]¶
Bases:
BaseReadoutMitigator
N-qubit readout error mitigator.
Mitigates
expectation_value()
andquasi_probabilities()
. The mitigation_matrix should be calibrated using qiskit experiments. This mitigation method should be used in case the readout errors of the qubits are assumed to be correlated. The mitigation_matrix of N qubits is of size \(2^N x 2^N\) so the mitigation complexity is \(O(4^N)\).Initialize a CorrelatedReadoutMitigator
- Parâmetros
assignment_matrix (ndarray) – readout error assignment matrix.
qubits (Optional[Iterable[int]]) – Optional, the measured physical qubits for mitigation.
- Levanta
QiskitError – matrix size does not agree with number of qubits
Methods
Return the readout assignment matrix for specified qubits.
Compute the mitigated expectation value of a diagonal observable.
Return the readout mitigation matrix for the specified qubits.
Compute mitigated quasi probabilities value.
Return an upper bound on standard deviation of expval estimator.
Attributes
- qubits¶
The device qubits for this mitigator
- settings¶
Return settings.