cirq.ZPowGate.validate_args¶
-
ZPowGate.validate_args(qubits)¶ Checks if this gate can be applied to the given qubits.
Does no checks by default. Child classes can override.
Parameters: qubits – The collection of qubits to potentially apply the gate to. - Throws:
- ValueError: The gate can’t be applied to the qubits.