cirq.SingleQubitGate.on_each

SingleQubitGate.on_each(*targets) → List[cirq.ops.raw_types.Operation][source]

Returns a list of operations applying the gate to all targets.

Parameters:*targets – The qubits to apply this gate to.
Returns:Operations applying this gate to the target qubits.
Raises:ValueError if targets are not instances of Qid or List[Qid].