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.

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

LOOP_UNROLL_THRESHOLD = 4

Size above which loops have tolerable overhead

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.

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