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, io_mode: quantify_scheduler.backends.qblox.enums.IoMode) 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.

  • io_mode – Either IoMode.REAL, IoMode.IMAG or IoMode.COMPLEX depending on whether the signal affects only sequencer 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, io_mode: quantify_scheduler.backends.qblox.enums.IoMode) quantify_scheduler.backends.qblox.operation_handling.base.IOperationStrategy[source]#

Handles the logic for determining the correct pulse type.