REVIEW
Satisfying Quantum Codes: Physics-Informed and Hardware-Aware Code Design with SAT Solvers
Quantum Physics · Submitted 24 Aug 2026 · 76 references
Pith's verdict: A useful SAT-based code design framework with credible numerical results, but the NP-completeness proof has a repairable gap and one key figure is under-specified.
T0 · AI review
Why Pith says this
Highlight any text to comment on it.
Referee report
The paper
The paper claims
Quantum code design is NP-complete, yet a SAT-solver formulation makes it practical and finds surface codes that beat the XZZX code under biased noise.
The reading
What carries the argument
The load-bearing object is the binary symplectic representation of Pauli strings: each n-qubit Pauli operator becomes a 2n-bit vector, multiplication is XOR, and commutation is a bilinear form over F2. In the SAT encoding, the unknown stabilizer generators are variables in that space; pairwise commutation of generators becomes clauses forbidding non-zero inner products, detection of each error becomes a disjunction of syndrome bits, and membership of an error in the stabilizer group becomes an XOR-style linear-system condition with slack variables. A maximum-satisfiability variant with clause weights from the device error model implements hardware-aware design, and a locality constraint (identity on qubits outside a given graph face) restricts the search to surface-code-like codes.
Extended reading notes
Core claim
On the paper's own terms, the central claim is that the k-code-design decision problem—given candidate Pauli stabilizers, an error set, and a target number of logical qubits, does a valid error-detecting stabilizer code exist—is NP-complete, via a polynomial-time reduction from k-set cover. The accompanying practical claim is that this worst-case hardness does not bind in practice: by encoding the unknown stabilizer generators in binary symplectic form as Boolean variables, all code criteria (abelian group, error detection, group membership) become CNF clauses, and modern SAT solvers solve instances at 100-qubit scale. Applying that solver to the Fermi-Hubbard symmetries yields distance-2 and distance-3 extensions that improve error-detected expectation values, and applying it to surface-code locality produces a family of codes whose maximum-likelihood logical error rate is lower than the XZZX surface code in the biased-noise regime.
Load-bearing premise
The proof that code design is NP-complete rests on a padding step in which one extra bit per candidate stabilizer is claimed to make the candidate set linearly independent; if duplicate candidate stabilizers need more than one extra bit, or the padding breaks commutativity, the hardness result does not follow as written.
Editorial extensions
If this is right
- No polynomial-time algorithm can solve general quantum code design unless P = NP, so the search for better codes must rely on heuristics, specialized cases, or exact solvers with exponential worst case.
- SAT-based code discovery is practical at 100 physical qubits, reaching a parameter regime that prior automated code-design methods did not reach.
- Physics-inspired extensions raise the distance of symmetry-based detectors, improving error-mitigated expectation values with modest shot overhead.
- Hardware-aware surface codes found by the solver have lower logical error rate than the XZZX surface code under biased noise, giving a concrete path to better memories on bias-dominated devices.
- The empirical SAT–UNSAT transition predicts code existence in the region between the Gilbert-Varshamov and Singleton bounds, offering a runtime-based existence test for finite blocklengths.
Reading between the lines
- A direct, testable extension is to feed full measured device noise (including correlated or non-Pauli errors) into the max-SAT clause weights; the same search would then produce codes optimized for a specific machine, which the paper's simple bias model only approximates.
- Since the solver samples satisfying assignments, one could add a secondary objective inside or after the search—such as decoder-friendliness or logical-operator structure—to rank the many valid codes the current framework treats as equally good.
- The NP-completeness of the unconstrained problem suggests that constrained design goals the paper leaves open (e.g., prescribed logical operators or transversal gates) are at least as hard, so SAT-style search is likely the right tool there as well.
- The fitted critical-error scaling, if validated at larger n, could be used as a cheap pre-filter to decide whether to attempt a given [[n,k,d]] design before committing solver time.
Original abstract
Although quantum error correction is widely believed to be necessary for impactful applications of quantum computers, the design of quantum error correction codes is largely done by hand, without respect to problem or hardware constraints. In this work, we present a highly general and flexible framework for the computational design of both physics-inspired and hardware-aware quantum codes. To do so, we formulate code design as a Boolean satisfiability (SAT) problem and show how to incorporate all required error correction criteria. We prove that code design is NP-complete, ruling out any efficient algorithm for designing codes in general. Nonetheless, we show that state-of-the-art SAT solvers are able to effectively find solutions for many practical problems. Notably, we are able to design physics-inspired codes with up to 100 physical qubits in minutes, and we design new hardware-aware codes for biased noise which have a lower logical error rate than state-of-the-art surface codes.
The compiled record
The paper's own sentences, arranged, kept beside the review and separate from it. Each label is drawn from a closed vocabulary; the number beside it is the probability the classifier gave that label. Numbers in the tables are the authors', checked by code. No sentence in this record was written by a model.
The abstract, sentence by sentence
Although quantum error correction is widely believed to be necessary for impactful applications of quantum computers, the design of quantum error correction codes is largely done by hand, without respect to problem or hardware constraints. In this work, we present a highly general and flexible framework for the computational design of both physics-inspired and hardware-aware quantum codes. To do so, we formulate code design as a Boolean satisfiability (SAT) problem and show how to incorporate all required error correction criteria. We prove that code design is NP-complete, ruling out any efficient algorithm for designing codes in general. Nonetheless, we show that state-of-the-art SAT solvers are able to effectively find solutions for many practical problems. Notably, we are able to design physics-inspired codes with up to 100 physical qubits in minutes, and we design new hardware-aware codes for biased noise which have a lower logical error rate than state-of-the-art surface codes.
background contribution method result interpretation main claim
| # | sentence | role | the authors' own work | states the main conclusion | strength |
|---|---|---|---|---|---|
| s0 | Although quantum error correction is widely believed to be necessary for impactful applications of quantum computers, the design of quantum error correction codes is largely done by hand, without respect to problem or hardware constraints. | background 0.61 | 0.04 | 0.02 | asserted 0.71 |
| s1 | In this work, we present a highly general and flexible framework for the computational design of both physics-inspired and hardware-aware quantum codes. | contribution 1.00 | 0.89 | 0.11 | asserted 1.00 |
| s2 | To do so, we formulate code design as a Boolean satisfiability (SAT) problem and show how to incorporate all required error correction criteria. | method 0.98 | 0.94 | 0.07 | asserted 1.00 |
| s3 | We prove that code design is NP-complete, ruling out any efficient algorithm for designing codes in general. | result 0.68 | 0.90 | 0.13 | asserted 1.00 |
| s4 | Nonetheless, we show that state-of-the-art SAT solvers are able to effectively find solutions for many practical problems. | result 0.96 | 0.92 | 0.24 | asserted 1.00 |
| s5 | Notably, we are able to design physics-inspired codes with up to 100 physical qubits in minutes, and we design new hardware-aware codes for biased noise which have a lower logical error rate than state-of-the-art surface codes. | result 0.99 | 0.96 | 0.66 | asserted 1.00 |
What was examined, and what was not
- arXiv listing abstract v1
- full text
- figures and tables
- references and citing sentences
- relations to other papers
- P abstract
- S sections
- T body sentences
- C citations
- R cross-paper relations
Figures
Showing 13 of the paper's 15 figures. See all figures in the PDF ↗ Figures reproduced from arXiv:2608.23460 by the authors.
References
How the literature uses it
What this paper does with the arXiv papers it cites
What it cites · 11 sentences without a confident label
Builds on 1 paper
-
This can be seen as a generalization of quantum error detection/symmetry verification [ref] as we show how to iteratively build new codes to increase performance as measured by accuracy of computed expectation values.
Quantum Error Mitigation using Symmetry Expansion · Physics-Informed Code Design · 0.91
Compares with 1 paper
-
As a more direct comparison to Ref. [ref] , we also applied our code design formulation to the same $[[100,50,4]]$ code discovery problem, and found a satisfiable instance in under five minutes of CPU time compared to an hour in Ref. [ref] .
Game-Theoretic Discovery of Quantum Error-Correcting Codes Through Nash Equilibria · Physics-Informed Code Design · 1.00
Cites as background 4 papers
-
The quantum Gilbert–Varshamov (QGV) bound provides a sufficient condition for the existence of an $[[n,k,d]]$ stabilizer code [ref] [equation] while the quantum Singleton bound provides a necessary condition [ref] [equation] Thus, codes satisfying Eq. [ref] are guaranteed to exist, whereas codes violating Eq. [ref] cannot exist.
Nonbinary stabilizer codes over finite fields · Phase Transitions in the k-Code Design Problem · 0.85
-
Previously-studied approaches to designing quantum codes often employ heuristic search through the set of possible check matrices [ref] or the solution to difficult optimization problems such as game-theoretic methods [ref] , maximum clique cover [ref] , or the use of reinforcement learning to optimize a cost function [ref] .
Game-Theoretic Discovery of Quantum Error-Correcting Codes Through Nash Equilibria · Complexity of Quantum Code Design · 0.94
-
Future work in designing entanglement-assisted codes [ref] , subsystem codes [ref] , and non-abelian codes will likely lead to additional impact.
Correcting Quantum Errors with Entanglement · Conclusion · 0.86
Discussion
Disagree with the review, or know something it missed? Leave a comment, highlight any passage above to comment on it, or challenge this review formally.