quantify_scheduler.backends.types.common
Common python dataclasses for multiple backends.
Module Contents
Classes
The mixer corrections record type. |
|
The backend Modulation record type. |
|
The backend LocalOscillator record type. |
- class MixerCorrections[source]
Bases:
dataclasses_json.DataClassJsonMixin
The mixer corrections record type.
- Parameters:
amp_ratio (float) – The amplitude ratio between the real and imaginary paths for correcting the imbalance in the IQ mixer. (default = 1.0)
phase_error (float) – The phase shift error used to compensate for quadrature errors. (default = .0)
dc_offset_I (float) – The DC offset off the real(I) path for lo feed-through compensation in Volts(V). (default = .0)
dc_offset_Q (float) – The DC offset off the imaginary(Q) path for lo feed-through compensation in Volts(V). (default = .0)
- class Modulation[source]
Bases:
dataclasses_json.DataClassJsonMixin
The backend Modulation record type.
- Parameters:
type –
The modulation mode type select. Allows to choose between. (default = ModulationModeType.NONE)
no modulation. (‘none’)
Software premodulation applied in the numerical waveforms. (‘premod’)
Hardware real-time modulation. (‘modulate’)
interm_freq – The inter-modulation frequency (IF) in Hz. (default = 0.0).
phase_shift – The IQ modulation phase shift in Degrees. (default = 0.0).
- class LocalOscillator[source]
Bases:
dataclasses_json.DataClassJsonMixin
The backend LocalOscillator record type.
- Parameters:
unique_name – The unique name identifying the combination of instrument and channel/parameters.
instrument_name – The QCodes name of the LocalOscillator.
generic_icc_name – The name of the GenericInstrumentCoordinatorComponent attached to this device.
frequency – A dict which tells the generic icc what parameter maps to the local oscillator (LO) frequency in Hz.
power – A dict which tells the generic icc what parameter maps to the local oscillator (LO) power in dBm.
phase – A dict which tells the generic icc what parameter maps to the local oscillator (LO) phase in radians.
parameters – A dict which allows setting of channel specific parameters of the device. Cannot be used together with frequency and power.