View source on GitHub |
Returns all the measurement keys used by the value.
cirq.measurement_keys_touched(
val: Any
) -> FrozenSet['cirq.MeasurementKey']
This would be the case if the value is or contains a measurement gate, or if the value is or contains a conditional operation.
Args | |
---|---|
val
|
The object that may interact with measurements. |
Returns | |
---|---|
The measurement keys used by the value.. |