TRANSMISSION // 2611.31158v1
A compiler search pushes RSA-2048 estimates below one billion Toffolis
Source published
An arXiv preprint reports an LLM-guided search and deterministic compiler for reducing estimated quantum-circuit costs for Shor’s RSA-2048 factoring algorithm. The results are circuit estimates, not a factoring demonstration.

A major cost in estimating Shor’s algorithm for factoring a 2048-bit RSA number is modular exponentiation. This preprint asks whether redesigning its arithmetic pipeline with help from large language models can reduce the circuit’s estimated gate count while supporting verification.
Making a costly quantum calculation cheaper
Shor’s algorithm is a quantum method for factoring integers. The paper focuses on modular exponentiation, which its authors identify as the dominant logical cost in a circuit for factoring a 2048-bit RSA number.
Earlier approaches based on approximate residue number systems (RNS)—representing numbers through their remainders under several moduli—can reduce the number of logical qubits required, according to the abstract. But those approaches still require billions of Toffoli gates. The authors describe why optimizing the arithmetic is challenging: stages share temporary, or “ancilla,” qubits and use measurement-based uncomputation. They also point to a testing difficulty: rare overflows in compressed registers may be too infrequent for random simulation to detect.
Searching and checking circuit designs
The authors say they used large language model (LLM)-driven search to redesign the RNS pipeline across stages. They combined that search with a deterministic compiler that produces a Pareto frontier of circuits: a collection of designs reflecting different resource outcomes.
To address the overflow concern, the abstract reports analytical bounds on rare-overflow probabilities. It also says the team verified the resulting elementary gate sequences across all constituent RNS primes on representative circuits. The abstract does not give details of the search procedure, the proofs, or the scope of those representative checks, so those methods cannot be assessed fully from the available description.
What the authors report
The authors compare their results with a 2025 baseline attributed to Gidney, using what they describe as matched adder accounting. They report that their frontier reduces the minimum qubit–Toffoli product by 70.1%. At matched accumulator precision, they report lowering expected factoring Toffolis by up to 78.6%. They say the resulting estimate brings RSA-2048 factoring below one billion Toffolis.
These figures describe resource estimates for circuits; they are not evidence that a quantum computer has factored an RSA-2048 number. The abstract reports logical-circuit metrics, but does not quantify the physical resources or runtime of a machine implementing the computation.
What the evidence leaves open
This account is based on the paper’s abstract, rather than a detailed examination of its full methods. The abstract provides the headline results and a summary of the approach, but not enough information to independently evaluate the circuit constructions, overflow bounds, verification procedures, or comparison accounting. The percentages and sub-billion figure should therefore be understood as the authors’ reported findings.
The source is an arXiv preprint. The evidence available here does not establish its review status. Further assessment would require examining the full paper and its assumptions. As described in the abstract, the work proposes a compiler and search strategy for lowering estimated circuit costs; it does not demonstrate that RSA-2048 is within reach of existing quantum computers.
- quantum computing
- RSA-2048
- Shor’s algorithm
- quantum compilation
- Toffoli gates
- large language models
- residue number systems
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
A smarter way to split fermion simulations across quantum processors
Source published
Shared keywords: quantum compilation, quantum computing
A quantum compiler that keeps error correction in view
Source published
Shared keywords: quantum compilation
Cqlib aims to connect quantum programs from code to hardware
Source published
Shared keywords: quantum compilation, quantum computing
A hardware-aware route to logical quantum gates
Source published
Shared keywords: quantum compilation, quantum computing
A proposed route for moving Ethereum beyond vulnerable keys
Source published
Shared keywords: quantum computing