iqm.error_reduction_tools.readout_characterization.data_processing.SingleCovarianceData

iqm.error_reduction_tools.readout_characterization.data_processing.SingleCovarianceData#

class iqm.error_reduction_tools.readout_characterization.data_processing.SingleCovarianceData#

Bases: TypedDict

Single- and double-twirled covariance output container.

Attributes

covariance_matrices

NxN covariance matrices keyed by error ID (0–3 for single-twirled, 0–2 for double-twirled).

error_labels

List of (error_id, description) pairs providing human-readable labels for each error category.

measured_qubits

Ordered list of qubit labels corresponding to the matrix row/column indices.

Methods

covariance_matrices: dict[int, ndarray]#

NxN covariance matrices keyed by error ID (0–3 for single-twirled, 0–2 for double-twirled). Entry [i, j] is the covariance between the error/syndrome flip on qubit i and the syndrome flip on qubit j.

error_labels: list[tuple[int, str]]#

List of (error_id, description) pairs providing human-readable labels for each error category.

measured_qubits: list[str]#

Ordered list of qubit labels corresponding to the matrix row/column indices.