cirq.google.XmonDevice.validate_gate

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

Raises an error if the given gate isn’t allowed.

Raises:ValueError – Unsupported gate.