Abstract
The realization of fault-tolerant quantum computing (FTQC) relies on the efficient execution of logical operations within error-correcting codes. This paper presents a scalable scheduling framework for multi-qubit lattice surgery, the primary method for performing gates on surface codes. By transpiling circuits into long-range multi-qubit Pauli rotations and modeling their execution as a Steiner forest packing problem, we demonstrate significant improvements in resource efficiency. Our results show an 89% reduction in circuit length and an 84% reduction in total execution time compared to standard serial execution methods.
1. Introduction
As quantum hardware approaches the era of fault tolerance, the focus shifts from physical qubit counts to the efficient management of logical qubits. Topological quantum error-correcting codes, specifically the surface code, are leading candidates for protecting quantum information. In these architectures, logical gates are implemented via lattice surgery—a process where patches of qubits are merged and split using auxiliary "bus" qubits.
A significant bottleneck in this process is the Lattice Surgery Scheduling Problem (LSSP). While standard quantum circuits are composed of Clifford and T gates, they can be transpiled into sequences of multi-qubit Pauli rotations. These rotations are often non-local, involving qubits distributed across the chip. Conventional scheduling approaches often treat these operations serially, leading to prohibitive execution times. This work proposes a framework to parallelize these operations at scale, proving that non-local gates can be executed efficiently.
2. Methodology
The proposed framework addresses the LSSP through a multi-staged pipeline designed for high-throughput scheduling and resource optimization.
2.1 Efficient Transpilation
The first stage involves converting a Clifford + T circuit into a sequence of multi-qubit Pauli rotations. By utilizing a symplectic representation of Clifford gates, the framework commutes these gates out of the circuit. This transformation reduces the problem complexity from quadratic to linear time, enabling the processing of circuits with millions of gates—a prerequisite for practical FTQC applications.
2.2 Dependency Graph Generation
To identify parallelization opportunities, the framework constructs a dependency graph. Two rules were evaluated for determining gate concurrency:
- General Rule: A comprehensive check of all commutation relations between gates.
- Trivial Rule: A simplified approach that allows parallelization only if the sets of involved qubits are disjoint.
Surprisingly, the Trivial rule was found to be much faster to compute while remaining nearly as effective as the General rule for large-scale circuits, making it the preferred choice for scaling.
2.3 Earliest-Available-First (EAF) Scheduling
The framework employs an EAF greedy policy. Gates are prioritized based on their position in the dependency graph and are scheduled as soon as the necessary logical qubits and bus resources (auxiliary qubits) become available.
2.4 Steiner Forest Packing
The core innovation lies in modeling multi-qubit gates as Steiner trees. A Steiner tree connects a set of "terminal" qubits using the minimum number of bus qubits on the hardware grid. Scheduling multiple gates simultaneously is thus transformed into a Steiner forest packing problem: the goal is to fit the maximum number of non-overlapping trees into the available hardware geometry at any given time step.
3. Experimental Evaluation
The framework was benchmarked using two distinct datasets to test both theoretical limits and practical applications:
- Synthetic Circuits: 135 randomly generated circuits with varying lengths (up to 30,000 gates) and qubit counts (up to 50) to evaluate the Steiner tree heuristics under different gate densities.
- Application Benchmarks: Hamiltonian simulation circuits for quantum chemistry (e.g., H₂, LiH, H₂O) and physics models (Heisenberg XYZ, Transverse-field Sherrington–Kirkpatrick). These benchmarks included massive circuits with over 1.5 million operations.
4. Results and Discussion
The integration of transpilation and parallel Steiner forest scheduling yielded substantial performance gains across all tested benchmarks:
- Circuit Compression: Transpilation reduced the circuit length by approximately 89% for Hamiltonian circuits. The reduction in gate count from transpilation far outweighs the perceived difficulty of scheduling the resulting non-local gates.
- Temporal Efficiency: The combined approach achieved an 84% reduction in the expected number of logical cycles compared to pre-transpiled baselines.
- Throughput: The scheduler demonstrated a processing rate of approximately 20,000 operations per second on standard hardware, allowing million-gate algorithms to be scheduled in minutes to hours.
- Parallelization Gain: Parallel scheduling improved execution times by nearly 30% over the serial execution of the same transpiled gates.
5. Conclusion and Future Work
This work demonstrates that the perceived difficulty of scheduling non-local multi-qubit gates in lattice surgery is manageable through efficient mathematical modeling. By treating the problem as a Steiner forest packing task, we can significantly reduce the space-time volume of quantum algorithms.
Future research will focus on several key areas:
- Layout Constraints: Adjusting heuristics for different hardware architectures beyond the central-zone bus layout.
- Qubit Placement: Integrating the mapping of logical qubits to physical patches directly into the scheduler to further minimize Steiner tree lengths.
- Alternative Codes: Adapting the Steiner tree approach for other 2D topological codes, such as color codes, which possess different connectivity requirements.
Summary updated