arXiv:2610.24344quant-phOct 2026

Manuscript Offprint

arXiv:2610.24344

FTWeave: Composing Logical Execution, Real-Time Decoding, and Magic-State Supply in Tightly Integrated Quantum-Classical Systems

Panayiotis Christou, Shuwen Kan, Ying Mao

Panayiotis Christou

Department of Computer Science,

Fordham University

New York, USA

pc33@fordham.edu

Shuwen Kan

Department of Computer Science,

Fordham University

New York, USA

sk107@fordham.edu

Ying Mao

Department of Computer Science,

Fordham University

New York, USA

ymao41@fordham.edu

Abstract

Fault-tolerant quantum applications depend on both decoded measurement information and a continuing supply of magic states. While an operation waits for either, its logical data require protection that produces more syndrome data and decoding work. Architects must provision the quantum and classical parts of the machine together, before complete systems are available to measure.

FTWeave is a system-level simulator for this architectural exploration. It accepts OpenQASM 2/3 circuits, CUDA-Q Logical compiler artifacts, Stim circuits, and provider-derived physical inputs through adapters that preserve operation and measurement dependencies. Users bind these inputs to quantum resources, classical processors, memory, communication, and factory configurations. One event timeline determines application progress, resource ownership, and continuing protection. This supplies the system model needed to connect circuit and decoder evidence to application performance.

Controlled demand studies and complete multiplier and Ising circuits show why the coupling changes provisioning decisions. A fixed-work approximation predicts a 3.55×3.55\times multiplier speedup from additional factories where the coupled model gives almost none. Explicit ownership also changes useful capacity: increasing decoder workers alone has no benefit in a storage-constrained case, while increasing workers and feedback entries together gives 4.93×4.93\times speedup. Selected color and hypergraph-product code mappings take 53–90% longer under decoder service variability, despite an unchanged mean. These comparisons identify useful resource combinations and distinguish protection work from the elapsed lifetime of quantum data.

1 Introduction

A fault-tolerant quantum operation can be ready in the program and still wait for decoded measurement information or a suitable magic state. Its logical qubits remain protected throughout that wait. Repeated quantum error correction (QEC) produces syndrome data and decoding work, which compete with factory control and later operations for classical resources. An architectural delay therefore changes how much work the machine must perform as well as when the application finishes.

Consider a T operation whose required measurements have been decoded but whose factory output is unavailable. Faster decoding cannot release that operation. A second factory may shorten its wait, allow the program to finish earlier, and avoid protection work that would otherwise be necessary. Once state supply is sufficient, further factories may have no benefit. The useful upgrade depends on the application’s current information, material, and resource dependencies.

Architects must make these decisions before complete, tightly integrated fault-tolerant machines are available. Component measurements establish decoder service or factory outcomes at particular operating points. Circuit compilation supplies the operations and their dependencies. Predicting application completion also requires knowing when those operations become reachable, which resources they hold while waiting, and how much protection their waits generate. A system-level simulator can combine these inputs and test resource combinations while retaining the distinction between measured costs and architectural assumptions.

Stim simulates stabilizer circuits and produces samples and detector error models [15]. PyMatching decodes syndrome data using minimum-weight perfect matching [20]. CUDA-Q Logical compiles logical programs through QEC realizations to physical schedules and derives resource estimates from those compiler artifacts [26]. These tools provide circuit behavior, decoder implementations, and compiled structure. A system study must also determine how their work competes for finite resources over time. In particular, waiting for a decoder or a factory can prolong quantum protection and create work that a fixed circuit or service-cost total does not capture.

Building that study from component libraries requires a connecting model: when measurements become available, how requests acquire and release processors and storage, when feedback permits progress, and how factories replenish finite inventory. FTWeave supplies these execution rules in one simulator. An architect can bind a compiled workload and component profiles to a proposed machine, then vary its capacities and policies without implementing a separate scheduler and resource model for each study. The resulting question is concrete: can the application use additional factory or decoder capacity, and how much continuing protection does the resulting change in progress create or avoid?

The input interfaces connect existing workflows to this model. OpenQASM 2/3 and CUDA-Q Logical supply logical or lowered physical work, Stim supplies physical measurement dependencies, and provider bindings retain native operations, movement, and control decisions. Adapters bind that structure to recipes, profiles, and resources for application and physical-execution studies.

References (16)