bloqade.lanes.passes.ALAPPlacePass
← Module overview
class
method
source
classALAPPlacePass¶source
bloqade.lanes.passes.ALAPPlacePass
Bases: passes.Pass
ALAP scheduling optimization for the place dialect.
class ALAPPlacePassSame 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
| Name | Type | Default | Description |
|---|---|---|---|
name | str | 'alap_place' |
methodunsafe_run¶source
bloqade.lanes.passes.ALAPPlacePass.unsafe_run
def unsafe_run(mt: ir.Method) -> RewriteResultParameters
| Name | Type | Description |
|---|---|---|
mt | ir.Method |
Returns
RewriteResult