MCP
arXivarXiv
Preprint
Published: December 3, 2026
quant-ph

Modeling the Classical Side of Fault Tolerance: Compilation and Cycle-Level Simulation for FTQC

1*1221
1 University of Michigan
2 Sygaldry Technologies, Inc.
* Corresponding authors
Abstract
Fault-tolerant quantum computing (FTQC) requires fine-grained interaction between a classical host CPU and quantum controller to orchestrate real-time execution of complex programs over hundreds of thousands of qubits. In this regime, compilers and resource estimators have proven critical for uncovering optimizations and quantifying program execution costs. However, prior compilers focus on circuit optimization and scheduling, while it is unclear how best to lower circuits into an FTQC-tailored instruction set used by the classical host to drive execution on the quantum controller. Similarly, quantum resource estimation hinges on broad assumptions about logical cycle times without modeling the classical compute needed to meet these cycle times. To address these gaps, we introduce an open-source, end-to-end framework for compiling and simulating FTQC program execution. Our framework takes physical circuits describing fault-tolerant logical primitives and uses an LLVM-based compiler to lower them into executable RISC-V assembly with vector quantum instructions that directly encode the SIMD structure of FTQC primitives. Over several optimization passes, our compiler reduces program size up to 41×\times relative to a scalar ISA encoding. Our simulator extends gem5's RISC-V CPU model and adds a parameterized quantum controller model to simulate the new quantum instructions and fine-grained host-controller interactions cycle by cycle. We perform extensive design space explorations (DSEs) over >>30,000 simulations, reducing our vector architecture's execution time up to 5.47×\times via iterative fine-tuning. The vector architecture speeds up execution by up to 128×\times relative to a DSE-optimized scalar baseline. Overall, our framework enables low-cost DSE and compiler-architecture co-design, while our results position vectorization as a powerful enabler of scalable FTQC execution.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first