Skip to content
DraconiticResearch
Search Sources API
276,906 studies31 sourcesUpdated 38 min ago
PreprintarXiv licencearXiv

Reducing RSA-2048 Factoring Resources Below One Billion Toffolis via LLM-Driven Verifiable Quantum Compilation

Abstract

Modular exponentiation dominates the logical cost of factoring 2048-bit RSA integers (RSA-2048) with Shor's algorithm. Recent approaches based on approximate residue number systems (RNS) sharply reduce the required logical qubits, yet still demand billions of Toffoli gates. Optimizing these circuits is difficult because shared ancilla qubits and measurement-based uncomputation tightly couple the arithmetic stages, while rare overflows in compressed registers occur too infrequently for random simulation to detect. Here we use large language model (LLM)-driven search to redesign the RNS pipeline across stages and build a deterministic compiler that produces a Pareto frontier of RSA-2048 circuits. We bound rare overflow probabilities analytically and verify the resulting elementary gate sequences across all constituent RNS primes on representative circuits. Relative to Gidney's 2025 baseline under matched adder accounting, our frontier cuts the minimum qubit-Toffoli product by 70.1% and lowers expected factoring Toffolis by up to 78.6% at matched accumulator precision, bringing RSA-2048 factoring below one billion Toffolis for the first time.

Related

  1. Reducing quantum error mitigation bias using verifiable benchmark circuits
    Joseph Harris, Kevin Lively, Peter K. Schuhmacher
    Physical Review ResearchPeer-reviewedCC BY 4.0Atomic, molecular & optical physicsCrossref
  2. Reducing quantum and classical resources for quantum-centric supercomputing workloads on near-term hardware
    Maxence Grandadam, Vladyslav Bohun, Dikshant Dulal +1
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  3. The Quantum Euclid Algorithm and its Application to Factoring
    Asma Al-Qasimi, Daniel F. V. James
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
  4. The quantum Euclid algorithm and its application to factoring.
    Asma Al-Qasimi, Daniel F V James
    EPJ quantum technologyPeer-reviewedCC BYFull textQuantum physics & quantum informationEurope PMCPMC
  5. A Sharp Noise Threshold for Shor's Quantum Factoring and Discrete Log Algorithms
    Jin-Yi Cai, Ben Young
    arXivPreprintarXiv licenceFull textQuantum physics & quantum informationarXiv
BibTeX
@misc{li2026reducing,
  title = {{Reducing RSA-2048 Factoring Resources Below One Billion Toffolis via LLM-Driven Verifiable Quantum Compilation}},
  author = {Xiaodi Li and Yuqing Wang and Xue Chen and Yang-Yang Tang and Linghui Chen and Tao Zhang},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.31158},
  eprint = {2611.31158},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31158},
}
RIS
TY  - UNPB
TI  - Reducing RSA-2048 Factoring Resources Below One Billion Toffolis via LLM-Driven Verifiable Quantum Compilation
AU  - Xiaodi Li
AU  - Yuqing Wang
AU  - Xue Chen
AU  - Yang-Yang Tang
AU  - Linghui Chen
AU  - Tao Zhang
PY  - 2026
DA  - 2026/11/23
PB  - arXiv
DO  - 10.48550/arxiv.2611.31158
UR  - https://arxiv.org/abs/2611.31158
AB  - Modular exponentiation dominates the logical cost of factoring 2048-bit RSA integers (RSA-2048) with Shor's algorithm. Recent approaches based on approximate residue number systems (RNS) sharply reduce the required logical qubits, yet still demand billions of Toffoli gates. Optimizing these circuits is difficult because shared ancilla qubits and measurement-based uncomputation tightly couple the arithmetic stages, while rare overflows in compressed registers occur too infrequently for random simulation to detect. Here we use large language model (LLM)-driven search to redesign the RNS pipeline across stages and build a deterministic compiler that produces a Pareto frontier of RSA-2048 circuits. We bound rare overflow probabilities analytically and verify the resulting elementary gate sequences across all constituent RNS primes on representative circuits. Relative to Gidney's 2025 baseline under matched adder accounting, our frontier cuts the minimum qubit-Toffoli product by 70.1% and lowers expected factoring Toffolis by up to 78.6% at matched accumulator precision, bringing RSA-2048 factoring below one billion Toffolis for the first time.
ER  -