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_012_BINNED_ACQUISITIONS: int = 131072
MAX_345_BINNED_ACQUISITIONS: int = 65536

Each sequencer has 131072 bins with some caveats. If you are using all sequencers you are limited to 131k bins for the first three sequencers and 65536 bins for the final three to a maximum number of 589824 bins.

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_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

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_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.