Skip to content

bloqade.lanes.analysis.atom.MeasurementSnapshot

← Module overview

classMeasurementSnapshotsource

bloqade.lanes.analysis.atom.MeasurementSnapshot

The machine at one measurement statement.

class MeasurementSnapshot

Attributes

NameTypeDescription
indexintposition of the measurement statement in IR order, counting from 0.
zone_addressestuple[ZoneAddress, ...]the zones this measurement covers.
frame_sizeintnumber of slots in the readout frame — every ``frame_index`` on this snapshot falls in ``range(frame_size)``.
readouttuple[AtomPosition, ...]atoms whose results the program reads, ordered by ``measurement_id``.
measured_zonestuple[AtomPosition, ...]every atom in ``zone_addresses``, ordered by location address.
qpu_statetuple[AtomPosition, ...]every atom on the device, ordered by location address.