Skip to main content
KetQat

Appearance

Theorem · advanced

CNOT lower bound for generic n-qubit unitaries

Circuits of CNOT and single-qubit gates need at least the ceiling of (4^n - 3n - 1)/4 CNOT gates to implement almost every n-qubit unitary, by a parameter-counting argument. For two qubits this gives three.

Established 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.

Let κn=⌈(4n−3n−1)/4⌉\kappa_n = \big\lceil (4^n - 3n - 1)/4 \big\rceil. The set of U∈U(2n)U \in U(2^n) that can be implemented, up to a global phase, by a circuit with fewer than κn\kappa_n CNOT gates and any number of single-qubit gates has Haar measure zero.

Values: κ2=3\kappa_2 = 3, κ3=14\kappa_3 = 14, κ4=61\kappa_4 = 61. For two qubits the bound is tight: three CNOTs suffice for every two-qubit gate (see the topic page). For general nn the quantum Shannon decomposition of Shende, Bullock and Markov uses O(4n)O(4^n) CNOTs, a constant factor above κn\kappa_n. The bound and the counting argument are due to Shende, Markov and Bullock.

Holds when

  • Circuits consist of CNOT gates between any ordered pairs of the n≥1n \ge 1 qubits and arbitrary single-qubit unitaries; no ancillas and no measurements.
  • "Almost every" refers to the Haar measure on U(2n)U(2^n); equality is up to a global phase.

Proof

Proof of the CNOT lower bound for generic unitariesMachine-checked

Normal form. Fix a circuit with kk CNOTs. Merge adjacent single-qubit gates on the same qubit. A single-qubit gate on qubit qq commutes with every CNOT not acting on qq, so it can be moved backwards in time until it meets the most recent earlier CNOT acting on qq, or the start of the circuit. The circuit then has the form: one layer L0=V1⊗⋯⊗VnL_0 = V_1 \otimes \cdots \otimes V_n of single-qubit gates, followed, for j=1,…,kj = 1, \dots, k, by the CNOT cjc_j with control sjs_j and target tjt_j and then single-qubit gates PjP_j on sjs_j and QjQ_j on tjt_j.

Removing redundant parameters. Process j=k,k−1,…,1j = k, k-1, \dots, 1. By the Z–Y–Z decomposition (theorem), Pj=eiαRz(β)Ry(γ)Rz(δ)P_j = e^{i\alpha} R_z(\beta) R_y(\gamma) R_z(\delta), and since RzR_z on the control commutes with CNOT, the factor Rz(δ)R_z(\delta), applied first, can be moved before cjc_j and merged into the previous gate on qubit sjs_j (a PiP_i or QiQ_i with i<ji < j, or a factor of L0L_0), which remains an arbitrary single-qubit gate. Likewise Qj=eiα′Rx(β′)Ry(γ′)Rx(δ′)Q_j = e^{i\alpha'} R_x(\beta') R_y(\gamma') R_x(\delta') (the X–Y–X decomposition, obtained from Z–Y–Z by conjugating with a Hadamard, which maps Rz(θ)R_z(\theta) to Rx(θ)R_x(\theta) and Ry(θ)R_y(\theta) to Ry(−θ)R_y(-\theta)), and RxR_x on the target commutes with CNOT, so Rx(δ′)R_x(\delta') moves before cjc_j. Global phases are collected in front. After the pass, each PjP_j and QjQ_j depends on two real parameters, L0L_0 on 3n3n (each Vi∈SU(2)V_i \in SU(2)), and there is one global phase.

Counting. For a fixed sequence of CNOT positions (sj,tj)j≤k(s_j, t_j)_{j \le k} the implemented unitaries, modulo global phase, form the image of a smooth map f:SU(2)n×R4k→PU(2n)f: SU(2)^n \times \R^{4k} \to PU(2^n) from a manifold of dimension 3n+4k3n + 4k into one of dimension 4n−14^n - 1. If 3n+4k<4n−13n + 4k < 4^n - 1, every point of the domain is critical, so by Sard's theorem the image has measure zero. There are finitely many CNOT position sequences for each k′≤kk' \le k, and a finite union of null sets is null. The inequality 3n+4k<4n−13n + 4k < 4^n - 1 holds exactly when k<(4n−3n−1)/4k < (4^n - 3n - 1)/4, i.e. for all k<κnk < \kappa_n. Since the projection U(2n)→PU(2n)U(2^n) \to PU(2^n) maps Haar-null sets to null sets and back (the measures are locally products with the phase circle), the set of such UU has Haar measure zero.

Values. n=2n = 2: (16−6−1)/4=2.25(16 - 6 - 1)/4 = 2.25, so κ2=3\kappa_2 = 3. n=3n = 3: (64−10)/4=13.5(64 - 10)/4 = 13.5, so κ3=14\kappa_3 = 14. n=4n = 4: (256−13)/4=60.75(256 - 13)/4 = 60.75, so κ4=61\kappa_4 = 61.

Mentioned in
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Vivek V. Shende, Igor L. Markov, Stephen S. Bullock (2004). Minimal universal two-qubit controlled-NOT-based circuits. Physical Review A 69, 062321. doi:10.1103/PhysRevA.69.062321arXiv:quant-ph/0308033
  2. Vivek V. Shende, Stephen S. Bullock, Igor L. Markov (2006). Synthesis of quantum-logic circuits. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 25, 1000-1010. doi:10.1109/TCAD.2005.855930arXiv:quant-ph/0406176

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Statement compared with Shende, Markov and Bullock, PRA 69, 062321 (2004), arXiv quant-ph/0308033 full text: Proposition III.1 states the ceil((4^n-3n-1)/4) CNOT bound for almost all n-qubit operators, proved via Lemma II.2 (Sard's theorem, 4^n-1 one-parameter gates) and the count 3n+4k; the drafting session's attribution is therefore correct. Values kappa_2=3, kappa_3=14, kappa_4=61 recomputed. QSD count (23/48)4^n-(3/2)2^n+4/3 and 'within a factor of two of the lower bound' checked in Shende, Bullock and Markov, arXiv quant-ph/0406176, eq. (19). Reference metadata (title, authors, venue, DOI, arXiv) match.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision ab4f4f2ba7c062c0. Source file knowledge/records/theorem/cnot-lower-bound-for-generic-unitaries.md in the content repository (readable there once it is public).