ThresholdStateDiscrimination#
- class iqm.pulse.playlist.instructions.ThresholdStateDiscrimination(label, delay_samples, weights, threshold, feedback_signal_label='')#
Bases:
ComplexIntegration
Perform a weighted integration of the IQ raw signal and compare the real part of the result against a threshold value, resulting in a boolean.
Module:
iqm.pulse.playlist.instructions
Attributes
In fast feedback routing, the transmitted signals are associated with this label.
The real part of the integration result is compared against this.
weights
Integration weights.
label
Identifier for the returned data, like
QB1__readout.time_trace
.delay_samples
Delay from beginning of probe pulse to beginning of acquisition window, in samples.
Methods
- Parameters:
- feedback_signal_label: str = ''#
In fast feedback routing, the transmitted signals are associated with this label. ConditionalInstructions whose “condition” field has the string value of feedback_signal_label will receive the signal from this ThresholdStateDiscrimination. Empty string (default) means the signal is not routed anywhere. The same feedback_signal_label may not be used multiple times within the same ReadoutTrigger. The same feedback_signal_label can be used in different ReadoutTriggers and different segments.