Shared Lookups and Lazy Residues: Fewer Toffoli Gates for Factoring RSA-2048
Monit Sharma, Hoong Chuin Lau
Key points
From the paper's conclusion- We prove output preservation and estimate resources with an open benchmark built on the reference simulator.
Abstract
Gidney's 2025 construction for factoring RSA-2048 with few logical qubits spends most of its Toffoli gates on discrete-log table lookups and residue uncomputation. We reduce both costs. Shared lookups return entries for several primes of a residue number system at once because they have the same address. Retained intermediate residues remove recomputation during cleanup and enable lazy arithmetic with a single final modular reduction. We prove output preservation and estimate resources with an open benchmark built on the reference simulator. Against the best reference setting within the same logical-qubit budget, using the published model for the reference and benchmark counts for our circuits, we obtain $15\%$ fewer Toffolis at $1{,}461$ qubits ($5.08 \times 10^{9}$ per factoring) and $46\%$ fewer at $1{,}806$ qubits ($2.55 \times 10^{9}$). A matched ablation finds $28.8\%$ fewer Toffolis from three-prime sharing at fixed window and checkpoint settings. Architecture-specific timing determines how much becomes a runtime saving.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Reducing RSA-2048 Factoring Resources Below One Billion Toffolis via LLM-Driven Verifiable Quantum CompilationarXiv · 2026
- Unconditional correctness of recent quantum algorithms for factoring and computing discrete logarithmsForum of Mathematics Pi · 2026
- Discovering state-of-the-art quantum circuits with large language modelsarXiv · 2026
- Formally verified harness for Shor's order finding algorithm with $O(n^{2+\epsilon})$ gate costarXiv · 2026
- Improved Quantum Algorithms for Black-Box Abelian Group DecompositionarXiv · 2026
- Efficient Record-and-Replay Arithmetic for Quantum Elliptic-Curve Point AdditionarXiv · 2026