bloqade.lanes.dialects.stack_move.SetObservable
← Module overview
class
classSetObservable¶source
bloqade.lanes.dialects.stack_move.SetObservable
Bases: ir.Statement
Build an observable record from a 1-D array of measurement results. Matches annotate.SetObservable's signature — produces an Observable.
class SetObservableThe array type is tightened to require MeasurementResult elements and a 1-D shape (dim1=0 per the bytecode convention). Validation of this constraint is the job of type-inference passes, not the decoder.
Attributes
| Name | Type | Default | Description |
|---|---|---|---|
traits | — | frozenset({lowering.FromPythonCall()}) | |
array | ir.SSAValue | info.argument(type=(ArrayType[MeasurementResultType, types.Any, types.Literal(0)])) | |
result | ir.ResultValue | info.result(ObservableType) |