TRANSMISSION // 2612.03441v1
Quantum compilers get a whole-program rethink
Source published
A categorical framework coordinates quantum-program compilation across stages, with reported gains in hardware use and task performance across simulations and selected hardware tests.

A compiler’s early choices can constrain what is possible later in a quantum program. A new preprint describes a framework that represents the whole workflow as connected, typed stages, then searches for rewrites that preserve the task while improving the complete program’s physical costs.
Quantum programs do not run directly from an abstract algorithm. They must be translated into operations a particular device can perform, with choices about gates, qubit placement, routing and timing all affecting one another. A compiler that optimizes each step in isolation may miss improvements that become visible only when the steps are considered together.
In a preprint, Ximo Wang and colleagues propose a framework called a “categorical harness” to tackle that problem. Their central question is whether a compiler can optimize an entire quantum workflow—not just an individual circuit—while checking that changes preserve the requested computation.
Treating compilation as a connected workflow
The authors represent each stage, such as gate decomposition, routing, error correction or classical processing, as a map between interfaces that specify the quantum registers and classical information it receives and returns. These maps can be joined in sequence or arranged in parallel. In this picture, a full program is a diagram of connected operations rather than a list of independent compiler passes.
The harness searches for alternative ways to arrange or implement parts of that diagram. It checks candidate rewrites against a task contract: the observables, update rules, stopping conditions and acceptance requirements for the job. The paper describes verification in terms of preserving specified measurement probabilities through downstream operations, including relevant correlations with other registers. Hardware constraints then help determine which valid versions are executable and how they compare on measures such as operation count, depth, occupancy, time and output quality.
The approach was tested against existing “host” workflows across several settings. These included eleven neutral-atom compiler pipelines, quantum-memory and Steane-code examples, nine variational applications in chemistry, finance and materials, and experiments on a superconducting processor. The authors also examined circuits in a superconducting qutrit architecture. This is a varied evaluation, but it does not mean every task or hardware platform was tested in the same way: some results use simulations or reconstructed compiler workflows, while others involve hardware execution.
Reported improvements—and what they mean
Across 44 neutral-atom comparisons, the harness improved at least three of six reported metrics in every comparison. The paper reports lower native-operation counts in 40 comparisons, lower depth in 41, reduced physical occupancy in 25 and shorter host-defined execution time in 42. Task-specific fidelity improved in 41 comparisons, while acceptance increased in 36. These are counts of the study’s paired comparisons, not a guarantee that every metric improves for every program.
Some case studies illustrate how the gains arise. On a reconstructed neutral-atom quantum-memory schedule, the authors report a 10.25% reduction in completion time while preserving the specified syndrome checks. In a simulated Steane-code eigensolver, a selected strategy reduced reported complete-job time by 58.1% and peak atom occupancy from 14 to seven. The paper also describes a 14-atom verifier whose conditional logical readout error was lower than the host workflow’s in its model and sampling tests.
On the Haituo superconducting processor, the researchers compared two programs in four paired blocks. The gate-minimum strategy used 0.90 native gates per shot on average, versus 6.30 for the Qiskit LightCone program, and used no controlled-Z gates in that comparison. Its mean absolute terminal-energy error was reported as 0.05459, compared with 0.21924 for LightCone—a 75.1% reduction. That result comes from a small, specific experiment: four blocks, a particular four-spin task and a shared calibration window. It should not be read as a general performance guarantee for superconducting devices.
Evidence and limits
The results suggest that optimizing across compiler boundaries can expose useful options that local optimization might overlook. But the broad headline should be interpreted in light of how the evidence was produced. Some timings and fidelity estimates rely on registered hardware models, simulations or literature reconstructions, rather than direct runs on every target device. The paper’s own methods distinguish these sources, and the reported metrics depend on each task’s contract, cost model and feasible candidate set.
The authors say the framework can certify an optimum when its search covers the relevant candidates or valid bounds close the remaining search regions. That is a conditional claim: a certificate applies to the declared search domain and model, not to every conceivable program or real-world device behaviour. The paper also says its data and reproduction materials are available from the corresponding author on request, while compiler code is linked in the manuscript. Independent reproduction and broader testing would help establish how readily the approach transfers to new platforms and workloads.
This is an arXiv preprint, not a peer-reviewed journal publication. Its results are promising evidence for a whole-program approach to quantum compilation, but they do not establish that the harness will deliver the same gains across future hardware or large-scale fault-tolerant computers.
- quantum computing
- quantum compilation
- quantum algorithms
- neutral-atom computing
- superconducting qubits
- variational quantum algorithms
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
TopoLS explores new layouts for lattice surgery
Supporting evidence: Both papers report that semantics-preserving diagram-level compilation can lower modeled physical costs in evaluated cases: the origin reports reductions across neutral-atom pipelines and other benchmarks, while TopoLS reports lower lattice-surgery space–time volume than prior circuit-centric compilers. This supports only that bounded claim; the hardware models, cost metrics and benchmark populations differ, so the results are not a direct comparison.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.03441v1 — Original paper
Excerpt reference:
static/papers/2612.03441v1.md:145-302
Basis: Paper text
Source file SHA-256:d9ad65f523ab51cd82c5483c87835d794efc7ffb19844e6df8ead9742e6d3c732612.03441v1 — Original paper
Excerpt reference:
static/papers/2612.03441v1.md:103-144
Basis: Paper text
Source file SHA-256:d9ad65f523ab51cd82c5483c87835d794efc7ffb19844e6df8ead9742e6d3c732601.23109v3 — Original paper
Excerpt reference:
static/papers/2601.23109v3.md:13-56
Basis: Paper text
Source file SHA-256:3585142f84713b1bd6a4a6a1297cafeca6727368574a550810909c80656277d22601.23109v3 — Original paper
Excerpt reference:
static/papers/2601.23109v3.md:2493-2581
Basis: Paper text
Source file SHA-256:3585142f84713b1bd6a4a6a1297cafeca6727368574a550810909c80656277d2
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
Cqlib aims to connect quantum programs from code to hardware
Source published
Shared keywords: quantum algorithms, quantum compilation, quantum computing
Language model writes quantum circuit angles—but only when their meaning is clear
Source published
Shared keywords: quantum computing, variational quantum algorithms
When a quantum computer knows how long you ran
Source published
Shared keywords: quantum computing, variational quantum algorithms
Equivalent quantum circuits, different lab results
Source published
Shared keywords: quantum compilation, quantum computing
A better starting arrangement can cut quantum energy measurements
Source published
Shared keywords: quantum computing