Skip to content

bloqade.lanes.dialects.place.StaticPlacement

← Module overview

classStaticPlacementsource

bloqade.lanes.dialects.place.StaticPlacement

Bases: ir.Statement

This statement represents A static circuit to be executed on the hardware.

class StaticPlacement(qubits: tuple[ir.SSAValue, ...], body: ir.Region)

The body region contains the low-level instructions to be executed. The inputs are the squin qubits to be used in the execution.

The region always terminates with an Yield statement, which provides the the measurement results for the qubits depending on which low-level code was executed.

Parameters

NameTypeDescription
qubitstuple[ir.SSAValue, ...]
bodyir.Region

Attributes

NameTypeDefaultDescription
traits—frozenset({ir.SSACFG(), ir.HasCFG()})
qubitstuple[ir.SSAValue, ...]info.argument(bloqade_types.QubitType)
bodyir.Regioninfo.region(multi=False)

methodchecksource

bloqade.lanes.dialects.place.StaticPlacement.check

def check() -> None
source