cirq.NeutralAtomDevice.validate_gate

NeutralAtomDevice.validate_gate(gate: cirq.ops.raw_types.Gate)[source]

Raises an error if the provided gate isn’t part of the native gate set.

Parameters

gate – the gate to validate

Raises

ValueError – If the given gate is not part of the native gate set.