processing.steps.readout_error_mitigation

Contents

processing.steps.readout_error_mitigation#

Contains readout error mitigation post-processing steps

Classes#

IBUReadoutMitigation(machine_name[, ...])

a mitigation method that uses iterative bayesian unfolding to mitigate readout errors on a circuit's results

MatrixReadoutMitigation(machine_name)

a post-processing step that applies error mitigation based on the readout fidelities

Functions#

all_combinations(num_qubits)

all bitstrings for a number of qubits

all_results(results, num_qubits)

counts for all bitstring combinations

get_calibration_data(machine_name, chosen_qubits)

Build per-qubit 2×2 calibration matrices from benchmark readout fidelities.

get_full_readout_matrix(machine_name, ...)

Build and normalise the full readout response matrix for a set of qubits.

get_readout_fidelities(machine_name, ...)

Fetch state-0 and state-1 readout fidelities from the latest benchmark.

tensor_product_calibration(calibration_matrices)

Combine per-qubit calibration matrices into a full multi-qubit readout matrix.