base#
Defines interfaces for operation handling strategies.
Module Contents#
Classes#
Defines the interface operation strategies must adhere to. |
- class IOperationStrategy[source]#
Bases:
abc.ABC
Defines the interface operation strategies must adhere to.
- property operation_info: quantify_scheduler.backends.types.qblox.OpInfo[source]#
- Abstractmethod:
Returns the pulse/acquisition information extracted from the schedule.
- abstract generate_data(wf_dict: dict[str, object]) None [source]#
Generates the waveform data and adds them to the wf_dict (if not already present). This is either the awg data, or the acquisition weights.
- Parameters:
wf_dict – The dictionary to add the waveform to. N.B. the dictionary is modified in function.
- abstract insert_qasm(qasm_program: quantify_scheduler.backends.qblox.qasm_program.QASMProgram) None [source]#
Add the assembly instructions for the Q1 sequence processor that corresponds to this pulse/acquisition.
- Parameters:
qasm_program – The QASMProgram to add the assembly instructions to.