bloqade.lanes.dialects.stack_move.AwaitMeasure
← Module overview
class
classAwaitMeasure¶source
bloqade.lanes.dialects.stack_move.AwaitMeasure
Bases: ir.Statement
Synchronisation — consumes a measurement future (linear) and produces a 1-D array of measurement results.
class AwaitMeasureMatches the bytecode’s await_measure: pops a measure future,
pushes an array ref containing the measurement results.
Result type is ArrayType[MeasurementResultType, Any, Literal(0)],
a 1-D array in the bytecode convention (dim1 == 0). Element
ordering is defined by the ArchSpec: for each zone covered by the
originating measurement (in order), the results appear in the
order produced by arch_spec.yield_zone_locations(zone).
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
traits | — | frozenset({lowering.FromPythonCall()}) | |
future | ir.SSAValue | info.argument(type=MeasurementFutureType) | |
result | ir.ResultValue | info.result(ArrayType[MeasurementResultType, types.Any, types.Literal(0)]) |