High-Performance Exact Synthesis of Two-Qubit Quantum Circuits
Andrew N. Glaudell, Michael Jarret, Swan Klein, Samuel S. Mendelson, T. C. Mooney, Mingzhen Tian
TL;DR
The paper tackles the intractable problem of exact two-qubit Clifford+$T$ synthesis by constructing a pay-once, query-for-life database of $T$-optimal circuits. It combines bounded exhaustive enumeration with a canonicalization scheme in an $ ext{SO}(6)$ representation and a meet-in-the-middle strategy to produce provably minimal $T$-count results, then implements a high-performance, HPC-aware engine that uses problem-specific arithmetic and parallelization. Key contributions include correctness-proven pruning rules, a compact involutive generating set for representatives, and a highly optimized inner kernel that replaces generic linear algebra with constant-time, gate-set-aware operations. The resulting LUT and synthesis engine offer a practical backend for compilers, enabling fast lookup-based optimization and serving as ground truth for evaluating heuristic methods, with potential extensions to larger gate sets and alternative cost metrics through the same outer enumeration–inner arithmetic framework.
Abstract
Exact synthesis provides unconditional optimality and canonical structure, but is often limited to small, carefully scoped regimes. We present an exact synthesis framework for two-qubit circuits over the Clifford+$T$ gate set that optimizes $T$-count exactly. Our approach exhausts a bounded search space, exploits algebraic canonicalization to avoid redundancy, and constructs a lookup table of optimal implementations that turns synthesis into a query. Algorithmically, we combine meet-in-the-middle ideas with provable pruning rules and problem-specific arithmetic designed for modern hardware. The result is an exact, reusable synthesis engine with substantially improved practical performance.
