cirq_rigetti.quil_input.CNOT

The controlled NOT gate.

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} \]