Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

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

প্যারামিটার

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

রিটার্নস

the measurement error mitigation matrix \(A^{-1}\).

রিটার্ন টাইপ

np.ndarray