|View source on GitHub|
Ensures that the moment is homogenous and returns whether all ops are measurement gates.
cirq.devices.noise_model.validate_all_measurements( moment: "cirq.Moment" ) -> bool
||the moment to be checked|
||True if all operations are measurements, False if none of them are|
||If a moment is a mixture of measurement and non-measurement gates.|