Extra info about a single measurement within a circuit.

key String identifying this measurement.
qubits List of measured qubits, in order.
slot The location of this measurement within the program. For circuits, this is just the moment index; for schedules it is the start time of the measurement. This is used internally when scheduling on hardware so that we can combine measurements that occupy the same slot.
invert_mask a list of booleans describing whether the results should be flipped for each of the qubits in the qubits field.
tags Dataclass field