quantify_scheduler.backends.types.common

Common python dataclasses for multiple backends.

Module Contents

Classes

MixerCorrections

The mixer corrections record type.

Modulation

The backend Modulation record type.

LocalOscillator

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)

amp_ratio: float = 1.0[source]
phase_error: float = 0.0[source]
dc_offset_I: float = 0.0[source]
dc_offset_Q: float = 0.0[source]
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)

    1. no modulation. (‘none’)

    2. Software premodulation applied in the numerical waveforms. (‘premod’)

    3. 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).

type: quantify_scheduler.enums.ModulationModeType[source]
interm_freq: float = 0.0[source]
phase_shift: float = 0.0[source]
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.

unique_name: str[source]
instrument_name: str[source]
generic_icc_name: Optional[str][source]
frequency: Optional[dict][source]
power: Optional[dict][source]
phase: Optional[dict][source]
parameters: Optional[dict][source]