Skip to content

bloqade.lanes.passes.ALAPPlacePass

← Module overview

classALAPPlacePasssource

bloqade.lanes.passes.ALAPPlacePass

Bases: passes.Pass

ALAP scheduling optimization for the place dialect.

class ALAPPlacePass

Same pipeline as ASAPPlacePass but uses ALAP (As-Late-As-Possible) dependency scheduling. Deferring single-qubit gates to their latest valid layer reduces the qubit footprint of early CZ-anchored regions, lowering atom-move overhead compared to ASAP.

debug.Info statements are stripped at the start of this pass (same reason as ASAPPlacePass).

Attributes

NameTypeDefaultDescription
namestr'alap_place'

methodunsafe_runsource

bloqade.lanes.passes.ALAPPlacePass.unsafe_run

def unsafe_run(mt: ir.Method) -> RewriteResult

Parameters

NameTypeDescription
mtir.Method

Returns

RewriteResult

source