# cirq.SupportsMeasurementKey¶

class cirq.SupportsMeasurementKey(*args, **kwds)[source]

An object that is a measurement and has a measurement key.

Measurement keys are used in referencing the results of a measurement.

Note: Measurements, in contrast to general quantum channels, are
distinguished by the recording of the quantum operation that occurred.
That is a general quantum channel may enact the evolution
\rho \rightarrow \sum_k A_k \rho A_k^\dagger
where as a measurement enacts the evolution
\rho \rightarrow A_k \rho A_k^\dagger
conditional on the measurement outcome being k.
__init__(*args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.

Methods

 Return the key that will be used to identify this measurement.