Note
This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.
RestlessMixin¶
- class RestlessMixin[source]¶
A mixin to facilitate restless experiments.
This class defines the following methods:
_get_restless_processor()
_t1_check()
A restless enabled experiment is an experiment that can be run in a restless measurement setting. In restless measurements, the qubit is not reset after each measurement. Instead, the outcome of the previous quantum non-demolition measurement is the initial state for the current circuit. Restless measurements therefore require special data processing which is provided by sub-classes of the
RestlessNode
. Restless experiments are a fast alternative for several calibration and characterization tasks, for details see https://arxiv.org/pdf/2202.06981.pdf.This class makes it possible for users to enter a restless run mode without having to manually set all the required run options and the data processor. The required options are
rep_delay
,init_qubits
,memory
, andmeas_level
. Furthermore, subclasses can override the_get_restless_processor()
method if they require more complex restless data processing such as two-qubit calibrations. In addition, this class makes it easy to determine if restless measurements are supported for a given experiment.Methods
RestlessMixin.enable_restless
([rep_delay, ...])Enables a restless experiment by setting the restless run options and the restless data processor.