Back to course

The CNOT Gate (Controlled-NOT)

Quantum Computing Basics for Developers

The CNOT Gate

CNOT is a 2-qubit gate. It has a Control qubit and a Target qubit. If the control is $|1⟩$, it flips the target. If the control is $|0⟩$, the target remains unchanged. This is used to create entanglement.