constants#

Constants for compilation to Qblox hardware.

Module Contents#

MAX_NUMBER_OF_INSTRUCTIONS_QCM: int = 16384[source]#

Maximum supported number of instructions in Q1ASM programs for QCM/QCM-RF.

MAX_NUMBER_OF_INSTRUCTIONS_QRM: int = 12288[source]#

Maximum supported number of instructions in Q1ASM programs for QRM/QRM-RF.

MAX_NUMBER_OF_INSTRUCTIONS_QTM: int = 16384[source]#

Maximum supported number of instructions in Q1ASM programs for QTM.

IMMEDIATE_SZ_GAIN[source]#

Size of gain instruction immediates in Q1ASM programs.

IMMEDIATE_MAX_WAIT_TIME[source]#

Max size of wait instruction immediates in Q1ASM programs. Max value allowed by assembler is 2**16-1, but this is the largest that is a multiple of 4 ns.

IMMEDIATE_SZ_OFFSET[source]#

Size of offset instruction immediates in Q1ASM programs.

REGISTER_SIZE[source]#

Size of registers in Q1ASM programs.

NCO_PHASE_STEPS_PER_DEG[source]#

The number of steps per degree for NCO phase instructions arguments.

NCO_FREQ_STEPS_PER_HZ = 4.0[source]#

The number of steps per Hz for the NCO set_freq instruction.

NCO_FREQ_LIMIT_STEPS = 2000000000.0[source]#

The maximum and minimum frequency expressed in steps for the NCO set_freq instruction. For the minimum we multiply by -1.

NCO_SET_FREQ_WAIT = 8[source]#

Wait that is issued after NCO set_freq instruction, included via upd_param.

NCO_SET_PH_DELTA_WAIT = 4[source]#

Wait that is issued after NCO set_ph_delta instruction, included via upd_param.

GRID_TIME = 1[source]#

Clock period of the sequencers. All time intervals used must be multiples of this value.

MIN_TIME_BETWEEN_OPERATIONS = 4[source]#

Minimum time between two operations to prevent FIFO errors.

NCO_TIME_GRID = 4[source]#

Clock period of the NCO. All time intervals used must be multiples of this value for NCO related operations.

MIN_TIME_BETWEEN_ACQUISITIONS = 300[source]#

Minimum time between two acquisitions to prevent FIFO errors.

SAMPLING_RATE = 1000000000[source]#

Sampling rate of the Qblox control/readout instruments.

STITCHED_PULSE_PART_DURATION_NS = 2000[source]#

Default duration of the individual waveforms that are used to build up a longer stitched waveform. See long_ramp_pulse() for an example.

PULSE_STITCHING_DURATION = 1e-06[source]#

Duration of the individual pulses when pulse stitching is used.

DEFAULT_MIXER_PHASE_ERROR_DEG = 0.0[source]#

Default phase shift in the instruments for mixer corrections.

MIN_MIXER_PHASE_ERROR_DEG[source]#

Lowest phase shift that can be configured in the instruments for mixer corrections.

MAX_MIXER_PHASE_ERROR_DEG = 45[source]#

Highest phase shift that can be configured in the instruments for mixer corrections.

DEFAULT_MIXER_AMP_RATIO = 1.0[source]#

Default value of the amplitude correction. N.B. This correction is defined as Q/I.

MIN_MIXER_AMP_RATIO = 0.5[source]#

Lowest value the amplitude correction can be set to. N.B. This correction is defined as Q/I.

MAX_MIXER_AMP_RATIO = 2.0[source]#

Highest value the amplitude correction can be set to. N.B. This correction is defined as Q/I.

NUMBER_OF_SEQUENCERS_QCM = 6[source]#

Number of sequencers supported by a QCM/QCM-RF in the latest firmware.

NUMBER_OF_SEQUENCERS_QRM = 6[source]#

Number of sequencers supported by a QRM/QRM-RF in the latest firmware.

NUMBER_OF_SEQUENCERS_QTM = 8[source]#

Number of sequencers supported by a QTM in the latest firmware.

NUMBER_OF_REGISTERS: int = 64[source]#

Number of registers available in the Qblox sequencers.

MAX_SAMPLE_SIZE_SCOPE_ACQUISITIONS: int = 16384[source]#

Maximal amount of scope trace acquisition datapoints returned.

MAX_SAMPLE_SIZE_WAVEFORMS: int = 16384[source]#

Maximal amount of samples in the waveforms to be uploaded to a sequencer.

MIN_PHASE_ROTATION_ACQ = 0[source]#

Minimum value of the sequencer integration result phase rotation in degrees.

MAX_PHASE_ROTATION_ACQ = 360[source]#

Maximum value of the sequencer integration result phase rotation in degrees.

MIN_DISCRETIZATION_THRESHOLD_ACQ[source]#

Minimum value of the sequencer discretization threshold for discretizing the phase rotation result.

MAX_DISCRETIZATION_THRESHOLD_ACQ = 16777212.0[source]#

Maximum value of the sequencer discretization threshold for discretizing the phase rotation result.

MAX_NUMBER_OF_BINS: int = 131072[source]#

Number of bins available in the Qblox sequencers.

GENERIC_IC_COMPONENT_NAME: str = 'generic'[source]#

Default name for the generic instrument coordinator component.

TRIGGER_DELAY: float = 3.64e-07[source]#

Total delay time of the feedback trigger before it is registered after the end of a thresholded acquisition.

MAX_FEEDBACK_TRIGGER_ADDRESS: int = 15[source]#

Available trigger addresses on each cluster range from 1,…,15.

MAX_MIN_INSTRUCTION_WAIT: float = 4e-09[source]#

Maximum of minimum wait times for real-time-instructions. e.g. play, set_cond, acquire, require at least 4ns.

GRID_TIME_TOLERANCE_TIME: float = 0.0011[source]#

Tolerance for time values in nanoseconds.

Added in version 0.21.2.