quantify_scheduler.backends.qblox.operation_handling.factory

Functions for producing operation handling strategies.

Module Contents

Functions

get_operation_strategy(...)

Determines and instantiates the correct strategy object.

_get_acquisition_strategy(...)

Handles the logic for determining the correct acquisition type.

_get_pulse_strategy(...)

Handles the logic for determining the correct pulse type.

get_operation_strategy(operation_info: quantify_scheduler.backends.types.qblox.OpInfo, instruction_generated_pulses_enabled: bool, io_mode: str) quantify_scheduler.backends.qblox.operation_handling.base.IOperationStrategy[source]

Determines and instantiates the correct strategy object.

Parameters
  • operation_info – The operation we are building the strategy for.

  • instruction_generated_pulses_enabled – Specifies if instruction generated pulses (e.g. staircase through offsets) are allowed. If set to False, only generically treated pulses are allowed.

  • io_mode – Either “real”, “imag” or complex depending on whether the signal affects only path0, path1 or both.

Returns

The instantiated strategy object.

_get_acquisition_strategy(operation_info: quantify_scheduler.backends.types.qblox.OpInfo) quantify_scheduler.backends.qblox.operation_handling.acquisitions.AcquisitionStrategyPartial[source]

Handles the logic for determining the correct acquisition type.

_get_pulse_strategy(operation_info: quantify_scheduler.backends.types.qblox.OpInfo, instruction_generated_pulses_enabled: bool, io_mode: str) quantify_scheduler.backends.qblox.operation_handling.base.IOperationStrategy[source]

Handles the logic for determining the correct pulse type.