- class CompleteMeasFitter(results, state_labels, qubit_list=None, circlabel='')[source]¶
Measurement correction fitter for a full calibration
Initialize a measurement calibration matrix from the results of running the circuits returned by measurement_calibration_circuits
A wrapper for the tensored fitter
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_clskwarg of the
QuantumInstanceclass’s constructor (as a class not an instance). Anything outside of that usage does not have the normal user-facing API stability.
results – the results of running the measurement calibration circuits. If this is None the user will set a calibration matrix later.
str]) – list of calibration state labels returned from measurement_calibration_circuits. The output matrix will obey this ordering.
int]]) – List of the qubits (for reference and if the subset is needed). If None, the qubit_list will be created according to the length of state_labels.
str) – if the qubits were labeled.
Add measurement calibration data
Based on the results, output the readout fidelity which is the normalized trace of the calibration matrix
Return a fitter object that is a subset of the qubits in the original list.
Return a measurement filter using the cal matrix.
Return list of qubits.