REVIEW 2 major objections 4 minor 27 references
ILP over circuit gauge operators produces fault-tolerant state-prep circuits at or below prior gate counts for all 12 codes tested, and a [[24,10,4]] Steane gadget with ~1.4e-5 per-qubit logical error rate on H2.
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 →
2026-08-01 04:32 UTC pith:DBD6L2NE
load-bearing objection Genuine ILP-based advance in flag circuit synthesis with SOTA-beating gate counts, but the FT guarantee is not fully proven — needs a rigorous fault-injection check. the 2 major comments →
Automated Flag-based Fault-Tolerant State Preparation using Integer Linear Programming
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 paper's central claim is that flag-based fault-tolerant state preparation reduces to weighted set cover over circuit gauge operators: each flag subcircuit measures a gauge operator, and the set of faults it detects is exactly those whose 'spackle' (spacetime support) anticommutes with that operator. Choosing which gauge operators to measure so that all dangerous fault sets are covered is a weighted set cover problem, solved here with integer linear programming. The authors show that this ILP construction produces circuits with gate counts equal to or lower than the state of the art for all 12 codes considered, detecting up to three faults, and that a Steane error-correction gadget for th
What carries the argument
The central object is the circuit gauge operator: a Pauli operator supported on spacetime locations of a circuit that is equivalent to the identity when inserted into the circuit. Flag subcircuits are shown to measure such operators, detecting exactly those fault sets whose spackle (the spacetime support of the propagated faults) anticommutes with the gauge operator. The task of promoting a circuit to tolerate t faults becomes weighted set cover: choose low-weight gauge operators (cost = weight + 1, corresponding to controlled-Pauli gates plus one measurement) whose anticommuting spackle sets cover all dangerous fault sets. The set-cover instance is solved by an integer linear program, with
Load-bearing premise
The paper's fault-tolerance guarantee assumes Algorithm 1 finds every gauge operator needed to cover dangerous spackle sets, and that the final-stage proof, which analyzes faults after two-qubit gates, also covers ancilla preparation and measurement faults; neither is proven.
What would settle it
Run full state-vector simulation with a depolarizing noise model on one ILP-derived circuit (e.g., [[24,10,4]] or [[7,1,3]]) and enumerate all single-fault and pair-fault sets; if any fault set produces an output error of weight greater than t without triggering a flag, the fault-tolerance claim is falsified. Alternatively, exhaustively enumerate all gauge operators for a small code and check whether Algorithm 1 misses a gauge that is required to cover a dangerous spackle, which would falsify the completeness of the heuristic.
If this is right
- For every one of the 12 codes tested, the ILP-derived circuits match or beat the gate counts of the two prior automated methods, with the largest reductions on high-rate codes (e.g., 89 vs 170 operations for the [[24,10,4]] 2BGA code).
- The method automates construction of flag circuits that detect up to three faults, scaling to codes of distance up to 7 with block sizes up to 42 qubits.
- The [[24,10,4]] Steane gadget produced one logical error in 7,117 accepted shots (block error ~1.4e-4, per-qubit ~1.4e-5), with only ~1.6% of shots post-selected, demonstrating fault-tolerant preparation below typical physical two-qubit gate error rates.
- Because the ILP formulation is based on the circuit gauge operator formalism, it provides a unified explanation of flag circuits and can be applied to other fault-tolerant subroutines beyond state preparation.
Where Pith is reading between the lines
- The cost function used in the ILP (weight + 1) ignores the fact that each added flag subcircuit introduces new fault locations; a more accurate cost would likely lead to even smaller circuits, as the authors themselves suggest.
- The same gauge-operator covering approach could be extended to promote non-fault-tolerant circuits for logical operations (e.g., fold-transversal gates), although this requires embedding a decoder in the exit criterion.
- The hardware result is a single code and a single device; the claim that gate-count reduction translates into lower logical error rates would be strengthened by applying the ILP pipeline to several codes and comparing on multiple machines.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper proposes an automated method for constructing flag-based fault-tolerant stabilizer state preparation circuits. The construction is framed as a weighted set-cover problem over circuit gauge operators, solved with integer linear programming (ILP). The authors describe a heuristic algorithm (Algorithm 1) that generates low-weight gauge operators, then select a set of gauge measurements whose detection syndromes cover all dangerous fault combinations. They apply the method to 12 CSS codes and report gate counts that match or beat prior state-of-the-art circuits, with improvements most pronounced for high-rate codes. They also implement a Steane error-correction gadget for the [[24,10,4]] two-block group algebra code and run it on Quantinuum H2, reporting a logical block error rate of about 1.4e-4 based on one logical error in 7117 accepted shots.
Significance. If the fault-tolerance guarantees can be rigorously established, this would be a solid and useful contribution. The ILP/gauge-operator formulation is a natural extension of earlier SAT-based and flag-at-origin methods, and the reported constant-factor gate-count improvements are valuable for near-term QEC subroutines. The paper also contains a rare hardware demonstration of an optimized logical gadget. The explicit circuits in the appendices and reproducible gate-count comparisons are assets. However, the central correctness claim depends on a fault-tolerance proof that is not yet complete, and on a heuristic gauge-generation step whose completeness is not certified. The contribution is conditionally significant pending those points.
major comments (2)
- [Section III, Table I] The proof that a bare-ancilla weight-3 gauge measurement 'does not produce high-weight faults not seen in the original circuit C' examines only Pauli generators occurring after each two-qubit gate (Table I). It does not analyze faults in the |+> ancilla preparation or in the final X-basis measurement. A Z fault on the ancilla immediately after preparation propagates through the controlled gates into the data as PQR (the measured gauge operator), and a measurement fault can convert a legitimate non-trivial flag syndrome into a false negative. Neither of these single-fault channels is covered by Table I or the surrounding argument. Since this proof is the only formal justification that the promotion procedure preserves fault tolerance, the FT claim for all 12 circuits in Table II is not established. Please either extend the proof/table to all fault locations or provide exhaustive fault-inj
- [Section II.A; Eq. (5)] The ILP set-cover constraints in Eq. (5) are only over the gauge set G produced by Algorithm 1, which the paper states is 'not guaranteed to be as large as possible.' If a dangerous spackle is not covered by any generated gauge, the ILP is infeasible; but if the dangerous-spackle set S itself is under-generated, or the reduction by 'equivalent to an operator of weight ≤ t' is done incorrectly, the ILP can return a circuit that satisfies the constraints yet is not fault-tolerant. No certificate or exhaustive simulation is provided for the distance-5, -6, and -7 circuits in Table II. The completeness of S and of the generated gauge set is a load-bearing assumption for the paper's headline claim. Please add an explicit verification step or a proof of completeness for the generated gauge set.
minor comments (4)
- [Section IV A / Table III] The hardware estimate 'one logical error in 7117 accepted shots implies a logical error rate of 1/7117 ~ 1.4e-4' is a point estimate from a single Bernoulli observation. With one event, the 95% confidence interval spans roughly an order of magnitude. Please report an interval (e.g., Wilson) and the calibration conditions, since the hardware claim is presented without uncertainty.
- [Abstract / throughout] There are several typographical and formatting issues: '104 shots' should be '10^4 shots'; 'theJ7,1,3KSteane code' is missing bracket delimiters; and some exponent notation is garbled. The manuscript would benefit from a careful proofreading pass.
- [Table I / Section III] The notation in Table I (e.g., 'IP', 'IP⊥', 'Q1R5', syndrome columns) is not explained in sufficient detail. Without a definition of the location labels and the convention for propagating generators, the reader cannot independently verify the table. An explicit derivation for one row would greatly improve accessibility.
- [Table II] The comparison to state-of-the-art gate counts relies on several external sources, including one private communication [19]. For reproducibility, please state the precise version and settings of the prior methods, and clarify whether all SOTA values use the same fault-tolerance definition (number of detected faults, post-selection criteria, and error model).
Circularity Check
No significant circularity: ILP outcomes are benchmarked against external SOTA and the gauge-operator formalism is external; no step reduces to its own input by construction.
full rationale
The derivation chain is: (1) choose a non-fault-tolerant initial circuit, either by hand or via the separately published beam-search generator [16]; (2) express flag measurements as circuit-gauge-operator measurements using the formalism of Bacon et al. [11]; (3) enumerate dangerous spackle sets and solve weighted set cover as the integer linear program in Eq. (5); (4) prove by Table I that final-stage weight-3 flag faults are equivalent to faults in the original circuit; (5) compare gate counts against external SOTA references in Table II and measure the [[24,10,4]] gadget on Quantinuum H2. The ILP objective c_g = weight(g)+1 is a fixed cost model, not fitted to targets, and fault tolerance is enforced as a set-cover constraint, not predicted from a fitted parameter. The only author-overlapping input is the initial-circuit generator [16], but it is used transparently as a subroutine and its own non-FT gate counts are separately tabulated against SOTA in Table II, so the improvement claim does not reduce to a self-citation. The admitted heuristic incompleteness of Algorithm 1 ('not guaranteed to be as large as possible') and the restricted fault analysis in Sec. III are correctness risks rather than circularity, since the paper's own per-circuit verification statements ('All single faults are detected...') are checkable claims independent of the ILP formulation.
Axiom & Free-Parameter Ledger
free parameters (3)
- maxWeight (gauge operator weight cap) =
3 (final promotion; larger for intermediate steps)
- output weight limit =
1
- ILP cost coefficients =
c_g = weight(g)+1
axioms (4)
- domain assumption Circuit gauge operator formalism and spackle characterization (Bacon et al. [11])
- domain assumption Fault model: single faults at each location after preparation, two-qubit gate, and measurement
- ad hoc to paper Bare-ancilla weight-3 gauge measurement with output weight <=1 introduces no new first-order errors
- ad hoc to paper Algorithm 1 generates all gauge operators necessary for promotion
Cite this review
Pith. "Pith review of Automated Flag-based Fault-Tolerant State Preparation using Integer Linear Programming." pith.science (2026). https://pith.science/paper/DBD6L2NE
@misc{pith2026260722498,
author = {Pith},
title = {Pith review of: Automated Flag-based Fault-Tolerant State Preparation using Integer Linear Programming},
year = {2026},
howpublished = {\url{https://pith.science/paper/DBD6L2NE}},
note = {Machine review of arXiv:2607.22498}
}
read the original abstract
Post-selected stabilizer state preparation is a necessary subroutine in fault-tolerant quantum computation, both for initialization of logical qubits, and for logical-ancilla-based error correction gadgets (e.g. Steane and Knill). Therefore, reducing the number of gates needed to prepare a stabilizer state fault-tolerantly can simultaneously reduce time-to-solution and increase reliability. For small, low-distance codes such as the [[7, 1, 3]] Steane code, circuits with low gate counts can be found by inspection. This becomes impractical for larger codes, necessitating automation. There are two state-of-the-art methods for automated fault-tolerant state preparation, SAT-based stabilizer measurement and flag-at-origin. In this work, we optimize state preparation circuits using the circuit gauge operator formalism to express the construction of flag circuits as an integer linear program. This allows the construction of circuits with equal or lower gate count than the state of the art, while detecting up to three errors. We use this technique to derive a Steane error correction gadget for the [[24, 10, 4]] two-block group algebra code, and test it on Quantinuum's System Model H2 quantum computer with 10,000 shots, resulting in a logical block error rate ~0.00014 (~0.000014 per logical qubit), with ~1.6% of the shots post-selected due to weight-two errors.
Figures
Reference graph
Works this paper leans on
-
[1]
Montanaro, npj Quantum Information2, 15023 (2016)
A. Montanaro, npj Quantum Information2, 15023 (2016)
2016
-
[2]
Helios: A 98-qubit trapped-ion quan- tum computer,
A. Ransfordet al., “Helios: A 98-qubit trapped-ion quan- tum computer,” (2025), arXiv:2511.05465 [quant-ph]
Pith/arXiv arXiv 2025
-
[3]
Acharyaet al., Nature638, 920 (2025)
R. Acharyaet al., Nature638, 920 (2025)
2025
-
[4]
We note that, while more sophisticated approximations of logical error rates have recently become available [24], the crude model used above still suffices for qualitative analysis
-
[5]
Knill, Nature434, 39 (2005)
E. Knill, Nature434, 39 (2005)
2005
-
[6]
A. M. Steane, Phys. Rev. Lett.78, 2252 (1997)
1997
-
[7]
Goto, Scientific Reports6, 19578 (2016)
H. Goto, Scientific Reports6, 19578 (2016)
2016
-
[8]
Peham, L
T. Peham, L. Schmid, L. Berent, M. M¨ uller, and R. Wille, PRX Quantum6, 020330 (2025)
2025
-
[9]
Flag at origin: a mod- ular fault-tolerant preparation for css codes,
D. Forlivesi and D. Amaro, “Flag at origin: a mod- ular fault-tolerant preparation for css codes,” (2026), arXiv:2508.14200 [quant-ph]
arXiv 2026
-
[10]
Chao and B
R. Chao and B. W. Reichardt, npj Quantum Information 4, 42 (2018)
2018
-
[11]
Bacon, S
D. Bacon, S. T. Flammia, A. W. Harrow, and J. Shi, IEEE Transactions on Information Theory63, 2464 (2017)
2017
-
[12]
Schrijver,Theory of Linear and Integer programming (Wiley-Interscience, 1986)
A. Schrijver,Theory of Linear and Integer programming (Wiley-Interscience, 1986)
1986
-
[13]
Spacetime codes of clifford circuits,
N. Delfosse and A. Paetznick, “Spacetime codes of clifford circuits,” (2023), arXiv:2304.05943 [quant-ph]
Pith/arXiv arXiv 2023
-
[14]
Subroutines generatorGraph and expandBlobs are de- scribed in Section A
-
[15]
A cost function of the formA·weight(g) +Bwould be more appropriate for dissimilar rates
In the hardware we intend to use, SPAM and two-qubit operations have similar error rates. A cost function of the formA·weight(g) +Bwould be more appropriate for dissimilar rates
-
[16]
Fast stabilizer state preparation via ai-optimized graph decimation,
M. Doherty, M. Puviani, J. Brewer, G. Matos, D. Amaro, B. Criger, and D. T. Stephen, “Fast stabilizer state preparation via ai-optimized graph decimation,” (2026), arXiv:2603.17743 [quant-ph]
arXiv 2026
-
[17]
A. Paetznick, M. P. da Silva, C. Ryan-Anderson, J. M. Bello-Rivas, J. P. C. III, A. Chernoguzov, J. M. Dreil- ing, C. Foltz, F. Frachon, J. P. Gaebler, T. M. Gatter- man, L. Grans-Samuelsson, D. Gresh, D. Hayes, N. He- witt, C. Holliman, C. V. Horst, J. Johansen, D. Luc- chetti, Y. Matsuoka, M. Mills, S. A. Moses, B. Neyen- huis, A. Paz, J. Pino, P. Siegf...
Pith/arXiv arXiv 2024
-
[18]
Prabhu and B
P. Prabhu and B. W. Reichardt, Phys. Rev. A110, 012419 (2024)
2024
-
[19]
Simsek, Private communication (2026)
S. Simsek, Private communication (2026)
2026
-
[20]
Qubit-reuse compilation with mid-circuit measure- ment and reset,
M. DeCross, E. Chertkov, M. Kohagen, and M. Foss- Feig, “Qubit-reuse compilation with mid-circuit measure- ment and reset,” (2022), arXiv:2210.08039 [quant-ph]
Pith/arXiv arXiv 2022
-
[21]
Aliferis and B
P. Aliferis and B. M. Terhal, Quantum Info. Comput.7, 139–156 (2007)
2007
-
[22]
Huang and K
S. Huang and K. R. Brown, Phys. Rev. Lett.127, 090505 (2021)
2021
-
[23]
N. P. Breuckmann and S. Burton, Quantum8, 1372 (2024)
2024
-
[24]
M. E. Beverland, M. Carroll, A. W. Cross, and T. J. Yoder, (2025), arXiv:2511.15177 [quant-ph]
arXiv 2025
-
[25]
Lin and L
H.-K. Lin and L. P. Pryadko, Phys. Rev. A109, 022407 (2024)
2024
-
[26]
QEC database,
S. Burton and Others, “QEC database,”https://qecdb. org/codes/, accessed May 20, 2026. Appendix A: Subroutines Algorithm 2:generatorGraph: constructing a graph from gauge group generators, to be used to generate low-weight products input :gens output:genGraph nGens= length(gens); genGraph= newGraph(nGens); foruIndex∈[1. . .nGens−1]do forvIndex∈[uIndex+ 1....
2026
-
[27]
Two-Block Group Algebra Codes TheJ24,10,4K,J24,4,5K, andJ42,10,6Kcodes stud- ied are two-block group algebra codes [25], also available atqecdb.org[26]: SJ24,10,4K =⟨X 1X3X6X8X13X17X18X23, X2X4X5X11X14X18X20X23, X3X7X10X11X15X18X22X24, X4X6X9X12X16X22X23X24, X2X3X5X6X13X15X16X17, X4X6X7X10X15X18X19X21, X1X5X7X12X13X14X19X22, Z1Z5Z7Z9Z13Z19Z20Z22, Z2Z7Z8Z9...
This paper was first reviewed by deepseek-v4-flash on August 1, 2026.
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.