cirq.SingleQubitGate.on_each

SingleQubitGate.on_each(targets: Iterable[cirq.ops.raw_types.QubitId]) → Union[cirq.ops.raw_types.Operation, Iterable[Any]][source]

Returns a list of operations apply this gate to each of the targets.

Parameters:targets – The qubits to apply this gate to.
Returns:Operations applying this gate to the target qubits.