Abstract
Fault-tolerant quantum computing (FTQC) is essential for executing reliable quantum computations of meaningful scale. Widely adopted QEC codes for FTQC, such as the surface code and color codes, utilize Clifford+T gate sets, where T gates are generally considered as the primary bottleneck due to their high resource costs. Recent advances in T gate optimization have significantly reduced this overhead, making Clifford gate complexity an increasingly critical bottleneck that remains largely unaddressed in present FTQC compiler and architecture designs. To address this new bottleneck, this paper introduces TACO, a Transpiler-Architecture Codesign Optimization framework, to reduce Clifford cost. Specifically, we observe that, through codesign, insights rooted in the FTQC architecture can inform novel circuit-level optimizations for FTQC compilers. These optimizations, in turn, provide new opportunities to redesign and improve the underlying architecture. Evaluations show that TACO achieves an average 91.7% reduction in Clifford gates across diverse quantum circuits and significantly enhances gate parallelism compared to Pauli-based approaches. These improvements enable an efficient FTQC architecture that can achieve single-gate-per-cycle throughput using only $1.5n+4$ logical qubit tiles, considerably pushing forward upon previously proposed designs that require $2n+\sqrt{8n}+1$ tiles. These results highlight the benefits of bidirectional optimization through codesign. TACO will be open-source.
Introduction
In the quest for reliable quantum computers, researchers use Quantum Error Correction (QEC), like the surface code, to create "logical qubits" from many noisy physical ones. These systems typically use a Clifford+T gate set. Historically, the T gate was the primary bottleneck because it requires a resource-heavy process called "magic state distillation." However, as T-gate optimizations have improved, a new bottleneck has emerged: Clifford gates (like Hadamard, Phase, and CNOT). These gates now make up about 60% of a typical circuit's operations and contribute significantly to the total execution time.
Current compilers, often designed for the NISQ era, can exacerbate this issue by assuming rotations are "free" and CNOTs are expensive—the exact opposite of the cost structure in a fault-tolerant system. Furthermore, existing methods to eliminate Clifford gates, like Pauli-Based Computation (PBC), often destroy gate parallelism, leading to slow execution.
The TACO Framework
The authors introduce TACO, which uses a bidirectional "cross-stack" approach to address these challenges.
TACO's methodology consists of three primary pillars:
- Clifford Reduction: TACO uses the Matsumoto-Amano (MA) Normal Form to simplify circuits. It "virtualizes" Phase (S) gates by converting them into T-type rotations and Pauli-Z gates. It then commutes all Pauli gates to the end of the circuit and eliminates Hadamard (H) gates by replacing them with $RX(\pi/4)$ rotations.
- FTQC-Oriented Transpiler: Unlike standard compilers that minimize two-qubit gates, TACO’s transpiler prioritizes reducing the number of RZ rotations, which are the true "cost centers" in FTQC because they decompose into many T gates.
- Architecture Codesign: The authors observed that their optimized circuits exhibit high locality (many rotations applied sequentially to the same qubit). They designed a hardware layout with two specialized zones: a high-throughput Compute Block for localized rotation sequences and a compact Memory Block for idle qubits using a highly efficient $1.5n$ tile layout.
Key Insights and Results
TACO shifts the optimization focus to Clifford gates, treating their reduction as a first-class goal. By recognizing that hardware can implement $RX(\pi/4)$ rotations as easily as standard T gates, TACO eliminates the Hadamard gates that typically clutter circuits.
The framework was evaluated using a diverse set of benchmarks from QASMBench, ranging from 9 to 341 logical qubits. Key results include:
- Gate Reduction: An average 91.7% reduction in Clifford gates, with up to a 31x reduction for QFT.
- Transpilation Efficiency: A 1.37x reduction in RZ gates compared to standard NISQ transpilers like Qiskit.
- Execution Speedup: Total execution time improved by 2.3x to 2.6x across all benchmarks.
- Improved Parallelism: TACO maintains high parallelism; for an 18-qubit QFT circuit, it reached a peak parallelism of 17 gates per step, compared to just 5 for Pauli-based methods.
- Space Savings: The co-designed architecture requires only $1.5n + 4$ logical qubit tiles, a significant improvement over previous state-of-the-art designs.
Conclusion
TACO demonstrates that bidirectional optimization through software-hardware codesign can significantly reduce the overhead of fault-tolerant quantum computing. By addressing the emerging Clifford gate bottleneck, TACO achieves substantial improvements in both execution speed and hardware efficiency. Future work will involve open-sourcing the framework and exploring multi-qubit gate optimizations for various QEC codes.
Summary updated