Research
Explicit Matrices over $\mathbb Z_2$ with CNOT and Row Complexity $4n-\mathrm{o}(n)$ and Local Logic Gates
Overview Research area: Quantum information and computational complexity — specifically the gate complexity of linear reversible circuits (CNOT circuits), the row-reduction complexity of matrices over

- arXiv
- 2607.28598
- Published
- 2026-07-30
- Authors
- Sherry Gong, Andrew Yu
AI summary
Overview
Research area: Quantum information and computational complexity — specifically the gate complexity of linear reversible circuits (CNOT circuits), the row-reduction complexity of matrices over the field ℤ₂, and the quantum complexity of permutations generated by "local logic gates."
Technical level: Advanced. The paper assumes familiarity with linear algebra over finite fields, elementary row operations, Galois theory and field traces, additive (XOR) circuit complexity, and affine transformation groups.
Scope in one sentence: The paper constructs an explicit family of invertible n × n matrices over ℤ₂ requiring at least 4n − o(n) CNOT and row operations (and the same in a stronger 2-local-gate model), and separately identifies the group generated by Freedman's local logic gates with the affine group AGL(n, 2), transferring this lower bound to quantum circuit complexity.
What This Paper Is About
A counting argument shows that almost all invertible matrices over ℤ₂ need on the order of n²/log n elementary row operations to reduce to the identity, yet no one had exhibited a specific matrix family provably needing even a large linear number — a gap Gowers publicly highlighted. This paper builds such an explicit family achieving 4n − o(n), improving on the prior 3n-range bounds, and extends the lower bound to a stronger model where CNOT gates are replaced by arbitrary invertible linear maps on any pair of coordinates. It then shows that the permutation group generated by local logic gates is exactly the invertible affine transformations of ℤ₂ⁿ, which converts the quantum-complexity question for those permutations into the row-reduction question for matrices over ℤ₂.
Key Contributions
-
An explicit matrix family with 4n − o(n) CNOT and row complexity. The matrices are built from Sergeev's Vandermonde-type matrix U over 𝔽₂ᵖ and assembled into the block form (U, I_N; I_ps, Uᵀ), which the authors prove is invertible directly rather than by embedding it into a larger invertible matrix.
-
The same bound in a stronger gate model. The 4n − o(n) lower bound also holds for the 2-local gate length λ_n(A), where arbitrary elements of GL(2, ℤ₂) may be applied to arbitrary coordinate pairs, not just row additions.
-
Identification of the local-logic-gate group. The group G_n generated by local logic gates on binary strings of length n is proved to be exactly AGL(n, 2), the group of invertible affine transformations of ℤ₂ⁿ, with each local logic gate described explicitly in terms of its 2 × 2 linear part and its translation part.
-
Complexity bounds for local-logic-gate permutations. All permutations in G_n have a subquadratic upper bound on gate complexity, almost all of them have complexity above a stated threshold q_n, and the permutations attached to the explicit matrices have quantum complexity at least 4n − o(n).
Main Findings
- Main lower bound (Theorem 2.8): With N = 2ᵖ − 1, s = ⌈N^{1/3}⌉, m = N + ps, and U Sergeev's matrix, A = (U, I_N; I_ps, Uᵀ) is invertible for sufficiently large p and satisfies λ_m(A) ≥ 4m − o(m) and ℓ_m(A) ≥ 4m − o(m).
- Invertibility criterion (Lemma 2.7): The block matrix is invertible precisely when there is no nonzero (x, y) with Ux + y = 0 and x + Uᵀy = 0, which reduces to showing UᵀU = 0; the authors prove UᵀU = 0 for sufficiently large p using field traces, Galois conjugates, and character sums over the cyclic group 𝔽₂ᵖ^× of order 2ᵖ − 1.
- Transfer lemma (Lemma 2.6): For A ∈ GL(n, ℤ₂) and any permutation matrix P, L(A + P) ≤ λ_n(A) + n. This is what converts Sergeev's additive-circuit bound into a bound for the 2-local gate model.
- Sergeev's input (Theorem 2.3): If B is a × b with a > b, no row containing exactly one 1, and any 2k rows linearly independent for some k ≥ 3, then L(B ⊞ Bᵀ) ≥ 3a + 2((2k−4)/(2k−1))a^{1−1/k} − 3b; in particular L(B ⊞ Bᵀ) ≥ 5a − O(a log a / k) − 3b when k ≫ log a. The paper derives this from Sergeev's Theorem 2 plus the transposition principle.
- Arithmetic of the final bound: Since A + P = U ⊞ Uᵀ with L(A + P) ≥ 5N − o(N) and m = N + ps with ps = o(N), one gets λ_m(A) ≥ 5N − o(N) − (N + ps) = 4N − o(N), hence 4m − o(m); λ_m ≤ ℓ_m gives the same for CNOT length.
- Group structure (Theorem 3.3): For n ≥ 2, G_n = AGL(n, 2). Every local logic gate on coordinates i, j maps (x_i, x_j) to B(x_i, x_j) + b with B ∈ GL(2, ℤ₂) and b ∈ ℤ₂²; its linear part is the identity, an elementary matrix, or a product of two elementary matrices, and its translation part is supported on at most two coordinates. The n = 2 base case rests on the count 4! = 24 matching six invertible 2 × 2 matrices times four choices of translation vector.
- Upper bound (Theorem 3.4): Every permutation in G_n has complexity at most 2n²/(log₂ n − 1) + 2n log₂ n + n + ⌈n/2⌉, using the fact that every invertible n × n matrix over ℤ₂ is a product of at most that many (minus the ceiling term) elementary matrices and that any translation is a product of at most ⌈n/2⌉ local logic gates. (The section introduction states the equivalent form 2n²/(log₂ n − 1) + 2n log₂ n + 3n/2 + 1.)
- Group order (Theorem 4.1): |G_n| = 2ⁿ(2ⁿ − 1)(2ⁿ − 2)⋯(2ⁿ − 2^{n−1}).
- Generic lower bound (Theorem 4.2): With q_n = ⌊(n² + n − 2 log₂ n)/log₂(12n(n−1))⌋, almost all permutations in G_n have complexity greater than q_n. The proof counts at most (12n(n−1))^q products of q local logic gates, since there are 24·C(n,2) = 12n(n−1) gate-and-coordinate-pair choices.
- Quantum complexity consequence: The permutations corresponding to the explicit matrices have quantum complexity at least 4n − o(n); the detailed argument relating quantum complexity of affine transformations to the row complexity of their linear parts is in the paper's Section 5, whose contents are not included in the truncated text provided here.
- Context and priority: While this note was in preparation, Jørgensen independently posted an explicit 4m − o(m) construction also based on Sergeev's result; the authors state their main step is substantially different because they prove the block matrix invertible directly rather than embedding it.
- Prior state of the art: Counting gives Ω(n²/log n) for almost all matrices and at least c n²/log n elementary row operations; earlier prominent CNOT-metric bounds were in the 3n range, with permutation matrices having long cycles needing circuits of length 3(n−1).
Methodology in Plain English
The strategy is a reduction chain. Sergeev had already produced an explicit rectangular matrix U (a Vandermonde-style matrix over the finite field 𝔽₂ᵖ, built from distinct nonzero powers α_i, α_i², …, α_iˢ) whose non-reversible additive (XOR) circuit complexity is at least 5n − o(n). Additive circuits are not reversible, so that bound cannot be used directly for CNOT complexity. The authors' trick is to pad U into a square block matrix (U, I_N; I_ps, Uᵀ) whose off-diagonal identity blocks make it a permutation of the reversible world, and whose invertibility can be certified by the single algebraic identity UᵀU = 0. They prove that identity by converting coordinate functions into field traces, expanding traces as sums of Galois conjugates, and observing that the relevant character sums vanish because a power of 2 of the given size cannot be divisible by 2ᵖ − 1 — the divisibility check splits into two cases depending on whether the gap j − i is at most or more than p/2. Adding back the permutation matrix recovers Sergeev's diagonal block matrix U ⊞ Uᵀ, so the 5N − o(N) additive lower bound applies, and subtracting m gates (the transfer lemma) leaves 4N − o(N). Separately, the group-theoretic half of the paper analyzes the 2 × 2 case exhaustively (24 affine maps = 24 permutations), then lifts it coordinate-by-coordinate to show that swaps, row additions, and two-coordinate translations generate the full affine group, and uses elementary counting of short gate sequences to get both a general upper bound and a generic lower bound.
Why This Matters
The paper closes a long-standing gap between counting arguments and explicit constructions in a metric — CNOT/row complexity over ℤ₂ — that is central to reversible and linear-optical circuit synthesis, and it does so in a stronger gate model than CNOT alone, which rules out the objection that the bound is an artifact of gate choice. It also gives a clean structural theorem (G_n = AGL(n, 2)) that lets quantum-complexity questions about a natural class of permutations be answered with linear algebra.
Real-world applications: the paper itself does not report industrial deployments or experimental implementations, so no specific applications are claimed. The areas its results bear on are:
- Compiling and optimizing linear reversible (CNOT) circuits in fault-tolerant quantum computing, where CNOT count is a dominant cost.
- Clifford circuit synthesis, since CNOT circuits are the linear backbone of Clifford operations.
- Benchmarks and hardness evidence for circuit-optimization heuristics and SAT-based CNOT-synthesis tools.
- Reversible logic and coding-style linear transformations, where row-operation counts measure implementation cost.
Industry relevance: the paper states none explicitly. Its relevance to quantum-computing hardware and compiler teams is indirect, via the CNOT-count and 2-local-gate metrics it lower-bounds.
Future Directions
- Closing the gap between the 4n − o(n) explicit lower bound and the Ω(n²/log n) counting bound for explicit matrices, which remains open; the paper's own framing presents superlinear explicit CNOT length as the major open question.
- Determining whether the local-logic-gate framework (G_n = AGL(n, 2)) yields tighter or broader complexity statements than the row-reduction translation, particularly for affine transformations with large translation parts.
- Comparing and reconciling this construction with Jørgensen's independent 4m − o(m) construction, since both descend from Sergeev's matrix but use different invertibility mechanisms.
- Extending the 2-local gate model to k-local gates on more than two coordinates for k > 2, which the paper does not treat; the paper only analyzes the arbitrary-GL(2, ℤ₂) case.
Target Audience
Researchers in quantum computing theory and circuit complexity, especially those working on CNOT-circuit synthesis and linear reversible circuits; mathematicians interested in row-reduction complexity, additive circuit complexity, and matrix groups over finite fields; and graduate students with a background in finite fields and quantum gate models who want a concrete, self-contained example of an explicit hardness construction.
Note on completeness: the supplied content truncates inside the proof of Theorem 4.2 and does not include Section 5, so the details of the final quantum-complexity deduction are not summarized here; the paper's stated conclusion is the 4n − o(n) lower bound for quantum complexity of the associated permutations.
Authors’ abstract
In this article, we present an explicit family of invertible $n\times n$ matrices over $\mathbb Z_2$ whose CNOT and row complexity is at least $4n-\text{o}(n)$; equivalently, reducing these matrices to the identity requires at least $4n-\text{o}(n)$ elementary row operations. Moreover, the same complexity lower bound holds in the stronger computational model where the CNOT gates are replaced by arbitrary local linear logic gates, namely arbitrary invertible linear transformations acting on pairs of coordinates. Let $G_n$ denote the permutation group generated by local logic gates acting on the set of binary strings of length $n$. We prove that $G_n$ is naturally isomorphic to the group of all invertible affine transformations of the vector space $\mathbb Z_2^n$, thus reducing the problem of estimating the quantum complexity of permutations in $G_n$ to the row reduction complexity of invertible matrices over $\mathbb Z_2$. As an application, we show that the permutations associated with our explicit matrices have quantum complexity at least $4n-\text{o}(n)$.