|View source on GitHub|
State and context for an operation acting on a state tensor.
cirq.sim.ActOnArgs( prng: np.random.RandomState, axes: Iterable[int] = None, log_of_measurement_results: Dict[str, Any] = None )
measure( key, invert_mask )
Adds a measurement result to the log.
The key the measurement result should be logged under. Note
that operations should only store results under keys they have
declared in a
||The invert mask for the measurement.|