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

TensoredMeasFitter

class TensoredMeasFitter(results, mit_pattern, substate_labels_list=None, circlabel='')[소스]

기반 클래스: object

Deprecated: Measurement correction fitter for a tensored calibration.

Initialize a measurement calibration matrix from the results of running the circuits returned by measurement_calibration_circuits.

경고

This class is not a public API. The internals are not stable and will likely change. It is used solely for the measurement_error_mitigation_cls kwarg of the QuantumInstance class’s constructor (as a class not an instance). Anything outside of that usage does not have the normal user-facing API stability.

버전 0.24.0부터 폐지됨: The class qiskit.utils.mitigation.fitters.TensoredMeasFitter is deprecated as of qiskit-terra 0.24.0. It will be removed no earlier than 3 months after the release date. For code migration guidelines, visit https://qisk.it/qi_migration.

매개변수
  • results – the results of running the measurement calibration circuits. If this is None, the user will set calibration matrices later.

  • mit_pattern (List[List[int]]) – qubits to perform the measurement correction on, divided to groups according to tensors

  • substate_labels_list (List[List[str]]) – for each calibration matrix, the labels of its rows and columns. If None, the labels are ordered lexicographically

  • circlabel (str) – if the qubits were labeled

예외 발생

ValueError – if the mit_pattern doesn’t match the substate_labels_list

Methods

add_data

Add measurement calibration data

readout_fidelity

Based on the results, output the readout fidelity, which is the average of the diagonal entries in the calibration matrices.

subset_fitter

Return a fitter object that is a subset of the qubits in the original list.

Attributes

cal_matrices

Return cal_matrices.

filter

Return a measurement filter using the cal matrices.

nqubits

Return _qubit_list_sizes.

substate_labels_list

Return _substate_labels_list.