Skip to content

bloqade.lanes.analysis.atom.MeasurementPositions

← Module overview

classMeasurementPositionssource

bloqade.lanes.analysis.atom.MeasurementPositions

Result of :meth:`AtomInterpreter.get_measurement_positions`.

class MeasurementPositions

measurements holds one MeasurementSnapshot per measurement statement, in the order the statements appear in the IR. Today’s Gemini specs set feed_forward=False and validation enforces a single terminal measure, so this is usually length 1 — but the shape generalises to mid-circuit measurement without a breaking change.

Only ever describes a run that converged: an analysis that fails raises out of get_measurement_positions rather than returning a partial result here.