REVIEW 2 major objections 4 minor 67 references
The paper claims that an adaptive simulated annealing search can find CSS and SWEL quantum error-correcting codes whose distances frequently meet or exceed the quantum Gilbert-Varshamov bound for block lengths up to 50 qubits.
Reviewed by Pith at T0; open to challenge. T0 means a machine referee read the full paper against a public rubric. the ladder, T0–T4 →
T0 review · deepseek-v4-flash
2026-08-01 12:22 UTC pith:JAQMOJ6E
load-bearing objection Useful code catalog and a promising annealing energy function—but the SWEL-space completeness proof has a concrete bug in Appendix E that needs fixing or softening. the 2 major comments →
Quantum codes from classical annealing
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
The central discovery is an annealing-based optimization that, despite the exponential size of code space, finds CSS and SWEL codes with distances meeting or exceeding the stabilizer or CSS Gilbert-Varshamov bounds for many n≤50, k≥4 parameter sets. The energy function combines distance with the count of minimum-weight logical operators, eliminating plateaus and steering the search toward codes with few low-weight errors. The discovered codes include several with only a handful of minimum-weight logical operators, making them natural candidates for further distance improvement, and some whose distances surpass previously indexed codes on public databases.
What carries the argument
The argument rests on three pillars. First, a parametrization of CSS codes by CSS-preserving Clifford gates (GL(n,F2)) and of SWEL codes by SWEL-preserving gates (O(n,F2)), with the search moves being CNOT gates and an elementary four-qubit SWEL-preserving gate; completeness theorems (Theorems 1,2,4,5) establish that these moves connect all codes in the respective classes. Second, an energy function E = log m/log(1/p) − d, where m is the number of minimum-weight nontrivial logical operators and p is a reference physical error rate, which acts as a surrogate logical error rate and resolves the distance plateaus that plague naïve distance maximization. Third, an adaptive annealing schedule tha
Load-bearing premise
The claim that every SWEL code can be reached by the elementary SWEL gates depends on a decomposition theorem whose proof, in one base case, leaves a 4x4 permutation matrix with V[3,3]=V[2,2]=1 unreduced; if that gap is not filled, the annealer may not explore the entire SWEL space.
What would settle it
Test the base case of Algorithm 3 for the 4x4 permutation matrix with V[3,3]=V[2,2]=1: if decompose_orthogonal_matrix returns a non-identity matrix or an infinite loop, Theorem 5's decomposition is incomplete, and the SWEL search may miss some codes.
If this is right
- The listed CSS and SWEL codes provide concrete benchmark parameters that can be used to evaluate or seed future error-correcting code constructions.
- SWEL codes admit transversal logical Hadamard and phase gates, giving a path to fault-tolerant gate sets from numerically found codes.
- The codes can be concatenated: a J38,12,6K top-level code with a J8,6,2K inner code yields parameters J304,72,12K, bringing hundreds of logical qubits within reach of thousands of physical qubits.
- The annealing energy function predicts relative logical error rates at d>4, supporting its use as a design and selection criterion for code search.
Where Pith is reading between the lines
- The same annealing machinery could be extended to search for codes with imposed symmetries (e.g., cyclic or Reed-Muller families), potentially discovering larger codes where distance evaluation can be sped up by the symmetry group.
- Because the energy function counts minimum-weight logicals, codes that come close to a higher distance may be systematically nudged by deleting or modifying a few logical operators, suggesting a local refine-and-improve step beyond the paper.
- The greedy stabilizer weight reduction post-processing implies a two-phase strategy for hardware-oriented code design: first optimize distance and logical count, then compress stabilizer weights, a trade-off the paper quantifies only empirically.
- If the completeness proof for SWEL is repaired, the algorithm could be used as a constructive existence proof for SWEL codes with given parameters, not just a heuristic.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper introduces an adaptive simulated-annealing search for moderate-sized CSS and SWEL quantum error-correcting codes. For each fixed (n,k), the search uses random CSS/SWEL-preserving Clifford gates to sample initial codes, applies CNOT or elementary four-qubit SWEL-preserving gates as local moves, and minimizes an energy function combining code distance with the number of minimum-weight logical operators. The authors report codes for n≤50 whose distances frequently meet or exceed the quantum Gilbert–Varshamov or CSS Gilbert–Varshamov bounds, and validate the energy surrogate against independent Monte Carlo simulations. The paper also provides a full listing of the found codes, a greedy stabilizer-weight-reduction post-processing step, and a discussion of fault-tolerant gate sets enabled by SWEL structure.
Significance. If the numerical results are taken at face value, the paper makes a useful contribution: a catalog of concrete high-rate CSS and SWEL codes with distances that are competitive with (and sometimes better than) previously indexed codes, together with an explicit construction of SWEL codes that admit transversal H and S gates. The manuscript is transparent in listing all stabilizer generators, and the energy surrogate is validated externally via Monte Carlo rather than fitted to the reported codes. The SWEL-preserving-gate framework (Theorem 3 and Theorem 4) is a good conceptual contribution, and the identification of a 2304-element automorphism group for one code is a nice bonus. The main weakness is the proof of the search-completeness claim for SWEL codes, which is not correct as written, and the lack of detail about the actual distance-finding subroutine used for n up to 50.
major comments (2)
- [Appendix E, Theorem 5, Algorithms 2 and 3] The proof of Lemma 5 is invalid as written. In Algorithm 3's base case, a 4×4 orthogonal matrix V that permutes qubits 1 and 4 has V[3,3]=V[2,2]=1, so the algorithm returns an empty sequence even though V is not the identity (V=t({1,4})). Algorithm 2 also appends the invalid set {n,n} when the last column is already e_n, producing a weight-1 "transvection" that is not in O(n,F2). Moreover, the claim that all elements of O(4,F2) are t(Z4) or the identity modulo permutations is false: a 3-cycle permutation is a counterexample. Consequently, Theorem 5's assertion that elementary SWEL-preserving gates connect all Jn,kK SWEL codes is unproven. The listed codes are unaffected, but the completeness guarantee for the SWEL annealer must be fixed or softened.
- [§3.3, §5] The energy function is said to require brute-force enumeration of all nontrivial logical operators, which scales as 2^{O(n)}. For n=50 (Table 1), naive enumeration would be computationally prohibitive given the reported runtimes of "minutes to a couple of days". The manuscript does not describe the distance-finding or minimum-weight-logical enumeration algorithm actually used. Please provide the algorithm and its complexity; otherwise the numerical search is not reproducible. (The listed codes themselves can still be independently checked.)
minor comments (4)
- [Abstract] Typo: "the latter of which which admit" — duplicate "which".
- [§2.7.2] Typo: "guarantees the existence of an stabilizer code" should be "a stabilizer code".
- [Eq. (23)] The right-hand side is typographically ambiguous; please parenthesize the denominator clearly.
- [§G] The Python code example should pin versions of stim and sympy, not only qldpc, for full reproducibility.
Circularity Check
No circular derivation; energy heuristic is validated against independent simulation and benchmarks are external, with only a minor non-load-bearing self-citation.
full rationale
The paper's central claim—that annealing finds CSS/SWEL codes with distances at or above QGV bounds—rests on an energy function E(C)=log m/log(1/p)-d (Eq. 36) and move sets whose completeness is argued via Theorems 1-5. The energy function is derived as a heuristic surrogate from Eq. (34) and is checked against Monte Carlo logical-error-rate simulations in Fig. 2; it is not fitted to the codes in Table 1, so this is a consistency check rather than a fitted-parameter prediction. The QGV/CSS bounds and qecdb comparisons are external benchmarks, not outputs of the search. Theorems 1-5 are proved in Appendices A-E from elementary linear algebra; the relevant cited results are non-self (e.g., Ref. [42] for the CSS GV bound, Ref. [35] for prior SWEL properties). There is a minor self-citation (Ref. [36], 'In preparation', by co-author Perlin) supporting the utility of SWEL gate sets, but it is not load-bearing since Ref. [35] independently establishes the transversal-gate properties. A genuine caveat is that Appendix E's Algorithm 3 appears not to reduce some O(n,F2) inputs fully (e.g., a 4x4 swap can be returned with V[3,3]=V[2,2]=1), so the SWEL-search completeness guarantee is not established by the written proof; this is a correctness/completeness gap, not a circular reduction of the predicted codes to the search inputs.
Axiom & Free-Parameter Ledger
free parameters (3)
- p in energy function E(C)=log m/log(1/p)-d =
10^-3
- Annealing hyperparameters (N=10^4, μ=0.5, log10 r = linspace(-2,-4,K), K∈{10^3,10^4})
- Equal X/Z stabilizer counts (s_X=s_Z=s)
axioms (5)
- standard math Stabilizer code formalism and symplectic binary linear algebra over F2
- domain assumption Quantum Gilbert-Varshamov bounds (Eq. 22, 23) from Refs [37,41,42] correctly lower-bound achievable distances
- domain assumption Code-capacity depolarizing noise with IID Pauli errors and lookup-table decoder is the relevant performance model
- domain assumption The energy surrogate E(C)=log m/log(1/p)-d is a faithful proxy for logical error rate in the explored regime
- ad hoc to paper Lemma 5: every U∈O(n,F2) decomposes into transvections t(Q) with |Q|∈{2,4}
read the original abstract
We introduce an adaptive simulated annealing algorithm to search for moderately-sized quantum error-correcting codes with high encoding rates and large distances. Our search targets two classes of stabilizer codes: (1) CSS codes, and (2) a subclass of CSS codes that we call ``self-dual with equivalent logicals'' (SWEL) codes, the latter of which which admit transversal implementations of logical Hadamard and phase gates that can be leveraged to construct fault-tolerant gate sets. The search is guided by an energy function that acts as a surrogate for the logical error rate in a code-capacity noise model, combining code distance with a count of minimum-weight logical operators to resolve the discrete plateaux that impede na\"ive distance optimization. For block lengths of up to $50$ physical qubits, our search finds state-of-the-art CSS and SWEL codes whose distances frequently meet or exceed the variants of the quantum Gilbert-Varshamov bound. In addition to providing favorable seed codes for fault-tolerant architectures based on code concatenation, the codes found in this work are promising candidates for high-rate code demonstrations on near-term quantum computing hardware.
Figures
Reference graph
Works this paper leans on
-
[1]
D.A.LidarandT.A.Brun,Quantum Error Cor- rection(Cambridge University Press, 2013)
2013
-
[2]
M. A. Nielsen and I. L. Chuang,Quantum Com- putation and Quantum Information: 10th An- niversary Edition(Cambridge University Press, 2010)
2010
-
[3]
A. M. Steane, Physical Review A68, 042322 (2003)
2003
-
[4]
Preskill, Quantum2, 79 (2018)
J. Preskill, Quantum2, 79 (2018)
2018
-
[5]
Z. He, D. Amaro, R. Shaydulin, and M. Pistoia, Communications Physics8, 217 (2025)
2025
-
[6]
Y. Jin, Z. He, T. Hao, D. Amaro, S. Tannu, R.Shaydulin,andM.Pistoia,IcebergBeyondthe Tip: Co-Compilation of a Quantum Error De- tection Code and a Quantum Algorithm (2025), arXiv:2504.21172 [quant-ph]
Pith/arXiv arXiv 2025
-
[7]
C. N. Self, M. Benedetti, and D. Amaro, Nature Physics20, 219 (2024)
2024
-
[8]
Bravyi, D
S. Bravyi, D. Poulin, and B. Terhal, Physical Re- view Letters104, 050503 (2010)
2010
-
[9]
Panteleev and G
P. Panteleev and G. Kalachev, inProceedings of the 54th Annual ACM SIGACT Symposium on Theory of Computing, STOC 2022 (Association for Computing Machinery, New York, NY, USA,
2022
-
[10]
Dinur, M.-H
I. Dinur, M.-H. Hsieh, T.-C. Lin, and T. Vidick, inProceedings of the 55th Annual ACM Sympo- sium on Theory of Computing, STOC 2023 (As- sociation for Computing Machinery, New York, NY, USA, 2023) pp. 905–918
2023
-
[11]
Baspin and A
N. Baspin and A. Krishna, Physical Review Let- ters129, 050505 (2022)
2022
-
[12]
Dai and R
S. Dai and R. Li, inProceedings of the 57th An- nual ACM Symposium on Theory of Computing, STOC ’25 (Association for Computing Machin- ery, New York, NY, USA, 2025) pp. 677–688
2025
-
[13]
S. Koutsioumpas, T. Noszko, H. Sayginel, M. Webster, and J. Roffe, Colour Codes Reach 15 Surface Code Performance using Vibe Decoding (2025), arXiv:2508.15743 [quant-ph]
Pith/arXiv arXiv 2025
-
[14]
Panteleev and G
P. Panteleev and G. Kalachev, Quantum5, 585 (2021)
2021
-
[15]
D.J.WilliamsonandT.J.Yoder,NaturePhysics 22, 598 (2026)
2026
-
[16]
E. Swaroop, T. Jochym-O’Connor, and T. J. Yo- der, Universal adapters between quantum LDPC codes (2024), arXiv:2410.03628
arXiv 2024
-
[17]
Z. He, A. Cowtan, D. J. Williamson, and T. J. Yoder, Extractors: QLDPC Architectures for Efficient Pauli-Based Computation (2025), arXiv:2503.10390
arXiv 2025
- [18]
-
[19]
Goto, Science Advances10, eadp6388 (2024)
H. Goto, Science Advances10, eadp6388 (2024)
2024
-
[20]
Yamasaki and M
H. Yamasaki and M. Koashi, Nature Physics20, 247 (2024)
2024
-
[21]
Yoshida, S
S. Yoshida, S. Tamiya, and H. Yamasaki, npj Quantum Information11, 88 (2025)
2025
-
[22]
Nakai and H
R. Nakai and H. Goto, Physical Review Applied 25, 014032 (2026)
2026
-
[23]
Pastawski, B
F. Pastawski, B. Yoshida, D. Harlow, and J. Preskill, Journal of High Energy Physics2015, 149 (2015)
2015
-
[24]
R. J. Harris, N. A. McMahon, G. K. Brennen, and T. M. Stace, Physical Review A98, 052301 (2018)
2018
-
[25]
R. J. Harris, E. Coupe, N. A. McMahon, G. K. Brennen, and T. M. Stace, Physical Review A 102, 062417 (2020)
2020
-
[26]
Jahn and J
A. Jahn and J. Eisert, Quantum Science and Technology6, 033002 (2021)
2021
-
[27]
Farrelly, N
T. Farrelly, N. Milicevic, R. J. Harris, N. A. McMahon, and T. M. Stace, Physical Review A 105, 052446 (2022)
2022
-
[28]
Steinberg, J
M. Steinberg, J. Fan, R. J. Harris, D. Elkouss, S. Feld, and A. Jahn, Quantum9, 1826 (2025)
2025
-
[29]
M. Steinberg, J. Fan, J. Eisert, S. Feld, A. Jahn, and C. Cao, Universal fault-tolerant logic with heterogeneous holographic codes (2025), arXiv:2504.10386 [quant-ph]
Pith/arXiv arXiv 2025
-
[30]
Bluvstein, H
D. Bluvstein, H. Levine, G. Semeghini, T. T. Wang, S. Ebadi, M. Kalinowski, A. Keesling, N. Maskara, H. Pichler, M. Greiner, V. Vuletić, and M. D. Lukin, Nature604, 451 (2022)
2022
-
[31]
A. Ransford, M. S. Allman, J. Arkinstall, J. P. Campora, S. F. Cooper, R. D. Delaney, J. M. Dreiling, B. Estey, C. Figgatt, A. Hall, A. A. Husain, A. Isanaka, C. J. Kennedy, N. Kotib- haskar, I. S. Madjarov, K. Mayer, A. R. Milne, A. J. Park, A. P. Reed, R. Ancona, M. P. Andersen, P. Andres-Martinez, W. Angenent, L. Argueta, B. Arkin, L. Ascarrunz, W. Bak...
Pith/arXiv arXiv 2025
-
[32]
Bravyi, A
S. Bravyi, A. W. Cross, J. M. Gambetta, D. Maslov, P. Rall, and T. J. Yoder, Nature627, 778 (2024)
2024
-
[33]
M. Cain, Q. Xu, R. King, L. R. B. Picard, H. Levine, M. Endres, J. Preskill, H.-Y. Huang, and D. Bluvstein, Shor’s algorithm is possi- ble with as few as 10,000 reconfigurable atomic qubits (2026), arXiv:2603.28627 [quant-ph]
Pith/arXiv arXiv 2026
-
[34]
C. Zhao, C. Duckering, A. Gu, N. Maskara, and H. Zhou, Towards ultra-high-rate quantum er- ror correction with reconfigurable atom arrays (2026), arXiv:2604.16209 [quant-ph]
Pith/arXiv arXiv 2026
-
[35]
T. Tansuwannont, Y. Takada, and K. Fujii, Clif- ford gates with logical transversality for self-dual CSS codes (2025), arXiv:2503.19790 [quant-ph]
Pith/arXiv arXiv 2025
-
[36]
Sullivan, D
J. Sullivan, D. Amaro, and M. A. Perlin, In preparation (2026). 16
2026
-
[37]
Gottesman, Stabilizer Codes and Quan- tum Error Correction (1997), arXiv:quant- ph/9705052
D. Gottesman, Stabilizer Codes and Quan- tum Error Correction (1997), arXiv:quant- ph/9705052
arXiv 1997
-
[38]
Gottesman, Surviving as a Quantum Com- puter in a Classical World (2024)
D. Gottesman, Surviving as a Quantum Com- puter in a Classical World (2024)
2024
-
[39]
P. J. M. Van Laarhoven and E. H. L. Aarts, Simulated Annealing: Theory and Applications (Springer Netherlands, Dordrecht, 1987)
1987
-
[40]
Sarvepalli and A
P. Sarvepalli and A. Klappenecker, Physical Re- view A81, 032318 (2010)
2010
-
[41]
Gottesman, CO 639: Quantum Error Correc- tion, Lecture 8 (2004)
D. Gottesman, CO 639: Quantum Error Correc- tion, Lecture 8 (2004)
2004
-
[42]
R.Matsumoto,QuantumInformationProcessing 16, 285 (2017)
2017
-
[43]
Metropolis, A
N. Metropolis, A. W. Rosenbluth, M. N. Rosen- bluth, A. H. Teller, and E. Teller, The Journal of Chemical Physics21, 1087 (1953)
1953
-
[44]
W. K. Hastings, Biometrika57, 97 (1970)
1970
-
[45]
Tierney, The Annals of Statistics22, 1701 (1994), 2242477
L. Tierney, The Annals of Statistics22, 1701 (1994), 2242477
1994
-
[46]
Kirkpatrick, C
S. Kirkpatrick, C. D. Gelatt, and M. P. Vecchi, Science220, 671 (1983)
1983
-
[47]
Geman and D
S. Geman and D. Geman, IEEE Transactions on Pattern Analysis and Machine Intelligence PAMI-6, 721 (1984)
1984
-
[48]
Barg and G
A. Barg and G. Forney, IEEE Transactions on Information Theory48, 2568 (2002)
2002
-
[49]
M. A. Perlin, qldpc,https://github.com/ qLDPCOrg/qLDPC(2023)
2023
-
[50]
Greenfield, Department of Math & Statistics Technical Report Series (1993)
G. Greenfield, Department of Math & Statistics Technical Report Series (1993)
1993
-
[51]
A. Kanchi, Tunneling-Augmented Simulated An- nealing for Short-Block LDPC Code Construc- tion (2026), arXiv:2604.07365
Pith/arXiv arXiv 2026
-
[52]
M. Webster, A. Jacob, and O. Higgott, Distance- Finding Algorithms for Quantum Codes and Cir- cuits (2026), arXiv:2603.22532
arXiv 2026
-
[53]
B. C. A. Freire, N. Delfosse, and A. Leverrier, in 2025 IEEE International Symposium on Infor- mation Theory (ISIT)(2025) pp. 1–6
2025
-
[54]
Sayginel, S
H. Sayginel, S. Koutsioumpas, M. Webster, A. Rajput, and D. E. Browne, PRX Quantum 6, 030343 (2025)
2025
-
[55]
S. Dasu and B. Criger, Flagging the clifford hi- erarchy: Fault-tolerant logical π 2l rotations via measuringcircuitgaugeoperatorsofnon-cliffords (2026), arXiv:2603.24573 [quant-ph]
arXiv 2026
-
[56]
T. A. Brun, Y.-C. Zheng, K.-C. Hsu, J. Job, and C.-Y. Lai, Teleportation-based Fault-tolerant Quantum Computation in Multi-qubit Large Block Codes (2015), arXiv:1504.03913 [quant-ph]
Pith/arXiv arXiv 2015
-
[57]
D. Forlivesi and D. Amaro, Flag at origin: A modular fault-tolerant preparation for CSS codes (2025), arXiv:2508.14200 [quant-ph]
arXiv 2025
-
[58]
Peham, L
T. Peham, L. Schmid, L. Berent, M. Müller, and R. Wille, PRX Quantum6, 020330 (2025)
2025
-
[59]
Crigeret al., Automated flag-based fault- tolerant state preparation using integer linear programming (2026)
B. Crigeret al., Automated flag-based fault- tolerant state preparation using integer linear programming (2026)
2026
-
[60]
H. V. Henderson and S. R. Searle, SIAM review 23, 53 (1981)
1981
-
[61]
P. K. Vishwakarma, Cholesky decomposition for symmetric matrices over finite fields (2025), arXiv:2508.04657 [math]
Pith/arXiv arXiv 2025
-
[62]
G. H. Golub and C. F. V. Loan,Matrix Compu- tations(JHU Press, 2013)
2013
-
[63]
T. Tansuwannont and A. Nemec, Synchro- nizable hybrid subsystem codes (2024), arXiv:2409.11312 [quant-ph] . A CSS equivalence theorem Here we prove Theorem 1 of the main text, restated here for reference: Theorem 1(CSS equivalence).LetC= CSS(HX,HZ)andC ′ = CSS(H′ X,H′ Z). If (i)rank(H X) = rank(H′ X), and (ii)rank(H Z) = rank(H′ Z), thenC ′ = (GN···G 2G1)...
Pith/arXiv arXiv 2024
-
[64]
Our reduction makes use of the following lemma: Lemma 4.IfCandC ′ are bothJn,kKSWEL codes, thenC ′ =τ(C)for some SWEL- preserving gateτ
The transvectiont(Q)induces a SWEL-preserving gate T(Q)≃(t(Q),t(Q))that acts nontrivially on|Q| qubits. Our reduction makes use of the following lemma: Lemma 4.IfCandC ′ are bothJn,kKSWEL codes, thenC ′ =τ(C)for some SWEL- preserving gateτ. Proof.Letτ C andτ C′ be SWEL-preserving gates that constructCandC ′ from the triv- ial SWEL code, in the sense of Th...
-
[65]
Here1 n ∈F n 2 is the vector of all ones
We will use the following fact about the columns ofU: Lemma 6.Ifvis a column of someU∈ O(n,F 2)withn >1, then∥v∥is odd and v̸=1 n. Here1 n ∈F n 2 is the vector of all ones. In other words,vhas an odd number of ones and at least one zero. Proof.Letu 1 andu 2 be arbitrary but different columns of an arbitraryU∈O(n,F 2). 1.U ⊺U=1 n implies thatu ⊺ 1u1 = 1, s...
-
[66]
Ifn >4, we can recursively consider the sub- matrix ˜U= u1,1 u1,2 ···u 1,n−1 u2,1 u2,2 ···u 2,n−1 ... ... ... ... un−1,1 un−1,2 ···u n−1,n−1 , (119) and again reduce the last column of ˜U. Note that the transvections used to reduce the last col- umn of ˜Udo not, if extended to act onFn×n 2 , af- fect the last (already reduced) column ofU, sin...
-
[67]
extendAbyB
Ifn= 4, then all elements ofO(n,F 2)are equal to eithert(Z 4)or1 4 modulo row and column permutations, so any reduced matrixUfor which un =e n must be equal to the identity matrix modulo permutations. Altogether, we can use Algorithm 2 to recursively re- duce any matrixU∈O(n,F 2)⊂F n×n 2 to a permuta- tion matrix using only transvectionst(Q)with weight |Q...
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.