def __init__(self, gate: cirq.Gate, qubits: Sequence[cirq.Qid]) -> None:
        """Inits GateOperation.

        Args:
            gate: The gate to apply.
            qubits: The qubits to operate on.
        """
        gate.validate_args(qubits)
        self._gate = gate
        self._qubits = tuple(qubits)
Inits GateOperation.

        Args:
            gate: The gate to apply.
            qubits: The qubits to operate on.
        
cirq-core/cirq/ops/gate_operation.py