Quantum Computing · Quantum-Safe
An LLM-designed preprint brings the cost of factoring RSA-2048 below one billion Toffolis
An unreviewed preprint, with improvements generated by an LLM, estimates some 961 million Toffolis to break RSA-2048: 78.6% fewer than Gidney in 2025.
Key points
- The lightest circuit needs some 961 million Toffoli gates with 2,485 logical qubits, against 4.5 billion or more in Gidney's 2025 estimate.
- It gives no physical qubit count or run time: it is not yet possible to say how much closer it brings a quantum computer able to break RSA.
- It is a single-group preprint, not peer reviewed, whose main improvements were generated by a language model; the code is public.
A preprint posted on arXiv on 23 November claims that factoring an RSA-2048 key with Shor’s algorithm can be done with fewer than one billion Toffoli gates, the expensive operation in an error-corrected quantum computer. It is signed by six researchers from Intelligent Quantum Inception, a Beijing company, and Tsinghua University. It has not been peer reviewed, and the authors state that the main improvements were generated by a large language model (LLM), although they say they checked all the proofs and circuits themselves.
The benchmark it is compared with is Craig Gidney’s 2025 estimate, which cut the physical qubits needed to break RSA-2048 from 20 million to fewer than one million, in under a week. It paid for that with more gates: according to the new preprint, that design needs between 4.5 and 11 billion Toffolis depending on the configuration.
What it claims to have achieved
- A catalogue of circuits, not just one. With an LLM-guided search they redesign the algorithm’s arithmetic and build a compiler that produces 30 optimal circuits between 1,306 and 2,919 logical qubits: more qubits, fewer gates, and vice versa.
- Fewer than one billion Toffolis. The minimum at equal precision is some 961 million Toffolis with 2,485 logical qubits, 78.6% fewer than Gidney’s benchmark. With 2,919 qubits it drops to some 932 million. Counting gate by gate with a stricter criterion, the figures rise by between 1% and 2.4%, and stay below one billion.
- A 70% lower combined cost. The product of qubits and Toffolis, a measure of the total size of the computation, falls from 7.96 to 2.38 trillion, with 2,433 logical qubits.
- Verification. They bound analytically the rare overflows that random simulation does not catch and check six representative circuits gate by gate with all the primes involved; the rest of the catalogue is validated by sampling. The compiler and the verifiers are published on GitHub.
Note · what this preprint does not say
These are all logical counts. The preprint does not work out how many physical qubits would be needed or how long the computation would take, and it acknowledges that the circuits with fewer Toffolis multiply other operations (from about 13 to almost 90 two-qubit gates per Toffoli), whose real cost depends on the hardware. Moreover, the minimum gate count requires more logical qubits than Gidney’s design, which stays at about 1,400. It is a single-group result, not reviewed, and a simultaneous preprint by Sharma and Lau explores similar improvements.
What changes for decision-makers
Nothing in the migration timetable, but something in the trend. If confirmed, the estimated number of gates needed to break RSA-2048 would have fallen to less than a quarter in a year and a half, and it adds to other recent estimates, such as the Shor circuit for Curve25519. None of these estimates builds the computer, but they point the same way: the margin is narrowing on the algorithm side, not only on the hardware side. And they strengthen the case of those already prioritising the migration of whatever must stay confidential ten years from now.