The controlled NOT gate.
cirq_rigetti.quil_input.CNOT(
*qubits, **kwargs
)
This is the exponent=1
instance of cirq.CXPowGate
.
Alternative name: cirq.CNOT
.
The unitary matrix of this gate is (empty elements are \(0\)):
\[ \begin{bmatrix} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 1 \\ 0 & 0 & 1 & 0 \end{bmatrix} \]