Shared Lookups and Lazy Residues: Fewer Toffoli Gates for Factoring RSA-2048
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 fewer Toffolis at qubits ( per factoring) and fewer at qubits (). A matched ablation finds fewer Toffolis from three-prime sharing at fixed window and checkpoint settings. Architecture-specific timing determines how much becomes a runtime saving.
Create a lesson
Related papers
Reducing RSA-2048 Factoring Resources Below One Billion Toffolis via LLM-Driven Verifiable Quantum Compilation
Shared title terminologyquant-phXiaodi Li, Yuqing Wang, Xue Chen et al.
Reducing T gates in product formulas with agent loops
Shared title terminologyquant-phLuis Mantilla Calderón, Jérôme F. Gonthier, Alex Zook et al.
Structure-factor witnesses of thermal entanglement: exact optimal covariance criteria for the XY chain
Shared title terminologyquant-phJulia Mathé, Ayaka Usui, Otfried Gühne et al.
Hybrid correlation generation with finite shared randomness
Shared title terminologyquant-phZihan Chen, Shengjun Wu, Zeng-Bing Chen
Neural Decoding of Logical Clifford Circuits with Transversal Gates
Shared title terminologyquant-phYicheng Guang, Yuliang Xiong, Xun Gao et al.
All-electronic geometric phase gate on Doppler-cooled trapped ions using an axial mode
Shared title terminologyquant-phP. Rahimi, C. Knapp, P. Zantis et al.