cirq.SingleQubitGate

class cirq.SingleQubitGate[source]

A gate that must be applied to exactly one qubit.

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

on(*qubits) Returns an application of this gate to the given qubits.
on_each(targets) Returns a list of operations apply this gate to each of the targets.
validate_args(qubits) Checks if this gate can be applied to the given qubits.