# cirq.NeutralAtomDevice.validate_circuit¶

NeutralAtomDevice.validate_circuit(circuit: cirq.circuits.circuit.Circuit)[source]
Raises an error if the given circuit is invalid on this device. A
circuit is invalid if any of its moments are invalid or if there is a
non-empty moment after a moment with a measurement.
Parameters

circuit – The circuit to validate

Raises

ValueError – If the given circuit can’t be run on this device