cirq.GateOperation

class cirq.GateOperation(gate: cirq.Gate, qubits: Sequence[cirq.Qid])[source]

An application of a gate to a sequence of qubits.

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

  • qubits – The qubits to operate on.