iqm.error_reduction_tools.readout_characterization.readout_error_characterization.RECConfiguration#
- class iqm.error_reduction_tools.readout_characterization.readout_error_characterization.RECConfiguration(num_circuits=50, shots=10000, qubits=None, seed=None, symmetrize=True, equatorial_randomization=True)#
Bases:
objectConfiguration for a readout error characterization (REC) experiment.
All parameters have sensible defaults so
RECConfiguration()is valid and immediately usable.Attributes
When
True, randomizes the phase angle of every X gate to average out coherent phase errors.Number of calibration circuits to generate
Qubit names to characterize.
Random seed for reproducible circuit generation.
Total measurement shots distributed across all circuits.
When
True, generates complementary preparation pairs so that each qubit is prepared in |0⟩ and |1⟩ equally often.Methods
__eq__(other)Return self==value.
__repr__()Return repr(self).
- Parameters:
- shots: int = 10000#
Total measurement shots distributed across all circuits. Each circuit receives
shots // num_circuitsshots.
- qubits: list[str] | None = None#
Qubit names to characterize.
Non-operational qubits (those without a calibrated
measuregate) are always excluded: they cannot be characterized or have readout error mitigation applied.None(default): qubits are not pinned. When used standalone, this characterizes every operational qubit on the QPU; in theREMWorkflowit lets the workflow infer the qubits from the measured qubits of the input circuits.list[str]: characterize exactly these qubit names, minus any that are not operational.
- seed: int | None = None#
Random seed for reproducible circuit generation.
Noneproduces non-deterministic results.