Korean
언어
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

LocalReadoutMitigator

class LocalReadoutMitigator(assignment_matrices=None, qubits=None, backend=None)[소스]

기반 클래스: BaseReadoutMitigator

1-qubit tensor product readout error mitigator.

Mitigates expectation_value() and quasi_probabilities(). The mitigator should either be calibrated using qiskit experiments, or calculated directly from the backend properties. This mitigation method should be used in case the readout errors of the qubits are assumed to be uncorrelated. For N qubits there are N mitigation matrices, each of size \(2 x 2\) and the mitigation complexity is \(O(2^N)\), so it is more efficient than the CorrelatedReadoutMitigator class.

Initialize a LocalReadoutMitigator

매개변수
  • assignment_matrices (Optional[List[ndarray]]) – Optional, list of single-qubit readout error assignment matrices.

  • qubits (Optional[Iterable[int]]) – Optional, the measured physical qubits for mitigation.

  • backend – Optional, backend name.

예외 발생

QiskitError – matrices sizes do not agree with number of qubits

Methods

assignment_matrix

Return the measurement assignment matrix for specified qubits.

expectation_value

Compute the mitigated expectation value of a diagonal observable.

mitigation_matrix

Return the measurement mitigation matrix for the specified qubits.

quasi_probabilities

Compute mitigated quasi probabilities value.

stddev_upper_bound

Return an upper bound on standard deviation of expval estimator.

Attributes

qubits

The device qubits for this mitigator

반환 형식

Tuple[int]

settings

Return settings.

반환 형식

Dict