q1asm_injection_strategy#

Classes for handling operations that are neither pulses nor acquisitions.

Module Contents#

Classes#

Q1ASMInjectionStrategy

Strategy for compiling an "inline Q1ASM" instruction block.

class Q1ASMInjectionStrategy(operation_info: quantify_scheduler.backends.qblox.operations.inline_q1asm.Q1ASMOpInfo)[source]#

Bases: quantify_scheduler.backends.qblox.operation_handling.base.IOperationStrategy

Strategy for compiling an “inline Q1ASM” instruction block.

_op_info[source]#
property operation_info: quantify_scheduler.backends.types.qblox.OpInfo[source]#

Property for retrieving the operation info.

generate_data(wf_dict: dict[str, Any]) 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.

insert_qasm(qasm_program: quantify_scheduler.backends.qblox.qasm_program.QASMProgram) None[source]#

Add the inline Q1ASM program for the Q1 sequence processor.

Parameters:

qasm_program – The QASMProgram to add the assembly instructions to.