qat.purr.backends.qblox.constants module

class Constants

Bases: object

GRID_TIME = 4

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

LOOP_UNROLL_THRESHOLD = 4

Size above which loops have tolerable overhead

MAX_ACQ_INTEGRATION_LENGTH = 16777212

Minimum and maximum integration lengths

MAX_ACQ_THRESHOLD = 16777212

Minimum and maximum thresholds for the thresholded acquisition

MAX_BINNED_ACQUISITIONS: int = 3000000

Each QRM(-RF) module has a maximum of 3M memory bins. This memory can be dynamically allocated by each of the 6 sequencers. For example, all 6 sequencers can evenly allocate 500K bins simultaneously or a single sequencers can allocate the whole 3M and leaves nothing for other sequencers

MAX_GAIN = 32767

Maximum gain in Q1ASM programs.

MAX_GAIN_SIZE = 65535

Max size of gain in Q1ASM programs.

MAX_OFFSET = 32767

Maximum offset in Q1ASM programs.

MAX_OFFSET_SIZE = 65535

Max size of offset in Q1ASM programs.

MAX_QCM_OFFSET_V = 2.5

Maximum offset for QCM

MAX_QCM_RF_OFFSET_MV = 73

Maximum offset for QCM-RF

MAX_QRM_OFFSET_V = 0.09

Maximum offset for QRM

MAX_QRM_RF_OFFSET_V = 0.09

Maximum offset for QRM-RF

MAX_SAMPLE_SIZE_SCOPE_ACQUISITIONS: int = 16384

Maximal amount of scope trace acquisition datapoints returned.

MAX_SAMPLE_SIZE_WAVEFORMS: int = 16384

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

MAX_TOTAL_BINNED_ACQUISITIONS: int = 589824
MAX_WAIT_TIME = 65532

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.

MIN_ACQ_INTEGRATION_LENGTH = 4
MIN_ACQ_THRESHOLD = -16777212
MIN_GAIN = -32768

Minimum gain in Q1ASM programs.

MIN_OFFSET = -32768

Minimum offset in Q1ASM programs.

MIN_QCM_OFFSET_V = -2.5

Minimum offset for QCM

MIN_QCM_RF_OFFSET_MV = -84

Minimum offset for QCM-RF

MIN_QRM_OFFSET_V = -0.09

Minimum offset for QRM

MIN_QRM_RF_OFFSET_V = -0.09

Minimum offset for QRM-RF

MIN_SAMPLE_SIZE_SCOPE_ACQUISITIONS: int = 4

Minimum amount of scope trace acquisition datapoints returned.

NCO_FREQ_LIMIT_STEPS = 2000000000.0

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

NCO_FREQ_STEPS_PER_HZ = 4.0

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

NCO_MAX_FREQ = 500000000.0

Maximum NCO frequency

NCO_MAX_PHASE_STEPS = 1000000000

Maximum NCO phase steps

NCO_MIN_FREQ = -500000000.0

Minimum NCO frequency

NCO_PHASE_STEPS_PER_DEG = 2777777.777777778

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

NUMBER_OF_REGISTERS: int = 64

Number of registers available in the Qblox sequencers.

NUMBER_OF_SEQUENCERS_QCM = 6

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

NUMBER_OF_SEQUENCERS_QRM = 6

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

REGISTER_SIZE = 4294967295

Size of registers in Q1ASM programs.