Skip to content
Open access

Synthesis of Compact and Expressive Quantum-Circuit Optimizations

Sep 2026 · Proceedings of the ACM on Programming Languages · Vol 10, pp. 91 - 118 · 0 citations · 43 references
Computer Science

TL;DR

QSymb, a framework for synthesizing compact and expressive quantum-circuit rewrite rules with formal guarantees, formalizes symbolic rewrite rules in which a symbolic gate represents infinitely many subcircuits and presents rule anchoring to derive optimization-effective rules from canonical symbolic rules.

Abstract

Today’s quantum devices are noisy, so reducing circuit size is critical for reliable execution. Existing rule-based optimizers often rely on large rule sets that are difficult to manage and still miss long-distance transformations. We present QSymb, a framework for synthesizing compact and expressive quantum-circuit rewrite rules with formal guarantees. We formalize symbolic rewrite rules in which a symbolic gate represents infinitely many subcircuits. We then define canonical symbolic rules of the form L;S = S;R and prove that they constitute a compact generative core from which general symbolic rules can be derived. On top of this formal foundation, given a gate set, QSymb synthesizes (1) a small, non-derivable concrete rule set that is complete up to chosen size and qubit bounds, and (2) a small but expressive canonical symbolic rule set that captures transformations beyond finite or monomial-only patterns. We further present rule anchoring to derive optimization-effective rules from canonical symbolic rules. Together, these results provide both expressiveness and guarantees: soundness of synthesized rules via validation, non-derivability, and bounded completeness. On the IBM-Eagle gate set, QSymb strictly outperforms state-of-the-art rewrite-based optimizers (Qiskit, Guoq, Quartz, TKET, and Queso) in two-qubit-gate reduction on 90%, 67%, 82%, 85%, and 83% of standard quantum algorithm benchmarks, respectively; on Nam gate set, the corresponding rates are 88%, 74%, 81%, 86%, and 82.9%. It achieves final average two-qubit-gate reductions of 27.44% and 29.95%, respectively.

Read PDF

Similar papers

Preprint Aug 2026

Factorized Boolean representations for efficient quantum synthesis

Here it is shown that minimized expressions retain algebraic structure minimization cannot reach, arising from containment and complementary-polarity relationships among their terms, and that extracting it yields circuits cheaper to execute despite having more operations.

Mehul A. Shah, Robert Fiszer, M. Perkowski · 0 citations
Preprint Aug 2026

Numerical Evaluation of ZX Calculus Optimization for Solovay Kitaev Quantum Circuit Synthesis

A measurement of what diagrammatic post-processing recovers from structural redundancy in the Solovay-Kitaev algorithm, which optimizes for numerical convergence rather than circuit economy, and its output carries structural redundancy that a gate-level compiler cannot see.

Dulari De Silva, A. Mahasinghe, Chon-Fai Kam et al. · 0 citations
Preprint Aug 2026

Completeness for flow-preserving rewrite rules

Complete sets of graphical rewrite rules enable fully graphical reasoning about quantum computations and have been an area of active research for more than a decade. Many recent applications of the ZX-calculus have made use of the close correspondence between ZX-diagrams and computations in the one-way model of measure...

Miriam Backens, S. Perdrix · 3 citations
Preprint Sep 2026

A Dynamic Intermediate Representation for Hybrid Quantum-Classical Programs

Quantum compilers typically follow the circuit model, representing programs as fixed sequences of gates. This static view breaks down in hybrid quantum-classical applications, where gate choices depend on runtime data or measurement results. We introduce a new Intermediate Representation (IR) that elevates gates to fir...

Alex Rice, C. Heunen, T. Grosser · 0 citations
Preprint Sep 2026

QaiJi IR: An Eight-Layer Intermediate Representation Family for Hybrid Quantum-Classical Compilation

Hybrid quantum-classical compilers exchange programs among circuit, control-flow, pulse, device, and physical representations. Existing formats make different abstraction choices, so the properties that must survive a lowering step are often enforced by tool-specific code rather than stated in a common intermediate rep...

Jun Ye · 0 citations
Preprint Sep 2026

Why Are We Unrolling? The Importance of Structured Quantum Programs for Compilation

This work presents important patterns and algorithms from fault-tolerant quantum applications which admit a structured representation that it is argued is crucial to preserve, and sets a challenge to the community to compile such representations without unrolling them into straight-line quantum circuits.

Damian Rovara, Daniel Haag, Mark Koch et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.