qat.comm.shared.ttypes.IntermediateMeasurement

class qat.comm.shared.ttypes.IntermediateMeasurement(cbits=None, gate_pos=None, probability=None)

Data structure representing outcome of an intermediate measurement.

- cbits

list<bool> the list of classical bits resulting from the measurement

- gate_pos

int the position of the measurement in the circuit

- probability

optional, float, the probability of this precise measurement outcome