cirq.ParallelGateOperation

class cirq.ParallelGateOperation(gate: cirq.Gate, qubits: Sequence[cirq.ops.raw_types.Qid])[source]

An application of several copies of a gate to a group of qubits.

__init__(gate: cirq.Gate, qubits: Sequence[cirq.ops.raw_types.Qid]) → None[source]
Parameters
  • gate – the gate to apply.

  • qubits – list of qubits to apply the gate to.