Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

CorrelatedReadoutMitigator

class CorrelatedReadoutMitigator(assignment_matrix, qubits=None)[código fonte]

Bases: BaseReadoutMitigator

N-qubit readout error mitigator.

Mitigates expectation_value() and quasi_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

assignment_matrix

Return the readout assignment matrix for specified qubits.

expectation_value

Compute the mitigated expectation value of a diagonal observable.

mitigation_matrix

Return the readout 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

settings

Return settings.