Optimized Compilation of Logical Clifford Circuits
Alexander Popov, Nico Meyer, Daniel D. Scherer, Guido Dietl
TL;DR
The paper addresses the high resource cost of gate-by-gate logical Clifford compilation in fault-tolerant quantum computing by introducing a peephole optimization framework that mines small instances of Clifford circuits on the $[[n,n-2,2]]$ code to derive depth-optimized primitives and closed-form strategies. It validates these primitives through noisy simulations, showing reductions in depth and higher logical success rates, and introduces three size-invariant strategies that adapt to sparse, moderate, and dense Hadamard placements, with edge regimes demonstrating the largest gains. The combination of LCS/SAS-derived primitives with scalable templates provides a compact, extensible tool for peephole-based Clifford compilation that scales to larger systems and other code families. While the method focuses on Clifford subcircuits within the $[[n,n-2,2]]$ code family and does not enforce full fault tolerance, its modular design invites extensions to higher-distance codes, broader Clifford subroutines, and limited non-Clifford integration.
Abstract
Fault-tolerant quantum computing hinges on efficient logical compilation, in particular, translating high-level circuits into code-compatible implementations. Gate-by-gate compilation often yields deep circuits, requiring significant overhead to ensure fault-tolerance. As an alternative, we investigate the compilation of primitives from quantum simulation as single blocks. We focus our study on the [[n,n-2,2]] code family, which allows for the exhaustive comparison of potential compilation primitives on small circuit instances. Based upon that, we then introduce a methodology that lifts these primitives into size-invariant, depth-efficient compilation strategies. This recovers known methods for circuits with moderate Hadamard counts and yields improved realizations for sparse and dense placements. Simulations show significant error-rate reductions in the compiled circuits. We envision the approach as a core component of peephole-based compilers. Its flexibility and low hand-crafting burden make it readily extensible to other circuit structures and code families.
