Skip to content

bloqade.qasm2.dialects.uop.schedule.UOpSchedule

← Module overview

classUOpSchedulesource

bloqade.qasm2.dialects.uop.schedule.UOpSchedule

Bases: interp.MethodTable

class UOpSchedule

methodsingle_qubit_gatesource

bloqade.qasm2.dialects.uop.schedule.UOpSchedule.single_qubit_gate

Signature
def single_qubit_gate(interp: DagScheduleAnalysis, frame: ForwardFrame, stmt: stmts.SingleQubitGate)

Parameters

NameTypeDescription
interpDagScheduleAnalysis
frameForwardFrame
stmtstmts.SingleQubitGate
source

methodtwo_qubit_ctrl_gatesource

bloqade.qasm2.dialects.uop.schedule.UOpSchedule.two_qubit_ctrl_gate

Signature
def two_qubit_ctrl_gate(interp: DagScheduleAnalysis, frame: ForwardFrame, stmt: stmts.TwoQubitCtrlGate)

Parameters

NameTypeDescription
interpDagScheduleAnalysis
frameForwardFrame
stmtstmts.TwoQubitCtrlGate
source

methodccx_gatesource

bloqade.qasm2.dialects.uop.schedule.UOpSchedule.ccx_gate

Signature
def ccx_gate(interp: DagScheduleAnalysis, frame: ForwardFrame, stmt: stmts.CCX)

Parameters

NameTypeDescription
interpDagScheduleAnalysis
frameForwardFrame
stmtstmts.CCX
source

methodcswap_gatesource

bloqade.qasm2.dialects.uop.schedule.UOpSchedule.cswap_gate

Signature
def cswap_gate(interp: DagScheduleAnalysis, frame: ForwardFrame, stmt: stmts.CSwap)

Parameters

NameTypeDescription
interpDagScheduleAnalysis
frameForwardFrame
stmtstmts.CSwap
source

methodbarriersource

bloqade.qasm2.dialects.uop.schedule.UOpSchedule.barrier

Signature
def barrier(interp: DagScheduleAnalysis, frame: ForwardFrame, stmt: stmts.Barrier)

Parameters

NameTypeDescription
interpDagScheduleAnalysis
frameForwardFrame
stmtstmts.Barrier
source