PropHunt: Optimizing Syndrome Measurement Circuits
- PropHunt is an automated tool for optimizing syndrome measurement circuits in CSS stabilizer codes to minimize logical error rates in fault-tolerant quantum computing.
- It models gate-level error propagation deterministically and uses a MaxSAT-based algorithm to eliminate ambiguous error patterns through local circuit transformations.
- The approach achieves 2.5–4× logical error rate reductions with minimal circuit depth increase and enables fine-grained Zero-Noise Extrapolation via the Hook-ZNE method.
PropHunt is an automated tool for optimizing Syndrome Measurement (SM) circuits associated with Calderbank-Shor-Steane (CSS) stabilizer codes in fault-tolerant quantum computing (FTQC). It addresses the problem of minimizing logical error rates in quantum error correction (QEC) by directly modeling gate-level error propagation, a task not handled by standard NISQ-era circuit optimization tools, and provides automated transformations capable of bridging the gap between theoretical code performance and its physical realization. PropHunt also introduces applications to fine-grained error mitigation such as Hook-ZNE, delivering new approaches to Zero-Noise Extrapolation (ZNE) by enabling the generation of SM circuits at intermediate logical error rates (Viszlai et al., 24 Jan 2026).
1. Problem Statement and Motivation
FTQC architectures depend critically on the performance of QEC codes, which require repeated application of SM circuits to extract syndrome information. An CSS stabilizer code, characterized by -type and -type parity-check matrices and logical operators , is mapped to a syndrome measurement circuit composed of sequences of CNOT and single-qubit prep/measure gates that implement parity checks.
In the circuit-level Pauli noise model, each physical gate may introduce errors; the way these errors propagate through determines the distinguishability of different error patterns. The logical error rate reflects the probability that the decoder produces the incorrect logical outcome given a physical error rate . PropHunt seeks SM circuits that (approximately) minimize subject to circuit-level constraints.
Standard NISQ-era optimization tools, which prioritize gate count or depth, are inadequate for SM circuits where the critical factor is how errors propagate and possibly become ambiguous, directly affecting logical error rates by creating fault patterns that cannot be uniquely decoded (Viszlai et al., 24 Jan 2026).
2. Circuit-Level Error Propagation and Modeling
PropHunt utilizes a standard Pauli-error model where:
- Each single-qubit gate is followed by an , , or error with probability .
- Each two-qubit gate (e.g., CNOT) is followed by a non-identity Pauli error on the two qubits with probability .
Error propagation is tracked deterministically: For each gate, PropHunt simulates the effect of a single Pauli fault, propagates it, and records which syndrome bits () and logical observables () are flipped, yielding matrices and , with the total number of gates.
Ambiguous pairs , where but , drive logical failures. Under the independent fault assumption, the probability of a particular fault pattern is .
3. Optimization Objective and Iterative Algorithm
PropHunt’s primary optimization objective is the minimization of , with circuit depth as a secondary criterion: Rather than simulating the full logical error at each step, PropHunt employs ambiguity elimination within the decoding graph as a proxy.
Search Algorithm Overview
The optimization proceeds iteratively:
- Build or update the decoding graph from the current and .
- Sample small, connected subgraphs to find ambiguous logical-error patterns.
- For each ambiguous subgraph, solve a MaxSAT instance to find a minimum-weight ambiguous fault.
- Enumerate local circuit transformations (CNOT reorderings/reschedulings) that would resolve the ambiguity.
- Select and apply the most effective transformation that preserves commutation and minimizes circuit depth.
Core Pseudocode
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
Input: initial SM circuit C₀, iterations T, samples per iter S C ← C₀ for t in 1…T do G ← build_decoding_graph(H(C), L(C)) BestMove ← none, BestDepth ← ∞ for s in 1…S do subgraph ← sample_connected_subgraph(G) if ambiguous(subgraph): e⋆ ← solve_MinWeightLogicalError(subgraph) # MaxSAT candidates ← enumerate_moves(C, e⋆) for move in candidates: if valid(move,C) and removes_ambiguity(move,subgraph): d ← depth(apply(C,move)) if d < BestDepth: BestMove ← move BestDepth ← d if BestMove ≠ none: C ← apply(C, BestMove) else: break return C |
4. Local Circuit Transformations
PropHunt supports two key classes of transformations:
- Reordering (Within One Stabilizer):
For a stabilizer ancilla interacting with data qubits via CNOTs, the ordering of these gates can be permuted. For , swapping positions of CNOTs can adjust the overlap of hook-errors with logical operators.
- Rescheduling (Between Two Stabilizers):
When ancillas both couple to the same data qubit , the order of CNOTs can be altered. If (-type) and (-type) need to swap CNOTs on , one additional shared qubit must also be rescheduled to maintain overall stabilizer commutativity.
Both moves are local, affect gates, and are verified rapidly for ambiguity elimination in the decoding graph.
5. Benchmarking and Performance Analysis
PropHunt is evaluated across a range of code families:
- Surface codes: distances
- Lifted-Product (LP) codes: ,
- Random-Quantum-Tanner (RQT) codes: ,
Compared to baseline “coloration” circuits (as in Tremblay et al. 2022) at a gate error rate , PropHunt achieves:
- Reductions in logical error rate by $2.5$– for LP and RQT codes.
- Automatic recovery of hand-tuned surface code scheduling, matching effective code distance ().
- Circuit depth increases of at most in the worst case, with this overhead often being acceptable in measurement-limited hardware scenarios.
MaxSAT bottlenecks are alleviated by restricting to subgraph-based sampling: global MaxSAT over may involve tens of thousands of variables, but subgraph-based MaxSAT instances only scale as and solve in $1$–$2$ seconds per core.
| Code Family | Baseline Logical Error Rate | PropHunt Logical Error Reduction | Max Depth Increase |
|---|---|---|---|
| LP, RQT codes | (baseline) | $2.5$– | |
| Surface codes | Minimal |
6. Fine-Grained Zero-Noise Extrapolation via Hook-ZNE
PropHunt enables a new approach to ZNE, termed Hook-ZNE. Traditional ZNE strategies in QEC involve circuit folding, distance scaling, or hardware-specific tuning, each with coarse or hardware-limited control over logical error rates. In contrast, PropHunt produces SM circuits with a continuous range of logical error rates at fixed code distance by controlling the degree to which ambiguities are eliminated.
The suppression factor is: By only partially resolving ambiguities, effective code distance can be tuned fractionally: for , with corresponding logical error .
Hook-ZNE runs logical measurements at a set of , fits to a model, and extrapolates to . This approach produces lower -bias in observable estimation under the same resource budget compared to distance-scaling ZNE, due to fine-grained logical error tuning that avoids exposing the decoder to high-variance, low-distance regimes.
7. Limitations and Prospects for Extension
PropHunt is limited to CSS stabilizer codes; generalization to non-CSS or subsystem codes would require extensions to the move set and more comprehensive commutation-preservation checks. The noise model is assumed to be standard independent Pauli depolarizing; correlated or coherent noise scenarios may necessitate enhanced ambiguity analysis. The algorithm, as formulated, does not introduce flag ancillas or extra helper qubits, which may remain necessary for some codes to maintain full distance.
Potential extensions include:
- Generalizing to non-CSS or subsystem codes.
- Incorporating flag-ancilla moves to enhance for certain codes.
- Integrating with hardware-aware compilers to ensure compliance with specific connectivity and timing constraints.
- Joint optimization of SM circuits with higher-level logical protocols, such as interleaved -gate distillation, to further minimize overall resource requirements.
PropHunt presents the first general-purpose automated approach specifically designed to optimize logical performance of CSS SM circuits at the gate level, demonstrating effectiveness across surface, LP, and RQT codes, and providing a foundation for advanced error mitigation strategies such as Hook-ZNE (Viszlai et al., 24 Jan 2026).