cirq.MeasurementType

Type of a measurement, whether a measurement or channel.

This determines how the results of a measurement are stored as classical data in a ClassicalDataStoreRegister. MEASUREMENT represent measurements of a Cirq.Qid (for instance, a qubit or qudit). A CHANNEL represents the measurement of a channel, such as the set of Kraus operators. In this case, the data stored is the integer index of the channel measured.

CHANNEL cirq.MeasurementType.CHANNEL
MEASUREMENT cirq.MeasurementType.MEASUREMENT