Flips the target when the control is |1⟩.
CNOT is the most important two-qubit gate in quantum computing. It connects two qubits: one acts as a control, and the other as a target. If the control is |1⟩, the target gets flipped (X gate). If the control is |0⟩, nothing happens. This sounds classical, but the magic happens when the control is in superposition. Then CNOT does not choose one branch or the other — it creates entanglement, correlating the two qubits into a joint state that cannot be described by looking at each qubit separately.
CNOT is a two-qubit unitary that applies X to the target conditioned on the control being |1⟩. In the computational basis: |00⟩→|00⟩, |01⟩→|01⟩, |10⟩→|11⟩, |11⟩→|10⟩. When the control is in superposition, CNOT creates entanglement: H⊗I followed by CNOT maps |00⟩ to the Bell state |Φ⁺⟩ = (|00⟩ + |11⟩)/√2. CNOT is universal for quantum computation when combined with single-qubit gates.
Joint two-qubit probability structure changes.
Creates entanglement when the control is in superposition — each qubit alone looks random but the pair is perfectly correlated.
Conditional rotation of the target qubit. When the control is in superposition, both qubits move inside the Bloch sphere (they become entangled and individually mixed).
CNOT is not like a classical if-then. When the control is in superposition, CNOT does not “choose” — it entangles, creating correlations that have no classical analog.
CNOT is the bridge between single-qubit operations and multi-qubit quantum computing. Without it, qubits would be independent and no more powerful than parallel classical random bits. Entanglement is what makes quantum computing non-trivial.
You apply H to qubit 0 then CNOT(0,1) to |00⟩. What state results?