QCET

Circuits
Gates
Hardware
Documentation

CNOT Gate

\begin{bmatrix}1&0&0&0\\0&1&0&0\\0&0&0&1\\0&0&1&0\end{bmatrix}
control
0
target
1

The CNOT gate is a two-qubit quantum gate that flips a target qubit if the control bit is in state , otherwise it leaves it unaltered.

Resources

See the Qiskit documentation for the cnot gate: https://quantum.cloud.ibm.com/docs/en/api/qiskit/qiskit.circuit.library.CXGate