QRC#
Parameters#
- QRC.out0_in0_freq()#
Sets/gets output 0 and input 0 frequency.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out0_in0_lo_freq()#
Sets/gets output 0 and input 0 frequency settings.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out1_in1_freq()#
Sets/gets output 1 and input 1 frequency.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out1_in1_lo_freq()#
Sets/gets output 1 and input 1 frequency settings.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out2_freq()#
Sets/gets output 2 frequency.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out2_lo_freq()#
Sets/gets output 2 frequency settings.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out3_freq()#
Sets/gets output 3 frequency.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out3_lo_freq()#
Sets/gets output 3 frequency settings.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out4_freq()#
Sets/gets output 4 frequency.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out4_lo_freq()#
Sets/gets output 4 frequency settings.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out5_freq()#
Sets/gets output 5 frequency.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out5_lo_freq()#
Sets/gets output 5 frequency settings.
- Properties:
unit: Hz
value: <Numbers 500000000<=v<=10100000000, Multiples of 100000000>
- QRC.out0_att()#
Sets/gets output attenuation in steps of 0.5 dB, minimum is 0 dB, default maximum is 31.5 dB. Note that the max attenuation is configurable for the QRC module.
- Properties:
unit: dB
value: <Numbers v>=0, Multiples of 0.5>
- QRC.out1_att()#
Sets/gets output attenuation in steps of 0.5 dB, minimum is 0 dB, default maximum is 31.5 dB. Note that the max attenuation is configurable for the QRC module.
- Properties:
unit: dB
value: <Numbers v>=0, Multiples of 0.5>
- QRC.out2_att()#
Sets/gets output attenuation in steps of 0.5 dB, minimum is 0 dB, default maximum is 31.5 dB. Note that the max attenuation is configurable for the QRC module.
- Properties:
unit: dB
value: <Numbers v>=0, Multiples of 0.5>
- QRC.out3_att()#
Sets/gets output attenuation in steps of 0.5 dB, minimum is 0 dB, default maximum is 31.5 dB. Note that the max attenuation is configurable for the QRC module.
- Properties:
unit: dB
value: <Numbers v>=0, Multiples of 0.5>
- QRC.out4_att()#
Sets/gets output attenuation in steps of 0.5 dB, minimum is 0 dB, default maximum is 31.5 dB. Note that the max attenuation is configurable for the QRC module.
- Properties:
unit: dB
value: <Numbers v>=0, Multiples of 0.5>
- QRC.out5_att()#
Sets/gets output attenuation in steps of 0.5 dB, minimum is 0 dB, default maximum is 31.5 dB. Note that the max attenuation is configurable for the QRC module.
- Properties:
unit: dB
value: <Numbers v>=0, Multiples of 0.5>
- QRC.in0_att()#
Sets/gets input attenuation in steps of 0.5 dB from 0 dB.
- Properties:
unit: dB
value: <Numbers v>=0, Multiples of 0.5>
- QRC.in1_att()#
Sets/gets input attenuation in steps of 0.5 dB from 0 dB.
- Properties:
unit: dB
value: <Numbers v>=0, Multiples of 0.5>
- QRC.scope_acq_trigger_mode_path0()#
Sets/gets scope acquisition trigger mode for input path 0 (‘sequencer’ = triggered by sequencer, ‘level’ = triggered by input level).
- Properties:
value: <Enum: {‘sequencer’, ‘level’}>
- QRC.scope_acq_trigger_level_path0()#
Sets/gets scope acquisition trigger level when using input level trigger mode for input path 0.
- Properties:
value: <Numbers -1.0<=v<=1.0>
- QRC.scope_acq_avg_mode_en_path0()#
Sets/gets scope acquisition averaging mode enable for input path 0.
- Properties:
value: <Boolean>
- QRC.scope_acq_trigger_mode_path1()#
Sets/gets scope acquisition trigger mode for input path 1 (‘sequencer’ = triggered by sequencer, ‘level’ = triggered by input level).
- Properties:
value: <Enum: {‘sequencer’, ‘level’}>
- QRC.scope_acq_trigger_level_path1()#
Sets/gets scope acquisition trigger level when using input level trigger mode for input path 1.
- Properties:
value: <Numbers -1.0<=v<=1.0>
- QRC.scope_acq_avg_mode_en_path1()#
Sets/gets scope acquisition averaging mode enable for input path 1.
- Properties:
value: <Boolean>
- QRC.scope_acq_trigger_mode_path2()#
Sets/gets scope acquisition trigger mode for input path 2 (‘sequencer’ = triggered by sequencer, ‘level’ = triggered by input level).
- Properties:
value: <Enum: {‘sequencer’, ‘level’}>
- QRC.scope_acq_trigger_level_path2()#
Sets/gets scope acquisition trigger level when using input level trigger mode for input path 2.
- Properties:
value: <Numbers -1.0<=v<=1.0>
- QRC.scope_acq_avg_mode_en_path2()#
Sets/gets scope acquisition averaging mode enable for input path 2.
- Properties:
value: <Boolean>
- QRC.scope_acq_trigger_mode_path3()#
Sets/gets scope acquisition trigger mode for input path 3 (‘sequencer’ = triggered by sequencer, ‘level’ = triggered by input level).
- Properties:
value: <Enum: {‘sequencer’, ‘level’}>
- QRC.scope_acq_trigger_level_path3()#
Sets/gets scope acquisition trigger level when using input level trigger mode for input path 3.
- Properties:
value: <Numbers -1.0<=v<=1.0>
- QRC.scope_acq_avg_mode_en_path3()#
Sets/gets scope acquisition averaging mode enable for input path 3.
- Properties:
value: <Boolean>
- QRC.scope_acq_sequencer_select()#
Sets/gets sequencer that specifies which sequencer triggers the scope acquisition when using sequencer trigger mode. It is a sequencer id, or a list of sequencer ids for each scope IQ pair.
- Properties:
value: <MultiType: Numbers 0<=v<=7, Sequence : len: 2 sorted: False <Numbers 0<=v<=7>>
- QRC.out0_latency()#
Gets the latency in output path 0. The output path can change depending on the filter configuration of the output.
- Properties:
unit: s
value: None
- QRC.out0_fir_config()#
Sets/gets the configuration of FIR filter for output 0. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out0_exp0_config()#
Sets/gets configuration of exponential overshoot filter 0 for output 0. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out0_exp1_config()#
Sets/gets configuration of exponential overshoot filter 1 for output 0. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out0_exp2_config()#
Sets/gets configuration of exponential overshoot filter 2 for output 0. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out0_exp3_config()#
Sets/gets configuration of exponential overshoot filter 3 for output 0. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out1_latency()#
Gets the latency in output path 1. The output path can change depending on the filter configuration of the output.
- Properties:
unit: s
value: None
- QRC.out1_fir_config()#
Sets/gets the configuration of FIR filter for output 1. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out1_exp0_config()#
Sets/gets configuration of exponential overshoot filter 0 for output 1. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out1_exp1_config()#
Sets/gets configuration of exponential overshoot filter 1 for output 1. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out1_exp2_config()#
Sets/gets configuration of exponential overshoot filter 2 for output 1. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out1_exp3_config()#
Sets/gets configuration of exponential overshoot filter 3 for output 1. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out2_latency()#
Gets the latency in output path 2. The output path can change depending on the filter configuration of the output.
- Properties:
unit: s
value: None
- QRC.out2_fir_config()#
Sets/gets the configuration of FIR filter for output 2. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out2_exp0_config()#
Sets/gets configuration of exponential overshoot filter 0 for output 2. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out2_exp1_config()#
Sets/gets configuration of exponential overshoot filter 1 for output 2. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out2_exp2_config()#
Sets/gets configuration of exponential overshoot filter 2 for output 2. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out2_exp3_config()#
Sets/gets configuration of exponential overshoot filter 3 for output 2. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out3_latency()#
Gets the latency in output path 3. The output path can change depending on the filter configuration of the output.
- Properties:
unit: s
value: None
- QRC.out3_fir_config()#
Sets/gets the configuration of FIR filter for output 3. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out3_exp0_config()#
Sets/gets configuration of exponential overshoot filter 0 for output 3. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out3_exp1_config()#
Sets/gets configuration of exponential overshoot filter 1 for output 3. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out3_exp2_config()#
Sets/gets configuration of exponential overshoot filter 2 for output 3. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out3_exp3_config()#
Sets/gets configuration of exponential overshoot filter 3 for output 3. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out4_latency()#
Gets the latency in output path 4. The output path can change depending on the filter configuration of the output.
- Properties:
unit: s
value: None
- QRC.out4_fir_config()#
Sets/gets the configuration of FIR filter for output 4. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out4_exp0_config()#
Sets/gets configuration of exponential overshoot filter 0 for output 4. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out4_exp1_config()#
Sets/gets configuration of exponential overshoot filter 1 for output 4. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out4_exp2_config()#
Sets/gets configuration of exponential overshoot filter 2 for output 4. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out4_exp3_config()#
Sets/gets configuration of exponential overshoot filter 3 for output 4. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out5_latency()#
Gets the latency in output path 5. The output path can change depending on the filter configuration of the output.
- Properties:
unit: s
value: None
- QRC.out5_fir_config()#
Sets/gets the configuration of FIR filter for output 5. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out5_exp0_config()#
Sets/gets configuration of exponential overshoot filter 0 for output 5. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out5_exp1_config()#
Sets/gets configuration of exponential overshoot filter 1 for output 5. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out5_exp2_config()#
Sets/gets configuration of exponential overshoot filter 2 for output 5. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.out5_exp3_config()#
Sets/gets configuration of exponential overshoot filter 3 for output 5. If ‘bypassed’, the filter is disabled. If ‘delay_comp’, the filter is bypassed, but the output is delayed as if it were applied.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.marker0_fir_config()#
Delay compensation config for the FIR filter on marker 0. If ‘bypassed’, the marker is not delayed. If ‘enabled’, the marker is delayed.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.marker0_exp0_config()#
Delay compensation config for the exponential overshoot filter 0 on marker 0. If ‘bypassed’, the marker is not delayed. If ‘enabled’, the marker is delayed.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.marker0_exp1_config()#
Delay compensation config for the exponential overshoot filter 1 on marker 0. If ‘bypassed’, the marker is not delayed. If ‘enabled’, the marker is delayed.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.marker0_exp2_config()#
Delay compensation config for the exponential overshoot filter 2 on marker 0. If ‘bypassed’, the marker is not delayed. If ‘enabled’, the marker is delayed.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.marker0_exp3_config()#
Delay compensation config for the exponential overshoot filter 3 on marker 0. If ‘bypassed’, the marker is not delayed. If ‘enabled’, the marker is delayed.
- Properties:
value: <Enum: {‘delay_comp’, ‘bypassed’}>
- QRC.present()#
Sets/gets module present status for slot {} in the Cluster.
- Properties:
value: <Boolean>
- QRC.connected()#
Gets module connected status for slot {} in the Cluster.
- Properties:
value: <Boolean>
Methods#
- QRC.arm_sequencer(sequencer: int | None = None) None#
Prepare the indexed sequencer to start by putting it in the armed state. If no sequencer index is given, all sequencers are armed. Any sequencer that was already running is stopped and rearmed. If an invalid sequencer index is given, an error is set in system error.
- Parameters:
sequencer (Optional[int]) – Sequencer index.
- Raises:
RuntimeError – An error is reported in system error and debug <= 1. All errors are read from system error and listed in the exception.
Note
This method calls Cluster.arm_sequencer using functools.partial
- QRC.clear_sequencer_flags(sequencer: int | None = None) None#
Clear flags.
- Parameters:
sequencer (int) – Sequencer index.
Note
This method calls Cluster.clear_sequencer_flags using functools.partial
- QRC.connect_sequencer(sequencer: int, *connections: str) None#
Makes new connections between the indexed sequencer and some inputs and/or outputs. This will fail if a requested connection already existed, or if the connection could not be made due to a conflict with an existing connection (hardware constraints). In such a case, the channel map will not be affected.
- Parameters:
sequencer (int) – Sequencer index
*connections (str) – Zero or more connections to make, each specified using a string. The string should have the format <direction><channel> or <direction><I-channel>_<Q-channel>. <direction> must be in to make a connection between an input and the acquisition path, out to make a connection from the waveform generator to an output, or io to do both. The channels must be integer channel indices. If only one channel is specified, the sequencer operates in real mode; if two channels are specified, it operates in complex mode.
- Raises:
RuntimeError – If the connection command could not be completed due to a conflict.
ValueError – If parsing of a connection fails.
Note
This method calls Cluster.connect_sequencer using functools.partial
- QRC.delete_acquisition_data(sequencer: int, name: str = '', all: bool = False) None#
Delete data from an acquisition specified by name in the acquisition list of indexed sequencer or delete data in all acquisitions if all is True.
- Parameters:
- Raises:
NotImplementedError – Functionality not available on this module.
Note
This method calls Cluster.delete_acquisition_data using functools.partial
- QRC.delete_dummy_binned_acquisition_data(sequencer: int | None = None, acq_index_name: str | None = None) None#
Delete all dummy binned acquisition data for the dummy.
- Parameters:
Note
This method calls Cluster.delete_dummy_binned_acquisition_data using functools.partial
- QRC.delete_dummy_scope_acquisition_data(sequencer: int | None) None#
Delete dummy scope acquisition data for the dummy.
- Parameters:
sequencer (Union[int, None]) – Sequencer.
Note
This method calls Cluster.delete_dummy_scope_acquisition_data using functools.partial
- QRC.disconnect_inputs() None#
Disconnects all inputs from the acquisition paths of the sequencers.
Note
This method calls Cluster.disconnect_inputs using functools.partial
- QRC.disconnect_outputs() None#
Disconnects all outputs from the waveform generator paths of the sequencers.
Note
This method calls Cluster.disconnect_outputs using functools.partial
- QRC.get_acquisition_status(sequencer: int, timeout: int = 0, timeout_poll_res: float = 0.02, check_seq_state: bool = True) bool#
Return acquisition binning completion status of the indexed sequencer. If an invalid sequencer is given, an error is set in system error. If the timeout is set to zero, the function returns the status immediately. If a positive non-zero timeout is set, the function blocks until the acquisition binning completes. If the acquisition hasn’t completed before the timeout expires, a TimeoutError is thrown. Note that when sequencer state checking is enabled, the sequencer state is checked using get_sequencer_status with the selected timeout period first and then the acquisition status is checked with the same timeout period. This means that the total timeout period is two times the set timeout period.
- Parameters:
- Returns:
Indicates the acquisition binning completion status (False = uncompleted, True = completed).
- Return type:
- Raises:
TimeoutError – Timeout
NotImplementedError – Functionality not available on this module.
Note
This method calls Cluster.get_acquisition_status using functools.partial
- QRC.get_acquisitions(sequencer: int, *, as_numpy: bool = False) dict#
Get all acquisitions in acquisition lists of indexed sequencer. The acquisition scope and bin data is normalized to a range of -1.0 to 1.0 taking both the bit widths of the processing path and average count into consideration. For the binned integration results, the integration length is not handled during normalization and therefore these values have to be divided by their respective integration lengths.
The returned dictionary is structured as follows:
name: acquisition name
- index: acquisition index used by the sequencer Q1ASM program to refer
to the acquisition.
acquisition: acquisition dictionary
scope: Scope data
path0: input path 0
data: acquisition samples in a range of 1.0 to -1.0.
out-of-range: out-of-range indication for the entire acquisition (False = in-range, True = out-of-range).
avg_cnt: number of averages.
path1: input path 1
data: acquisition samples in a range of 1.0 to -1.0.
out-of-range: out-of-range indication for the entire acquisition (False = in-range, True = out-of-range).
avg_cnt: number of averages.
bins: bin data
integration: integration data
path_0: input path 0 integration result bin list
path_1: input path 1 integration result bin list
threshold: threshold result bin list
valid: list of valid indications per bin
avg_cnt: list of number of averages per bin
- Parameters:
- Returns:
Dictionary with acquisitions.
- Return type:
- Raises:
NotImplementedError – Functionality not available on this module.
Note
This method calls Cluster.get_acquisitions using functools.partial
- QRC.get_assembler_log() str#
Get assembler log.
- Returns:
Assembler log.
- Return type:
- Raises:
Note
This method calls Cluster.get_assembler_log using functools.partial
- QRC.get_assembler_status() bool#
Get assembler status. Refer to the assembler log to get more information regarding the assembler result.
- Returns:
Assembler status (False = failed, True = success).
- Return type:
- Raises:
Note
This method calls Cluster.get_assembler_status using functools.partial
- QRC.get_sequencer_status(sequencer: int, timeout: int = 0, timeout_poll_res: float = 0.02) qblox_instruments.native.definitions.SequencerStatus#
Get the sequencer status. If an invalid sequencer index is given, an error is set in system error. If the timeout is set to zero, the function returns the state immediately. If a positive non-zero timeout is set, the function blocks until the sequencer completes. If the sequencer hasn’t stopped before the timeout expires, a TimeoutError is thrown.
- Parameters:
- Returns:
Tuple containing sequencer status and corresponding flags.
- Return type:
- Raises:
TimeoutError – Timeout
Note
This method calls Cluster.get_sequencer_status using functools.partial
- QRC.get_waveforms(sequencer: int, *, as_numpy: bool = False) dict#
Get all waveforms in the AWG waveform list of indexed sequencer.
The returned dictionary is structured as follows:
name: waveform name.
data: waveform samples in a range of 1.0 to -1.0.
- index: waveform index used by the sequencer Q1ASM program to refer
to the waveform.
- Parameters:
- Returns:
Dictionary with waveforms.
- Return type:
Note
This method calls Cluster.get_waveforms using functools.partial
- QRC.get_weights(sequencer: int, *, as_numpy: bool = False) dict#
Get all weights in the acquisition weight lists of indexed sequencer.
The returned dictionary is structured as follows:
-name : weight name.
data: weight samples in a range of 1.0 to -1.0.
- index: weight index used by the sequencer Q1ASM program to refer
to the weight.
- Parameters:
- Returns:
Dictionary with weights.
- Return type:
- Raises:
NotImplementedError – Functionality not available on this module.
Note
This method calls Cluster.get_weights using functools.partial
- QRC.measure_current(io_channels: int | collections.abc.Iterable[int]) float | list[float]#
Measures the current of the specified IO channel(s).
- QRC.set_dummy_binned_acquisition_data(sequencer: int, acq_index_name: str, data: collections.abc.Iterable[Optional[qblox_instruments.ieee488_2.dummy_transport.DummyBinnedAcquisitionData]]) None#
Set dummy binned acquisition data for the dummy.
- Parameters:
sequencer (int) – Sequencer.
acq_index_name (str) – Acquisition index name.
data (Iterable[Union[DummyBinnedAcquisitionData, None]]) – Dummy data for the binned acquisition. An iterable of all the bin values.
Note
This method calls Cluster.set_dummy_binned_acquisition_data using functools.partial
- QRC.set_dummy_scope_acquisition_data(sequencer: int | None, data: qblox_instruments.ieee488_2.dummy_transport.DummyScopeAcquisitionData) None#
Set dummy scope acquisition data for the dummy.
- Parameters:
sequencer (Union[int, None]) – Sequencer.
data (DummyScopeAcquisitionData) – Dummy data for the scope acquisition.
Note
This method calls Cluster.set_dummy_scope_acquisition_data using functools.partial
- QRC.start_sequencer(sequencer: int | None = None) None#
Start the indexed sequencer, thereby putting it in the running state. If an invalid sequencer index is given or the indexed sequencer was not yet armed, an error is set in system error. If no sequencer index is given, all armed sequencers are started and any sequencer not in the armed state is ignored. However, if no sequencer index is given and no sequencers are armed, and error is set in system error.
- Parameters:
sequencer (Optional[int]) – Sequencer index.
- Raises:
RuntimeError – An error is reported in system error and debug <= 1. All errors are read from system error and listed in the exception.
Note
This method calls Cluster.start_sequencer using functools.partial
- QRC.stop_sequencer(sequencer: int | None = None) None#
Stop the indexed sequencer, thereby putting it in the stopped state. If an invalid sequencer index is given, an error is set in system error. If no sequencer index is given, all sequencers are stopped.
- Parameters:
sequencer (Optional[int]) – Sequencer index.
- Raises:
RuntimeError – An error is reported in system error and debug <= 1. All errors are read from system error and listed in the exception.
Note
This method calls Cluster.stop_sequencer using functools.partial
- QRC.store_scope_acquisition(sequencer: int, name: str) None#
After an acquisition has completed, store the scope acquisition results in the acquisition specified by name of the indexed sequencers. If an invalid sequencer index is given an error is set in system error. To get access to the acquisition results, the sequencer will be stopped when calling this function.
- Parameters:
- Raises:
NotImplementedError – Functionality not available on this module.
Note
This method calls Cluster.store_scope_acquisition using functools.partial
- QRC.toggle_all_lo(enable: bool | None = None) None#
Turn ON or OFF all local oscillators present on all modules or a specific module.
- Parameters:
enable (bool | None) – Turn ON if True, OFF if False.
Note
This method calls Cluster.toggle_all_lo using functools.partial
- QRC.update_sequence(sequencer: int, erase_existing: bool = False, **sequence_args: typing_extensions.Unpack[qblox_instruments.types.Sequence]) None#
Update sequencer program, AWG waveforms, acquisition weights and/or acquisitions from a series of keyword arguments. By default, the update is cumulative i.e. existing waveforms/weights/acquisitions are kept on the sequencer and new ones are added (as long as indexes or names aren’t reused).
For example:
sequencer.update_sequence( waveforms={"wave0": {"index": 0, "data": [0.0, 0.1, 0.2, 0.3]}}, weights={"weight0": {"index": 0, "data": [0.0, 0.1, 0.2, 0.3]}}, erase_existing=False )
will add one waveform and one weight to the sequencer, without either removing currently uploaded waveforms and weights, or clearing program or acquisitions.
If the erase_existing parameter is passed, then the update is destructive i.e. existing program/waveforms/weights/acquisitions will be completely overwritten with the new ones.
For example:
sequencer.update_sequence( program="play 0,0,100\nstop", acquisitions={"acq0": {"index": 0, "num_bins": 1}}, erase_existing=True )
will completely replace the program and the acquisitions on the sequencer, but will not touch currently uploaded waveforms and weights.
- Parameters:
- Raises:
fastjsonschema.JsonSchemaValueException – Invalid JSON object.
Note
This method calls Cluster.update_sequence using functools.partial