cirq.SingleQubitGate.on_each¶

SingleQubitGate.on_each(*targets) → 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. Operations applying this gate to the target qubits. ValueError if targets are not instances of Qid.