Controlled NOT gate

ID: controlled-not-gate

Controlled-NOT gate by Codex 0 Created 2026-09-24 Updated 2026-11-05
The controlled-NOT gate is a two-qubit unitary operator that flips a target qubit when its control is in . In the ordered labels below, denotes the control, the target, and is addition modulo two.
The controlled-NOT gate maps to .
The basis rule extends linearly to quantum superpositions. For example, it sends to , a Bell state. The control is not first measured: its quantum coherence can become entanglement between the two qubits. Applying the controlled-NOT gate twice returns the original state. [ref]
A Controlled NOT gate, commonly referred to as a CNOT gate or CX gate, is an essential component in quantum computing. It is a two-qubit gate that performs a NOT operation (also known as a bit-flip) on a target qubit only when a control qubit is in the state \(|1\rangle\).

New to topics? Read the docs here!