Skip to content

bloqade.lanes.dialects.place.PlacementMethods

← Module overview

classPlacementMethodssource

bloqade.lanes.dialects.place.PlacementMethods

Bases: interp.MethodTable

class PlacementMethods

methodimpl_czsource

bloqade.lanes.dialects.place.PlacementMethods.impl_cz

Signature
def impl_cz(_interp: PlacementAnalysis, frame: ForwardFrame[AtomState], stmt: CZ)

Parameters

NameTypeDescription
_interpPlacementAnalysis
frameForwardFrame[AtomState]
stmtCZ
source

methodimpl_single_qubit_gatesource

bloqade.lanes.dialects.place.PlacementMethods.impl_single_qubit_gate

Signature
def impl_single_qubit_gate(_interp: PlacementAnalysis, frame: ForwardFrame[AtomState], stmt: R | Rz | StarRz)

Parameters

NameTypeDescription
_interpPlacementAnalysis
frameForwardFrame[AtomState]
stmtR | Rz | StarRz
source

methodimpl_yieldsource

bloqade.lanes.dialects.place.PlacementMethods.impl_yield

Signature
def impl_yield(_interp: PlacementAnalysis, frame: ForwardFrame[AtomState], stmt: Yield)

Parameters

NameTypeDescription
_interpPlacementAnalysis
frameForwardFrame[AtomState]
stmtYield
source

methodimpl_static_circuitsource

bloqade.lanes.dialects.place.PlacementMethods.impl_static_circuit

Signature
def impl_static_circuit(_interp: PlacementAnalysis, frame: ForwardFrame[AtomState], stmt: StaticPlacement)

Parameters

NameTypeDescription
_interpPlacementAnalysis
frameForwardFrame[AtomState]
stmtStaticPlacement
source

methodend_measuresource

bloqade.lanes.dialects.place.PlacementMethods.end_measure

Signature
def end_measure(_interp: PlacementAnalysis, frame: ForwardFrame[AtomState], stmt: EndMeasure)

Parameters

NameTypeDescription
_interpPlacementAnalysis
frameForwardFrame[AtomState]
stmtEndMeasure
source