qiskit.result.LocalReadoutMitigator.mitigation_matrix¶
- LocalReadoutMitigator.mitigation_matrix(qubits=None)[source]¶
Return the measurement mitigation matrix for the specified qubits.
The mitigation matrix \(A^{-1}\) is defined as the inverse of the
assignment_matrix()
\(A\).- Paramètres
qubits (Optional[Union[List[int], int]]) – Optional, qubits being measured for operator expval. if a single int is given, it is assumed to be the index of the qubit in self._qubits
- Renvoie
the measurement error mitigation matrix \(A^{-1}\).
- Type renvoyé
np.ndarray