cirq.NeutralAtomDevice.validate_operation

NeutralAtomDevice.validate_operation(operation: cirq.ops.raw_types.Operation)[source]

Raises an error if the given operation is invalid on this device.

Parameters

operation – the operation to validate

Raises

ValueError – If the operation is not valid