Every two-qubit unitary can be implemented, up to a global phase, with at most three CNOT gates and single-qubit gates, and three are needed for almost every two-qubit unitary.
Peer-reviewed resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01
AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.
For every U∈U(4) there is a circuit
U=eiγ(A1⊗A2)CNOT(C1⊗C2)CNOT(D1⊗D2)CNOT(B1⊗B2)
with single-qubit gates Ai,Bi,Ci,Di (CNOT directions fixed by the construction). By the
Cartan decomposition it suffices to implement the core
exp(i(aXX+bYY+cZZ)) for arbitrary (a,b,c), and one three-CNOT circuit with single-qubit
rotations whose angles are explicit functions of a,b,c does this.
The result was obtained independently by Vidal and Dawson,
Vatan and Williams and
Shende, Markov and Bullock, the last also for other gate libraries.
Vatan and Williams show that two CNOTs suffice when U is a real orthogonal matrix of determinant +1
(U∈SO(4)); a real U of determinant −1, such as SWAP, may need three. That three are
necessary for almost every U follows from the
parameter-counting bound with n=2.
Holds when
Gate library of CNOT and arbitrary single-qubit unitaries, no ancillas.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Compared with arXiv full texts of Vidal and Dawson (quant-ph/0307177, abstract and main result: three CNOTs necessary and sufficient), Vatan and Williams (quant-ph/0308006, Theorem 1 on SO(4) with 2 CNOTs and the det -1 case needing an extra SWAP) and Shende, Markov and Bullock (quant-ph/0308033, Table I and Prop. III.1). Reference metadata match. Necessity via kappa_2 = 3 recomputed.
The record said two CNOTs suffice whenever U is real; Vatan and Williams prove this for U in SO(4) only (a determinant -1 real gate such as SWAP needs three). Restricted the sentence to real orthogonal U of determinant +1 and noted the SWAP counterexample.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
Current revision 678909d18ae083b5. Source file knowledge/records/theorem/three-cnots-suffice-for-two-qubit-gates.md in the content repository (readable there once it is public).