AI-Assisted Groups Take RSA-2048 Below a Billion Toffoli Gates and Split the secp256k1 Attack Into Shorter Runs

November 27, 2026 – Monit Sharma and Hoong Chuin Lau of Singapore Management University revised their preprint on factoring RSA-2048 with Shor’s algorithm, cutting their estimate to 2.99 billion Toffoli gates on 1,450 logical qubits. They counted 24% fewer Toffolis than for a version of Craig Gidney’s 2025 circuit retuned to the same width. Toffoli gates are the costly operations in these circuits; logical qubits are the error-corrected units a fault-tolerant machine builds from many physical qubits.
In the revision, Sharma and Lau drew on techniques from a group at Tsinghua University and the Beijing company Intelligent Quantum Inception, which had reported RSA-2048 circuits below one billion Toffoli gates in a preprint submitted on November 23. That group found its circuits with a search loop running OpenAI’s GPT-6 Astra. On the same day, four researchers at the University of Colorado Boulder submitted a split of the Shor attack on secp256k1, the elliptic curve behind Bitcoin and Ethereum signatures, into 102 shorter runs built with Claude agents.
None of the preprints has been peer reviewed. No existing quantum computer can run any of the circuits, which the authors costed in logical qubits and gates. Regulators have not moved the dates they set for replacing RSA and elliptic-curve cryptography.
Shared Lookups Across Residue Primes
In his May 2025 estimate, set out in a paper on arXiv, Gidney put RSA-2048 at 1,399 logical qubits and 6.5 billion Toffoli gates per factoring, on fewer than a million noisy physical qubits in under a week. He split the modular exponentiation across about 21,000 small primes of a residue number system, with a separate table lookup for each prime.
Sharma and Lau observed that all the primes’ tables are read at the same address, so one shared lookup can return entries for several primes at once. They also keep intermediate residues, so that multiplications can be undone by subtraction, and postpone modular reduction to a final step.
In their first version, submitted on November 6, Sharma and Lau reported 5.08 billion Toffolis at 1,461 logical qubits and 2.55 billion at 1,806, which were 15% and 46% fewer than the best of 534,240 settings of Gidney’s construction at the same widths. They wrote then that the benchmark, circuits and analysis “were developed with the help of Claude (Anthropic), an AI assistant.” They released the code, circuits and results on Zenodo.
In the revision, Sharma and Lau added compressed logarithm registers and folded a final multiplication into the Chinese-remainder accumulation. They wrote that they “draw on” the Beijing group’s “techniques for lookup synthesis, compressed logarithms, division and phase cleanup.” Their frontier of 42 circuits spans 1,271 to 2,998 logical qubits, with up to 37 primes sharing one lookup.
At 1,450 logical qubits they reported 2.99 billion Toffolis per factoring, 24.0% fewer than a serial version of Gidney’s construction retuned to that width, and at 2,050 logical qubits 1.35 billion, 54.4% fewer. Sharma and Lau counted Gidney’s published configuration in their benchmark at 1,435 logical qubits and 5.88 billion Toffolis, against 1,399 and 6.50 billion in his own model. The authors added 36 temporary qubits that his closed-form formula leaves out and applied what they call address-determined simplifications.
Sharma and Lau also projected fewer than one billion Toffolis from 2,432 logical qubits upward, falling to 0.83 billion at 2,998. They assumed the nominal number of runs for those projections and put the 2,998-qubit figure at 1.035 billion with one extra run. The authors produced exact certificates over all primes for 12 of the 42 circuits and extrapolated overflow allowances for the other 30 from 27 sampled primes.
In the authors’ surface-code model, the 1,450-qubit circuit factors RSA-2048 in 2.66 days on 0.997 million physical qubits, against 3.10 days on 0.98 million for Gidney’s configuration in the same model. Their fastest circuit, at 2,925 logical qubits, takes 16.2 hours on 3.18 million physical qubits. The circuit with the fewest Toffolis, at 2,998 logical qubits, takes 25.9 hours on 3.28 million.
On the space-efficient neutral-atom processor modeled by Cain and co-authors, a 1,403-qubit circuit takes 91.7 years against 109.5 years for the tuned reference. On the balanced processor in the same model, the best circuit that fits takes 29.3 years against 25.4.
In the revised acknowledgements, the authors credited “an AI-assisted multi-agent research workflow” without naming Claude or any other model.
A Second Group Takes Shared Lookups Below a Billion Toffolis
Xiaodi Li and five co-authors dated their preprint November 22 and submitted it on November 23. According to its AI disclosure, “the main algorithmic and circuit-compilation improvements in this work were generated using GPT-6 Astra,” inside a search loop whose objective, approximation margins, cost conventions and verification checks the researchers froze outside the model’s reach. A deterministic compiler produced the final circuits.
The group shares each lookup across up to 24 primes, against eight in Sharma and Lau’s first version, and compresses registers to make the larger batches fit. Their frontier of 30 circuits spans 1,306 to 2,919 logical qubits.
Their first circuit below one billion Toffolis per factoring needs 2,433 logical qubits, with 0.978 billion under Gidney’s adder accounting and 1.001 billion under the authors’ stricter bit-level count. At 2,485 logical qubits both counts are below a billion, at 0.961 and 0.984 billion. The frontier ends at 2,919 logical qubits with 0.932 and 0.950 billion.
At 1,359 logical qubits they reported 4.58 billion Toffolis under Gidney’s accounting and 4.64 billion under their own, which they put at 28% below Gidney’s published configuration. They counted that configuration at 1,435 logical qubits, because Gidney’s closed-form formula “omits 36 temporary clean ancillas,” so the 1,359-qubit circuit uses 76 fewer qubits than their recount and 40 fewer than his published figure.
Against a sweep of Gidney’s construction, they reported a 70.1% lower minimum product of logical qubits and Toffolis, and up to 78.6% fewer Toffolis at matched accumulator precision. Against the points in Sharma and Lau’s first version, between 1,432 and 1,806 logical qubits, they reported 24.9% to 43.4% fewer Toffolis at the same or a smaller qubit count. In a note added to the paper, the authors called that first version a “concurrent independent preprint.”
The authors certified six circuits between 1,306 and 2,823 logical qubits, including the 2,433- and 2,485-qubit milestones, across all 119,482 prime evaluations they contain. For each certification, the authors combined a symbolic tracker over every measurement outcome with 32 randomized replays in Google Quantum AI’s open-source kickmix tool, which six Google researchers, Gidney among them, described in an October preprint. The 2,919-qubit endpoint has exact counts over all primes and a check on one batch, and the authors verified the 1,359-qubit point on a single batch and projected its counts to the other batches.
The authors released the compiler, the verifiers and receipts for 3.14 TB of gate streams on GitHub, but not the code that ran the model search. They gave no runtime or physical-qubit estimates. With wider batching, the circuits need more two-qubit Clifford gates per Toffoli, from about 13 at 1,306 logical qubits to nearly 90, so the authors wrote that the net physical cost depends on routing layout.
Splitting the secp256k1 Attack Into 102 Shorter Runs
Yicheng Guang, Yuliang Xiong and Yueqi Chen of CU Boulder’s computer science department and Xun Gao of JILA and the university’s physics department submitted the third preprint on November 23. They measured against IonQ’s September estimate by Häner and co-authors, a single run of 1,457 logical qubits and 39,255,168 Toffolis that IonQ costed at about 26 days per attempt on 19,397 trapped ions.
The CU Boulder authors took three such runs as their reference budget, using IonQ’s algorithmic success estimate of 0.861 per run. IonQ’s end-to-end estimate, after the hardware failures IonQ models, is 63.3% per attempt.
They minimized the volume of the largest run, its peak logical qubits times its Toffoli count, while requiring every key to be found with probability at least 0.99, a total volume within ten times the reference and no more than $$2^{40}$$ classical operations. For a linear run fixed in advance, they proved that an attacker learns at most $$\log_2(1+(|S|-1)/r)$$ bits about a uniform key from one run, where $$|S|$$ counts the run’s exponent values and $$r$$ is the group order. With IonQ’s addition costs, an attacker who only splits the attack can shrink the largest run by a factor of at most 1.86, or 1.93 if later runs depend on earlier outcomes.
Their best configuration uses 102 runs, each with 15 point additions, 1,246 logical qubits and 11,866,224 Toffolis. Its largest run is 3.87 times smaller than IonQ’s, but the total volume of all runs is 8.79 times the reference. With Ekerå’s established tradeoff on the same core, the largest run shrinks 2.81 times.
In the authors’ accounting, 2.01 times of the 3.87-fold gain comes from a point-addition core borrowed from the open ECDSA.Fail leaderboard, together with their own table reads. They described the core as the leading main-track entry on November 12, submitted under the name odinfree, at 1,227 logical qubits and an average of 722,917 Toffolis per addition. The authors’ windows, in which one table point is reused for six exponent values related by symmetries of the curve, account for 1.07 times, and splitting the attack accounts for 1.81 times.
In each of 563 pre-registered trials per configuration, a classical program sampled every run’s measurement outcomes from the distribution the authors derived for their circuits and then ran their decoder on secp256k1. All trials succeeded, which the authors converted into a success probability of at least 0.9945 at 95% confidence. An independent auditor reproduced the resource totals and the statistical bounds from saved evidence but did not rerun the trials, the circuit checks or the replay of the core’s gate stream.
Hardware-level estimates, including code distances, physical qubit counts and run times, “are outside the scope of this paper,” the authors wrote. According to the acknowledgements, Anthropic’s Claude Opus 5.5 and Sonnet 5.5, working as AI coding agents, “carried out the search and the circuit constructions under the authors’ direction,” and OpenAI’s GPT-6 Astra examined the results with the authors, as did GPT-6.2 Astra. The code and data are on GitHub.
My Analysis
In May 2025, Gidney needed 6.5 billion Toffoli gates to factor RSA-2048 on 1,399 logical qubits. Sharma and Lau now project 2.99 billion on 1,450 logical qubits. Both RSA groups report fewer than one billion on more than 2,350. The two groups made the job smaller for a cryptographically relevant quantum computer that nobody has built. Neither reported progress on the hardware such a machine needs.
Logical Toffoli Counts and Physical Runtime
In Gidney’s model the Toffoli count is a major driver of runtime, along with routing, Clifford gates and how much work can run in parallel. In Sharma and Lau’s own table, their circuit with the fewest Toffolis, 0.83 billion on 2,998 logical qubits, takes 25.9 hours, 60% longer than a circuit with 0.84 billion on 2,925 qubits.
Both groups reach their lowest gate counts on wider circuits. Sharma and Lau need 1,450 logical qubits for 2.99 billion Toffolis, 51 more than Gidney’s published 1,399. Both groups need more than 2,350 logical qubits to go below a billion.
Li et al. certified six circuits across every prime with two independent checks. Sharma and Lau report benchmark means, with exact all-prime certificates for 12 of their 42 circuits. Nobody has run any of these circuits on quantum hardware.
Faster Circuits Need More Physical Qubits
Only Sharma and Lau give physical projections. In their surface-code model, the 1,450-qubit circuit factors in 2.66 days on 0.997 million physical qubits, 14% faster than Gidney’s configuration at 3.10 days on 0.98 million. Cutting the time to 16.2 hours takes 3.18 million physical qubits.
Gidney’s own estimate is 4.63 days per factoring before an allowance for logical errors and 4.96 days with it, so only comparisons inside one model are fair.
On Cain and co-authors’ neutral-atom designs, Sharma and Lau’s circuits run faster than the tuned reference on the space-efficient processor and slower on the balanced one. Nobody can read a runtime off a Toffoli count until the circuit is compiled for a specific machine. Li et al. have not compiled theirs for any machine. For capability tracking, I would ask which of these circuits a given machine could run, rather than whether it meets one fixed CRQC specification.
From Independent Discovery to Shared Techniques
Sharma and Lau, working with Claude, and Li et al., working with GPT-6 Astra, arrived at shared lookups and the same 36-qubit recount of Gidney’s configuration 17 days apart, with different checking tools. Sharma and Lau note that shared-address lookups, Bennett checkpointing and lazy modular reduction were each known before. I read the two groups’ near-simultaneous application to Gidney’s residue arithmetic as a sign that the idea was ready to be found. I take the evidence that the circuits are correct from the checks: Li et al.’s all-prime certification, Sharma and Lau’s certificates and both groups’ published code.
Li et al. measured their 24.9% to 43.4% advantage against Sharma and Lau’s first version, in their own accounting. Four days later, Sharma and Lau replaced that version with one built partly on Li et al.’s techniques, so the current versions are not independent implementations.
102 Shorter secp256k1 Runs Add Up to 1.2 Billion Toffolis
The CU Boulder group optimized the volume of the largest single run. If each run is smaller, a machine can reach the required success rate with a higher logical error rate per operation, so engineers could use a smaller code distance. The authors left physical modeling out of scope, so nobody can yet quantify that benefit for the whole multi-run attack.
With shorter runs, the machine must also compute without interruption for less time, which is Capability D.3 in my CRQC Quantum Capability Framework. On trapped-ion hardware of the kind IonQ costed, one attempt takes about 26 days of uninterrupted computation.
The attack as a whole needs more gates. By my arithmetic, 102 runs of 11,866,224 Toffolis come to 1.21 billion Toffolis per key, 10.3 times the 118 million in the three-run reference. An attacker who spreads the runs across several machines would shorten the wall-clock time and multiply the hardware. Without a physical estimate from the authors, nobody can yet say whether time-to-key improves on any architecture.
CU Boulder cut the peak width from IonQ’s 1,457 logical qubits to 1,246. That is still more than the 1,200-qubit ceiling of Google Quantum AI’s March low-qubit design and the 835 logical qubits in Luo and co-authors’ construction, which I covered in July. CU Boulder’s main cut is to Toffolis per run, from 39.3 to 11.9 million.
In the authors’ decomposition, the borrowed leaderboard core accounts for about 45% of the 3.87-fold gain on a logarithmic scale. A circuit that one leaderboard participant optimized became part of another team’s full attack within two weeks of leading the leaderboard. I expect more full estimates to be assembled the same way. The authors conclude that cheaper point additions are the largest saving still available in their designs, because they proved that more splitting cannot add much.
Where the 1,151-Qubit Figure Comes From
An explainer on Shattered.io still carries the headline “Bitcoin Quantum Attack Cost Halved to 1,151 Qubits,” although further down the page the figure is described as covering one point addition. The number comes from the ECDSA.Fail paper that Jieyi Long of Theta Labs and co-authors posted on September 9. At its July 26 data cutoff, the best circuit on the leaderboard used 1,151 logical qubits and an average of 1,299,453 Toffolis for one elliptic-curve point addition, a subroutine that IonQ’s windowed construction repeats 28 times.
“Halved” refers to the leaderboard’s score, logical qubits times Toffolis, which came to about 1.5 billion. Long and his co-authors put that score “more than 50% below Google’s published point-addition score thresholds” under different accounting conventions, a caveat Decrypt reported in September. Leaderboard entrants receive the point to add as a classical number, but in a real attack the circuit must look it up from a table in superposition.
The ECDSA.Fail authors’ windowed version, which includes that lookup, needs 1,162 logical qubits and about 30% more Toffolis, as I noted in October. Entrants have since gone lower on each axis separately. Long’s Lilypad-GCD circuits used 893 and then 874 logical qubits within Google’s Toffoli bound in October. The entry CU Boulder borrowed needs 722,917 Toffolis per addition. The ECDSA.Fail authors measured one subroutine, but a full attack on Bitcoin also needs the table lookups, the other additions and repeated runs.
From Subroutines to Whole Attack Circuits
Until November, the researchers I covered used AI on parts of Shor’s algorithm. Eigen Labs has run ECDSA.Fail as an open benchmark since May 30, and by October 17 it had 1,589 submissions from 147 accounts, many from participants working with AI coding agents. In his submission notes, Long credits the design of his 893-qubit circuit to Claude Opus 5.5 and its implementation to GPT-5, run in Claude Code and Codex respectively.
In November, three groups produced logical resource estimates for complete attack constructions, with explicit gate accounting. Sharma and Lau credited Claude in their first version. Li et al. generated their main improvements with GPT-6 Astra. Claude agents ran the CU Boulder search and built its circuits, and GPT-6 Astra examined the results with the authors, as did GPT-6.2 Astra.
Researchers from Google DeepMind published the same kind of workflow for scientific problems, with co-authors from Google Quantum AI. Their Gemini 4 agents write quantum programs in the Lean theorem prover against frozen specifications, and an external verifier checks each submission’s machine-checked proof of correctness and cost. In the current version, dated November 17, the researchers report an arcsin circuit with 290 times lower spacetime cost than the prior baseline and a fusion stopping-power simulation with 11.8 times lower spacetime cost on 4,338 logical qubits. The Quantum Insider’s November 10 report, written before that revision, gives earlier figures for several results. The researchers set no cryptographic target.
Agents have also worked on classical attacks this year. In July, Anthropic reported that Claude Mythos Preview recovered signing-equivalent keys for two HAWK-256 challenge keys. In September, Anthropic’s Stephen Weis used Claude to port the CADO-NFS factoring software to GPUs for the factorization of RSA-896. In November, Google DeepMind researchers reported that two cooperating AI agents designed and ran a reproduction of a known 1,024-bit RSA signature-forgery computation with 3.5 times less CPU time (my analysis). That computation used about 4 billion signing-oracle queries, all made before the target was chosen. The researchers did not recover the private key.
Auditing the Cost Model
A model searching for cheaper circuits optimizes against whatever code counts the gates, so every November group took steps to keep the model from exploiting flaws in that accounting. Google’s researchers report that some agents exploited “how Toffoli gates were counted without improving the circuit,” a loophole they closed by revising the specification. In their first version, Sharma and Lau wrote that Gidney’s scatter_script simulator “relies on code review” and that “an optimising search could exploit this,” so they tested their accounting layer with deliberately cheating candidates. Li et al. froze the objective, approximation margins, cost conventions and checks outside the model’s reach and added analytic bounds for overflows too rare for simulation to catch. The CU Boulder group pre-registered its trials and had an auditor reproduce the totals from saved evidence.
I grade resource-estimate claims in three tiers: verified, published and unverified. A preprint posted to arXiv counts as published in that scheme, meaning public and not yet reviewed, and all three November papers are at that tier. I count two verifications made with the same model or the same tooling as one. With models from two vendors building and examining its circuits, CU Boulder avoided one shared failure mode. Because a shared specification or cost model could still mislead both models, I give more weight to the independent circuit checks, the proofs and the published code.
Li et al. kept the code that ran their model search private, and Sharma and Lau stopped naming their models in the revision. Readers can check the circuits, but nobody outside the groups can yet measure how much the models contributed.
Researchers use the same checking tools for attack circuits and for chemistry. Li et al. certified their RSA circuits with kickmix replay, the same tool Google uses to test entries to its $150,000 Kaggle competition, launched on October 23. The ECDSA.Fail evaluator was built from the verification code Google published with the zero-knowledge proof behind its March estimate.
When a group posts the next AI-assisted estimate, I will read its checking setup before its headline: which code counted the gates, whether the search had access to it, and who reran the totals with different tools.
Migration Deadlines
Anyone estimating Q-Day has to combine two curves: what quantum hardware will be able to do and what the attack requires. The November groups lowered the second curve for RSA-2048 and reshaped it for secp256k1, but none of them reported progress on the first. Until someone maps the new circuits onto a credible future architecture, nobody can translate the lower counts into a change in any Q-Day forecast.
Regulators have not moved their dates. Under NIST IR 8547, final since October 27, NIST deprecates quantum-vulnerable public-key algorithms after 2030 and disallows them after 2035 in its standards and guidelines. Under Executive Order 14412, federal high-value assets and high-impact systems must use post-quantum key establishment by the end of 2030 and post-quantum signatures by the end of 2031. National Security Systems are excluded. Boards fund deadlines like these, not Q-Day forecasts.
Readers who treat each preprint as a step change in the threat repeat September’s “halved” mistake. Readers who dismiss unreviewed, AI-assisted preprints miss what three groups showed in November. Authors of Shor’s algorithm resource estimates have cut a different resource at each step: Gidney and Ekerå’s 2019 design used about 6,200 logical qubits on 20 million noisy physical qubits, Gidney’s 2025 design used 1,399 logical qubits on under a million, and the November groups cut the Toffolis below a billion on more than 2,350 logical qubits.
Li et al. overtook Sharma and Lau’s first version on several metrics 17 days after its submission, and Sharma and Lau revised it four days later using some of Li et al.’s techniques. A team that reviews quantum risk once a year would have missed both versions.
My recommendation is to move long-term elliptic-curve signing keys whose public keys are already exposed to the front of the migration queue, ahead of RSA keys with the same exposure. On a machine with about 1,450 logical qubits, the secp256k1 attack needs 118 million Toffolis per key in the three-run IonQ reference and 1.21 billion in CU Boulder’s 102-run design. Factoring RSA-2048 on 1,450 logical qubits needs 2.99 billion in Sharma and Lau’s revision. These are logical counts, but the order on a real machine also depends on Clifford operations, routing and success targets that nobody has costed for both attacks on one architecture.
With an exposed public key, an attacker needs no further signatures and no interaction with the signer, only the machine. For a key embedded in firmware, a bootloader or an industrial device, the exposure lasts as long as devices accept signatures under it, often long after its certificate expires. That is the trust now, forge later problem.
What to Watch
- A physical compilation of Li et al.’s certified sub-billion circuits. Li et al. name coupling their compiler to surface-code routing and lattice-surgery scheduling as their next step.
- A full secp256k1 estimate with physical costs, built on a windowed leaderboard core.
- Iceberg Quantum’s disclosure of the Pinnacle 1.2 arithmetic, which Sharma and Lau did not model.
- Peer review of all three papers, and replies from Gidney and the IonQ authors to the recounts and the new baselines.
Gidney published his 2025 circuit alone, with a simulator built for people who read code. From November 6 to 27, two groups working with models from Anthropic and OpenAI produced three successors to that circuit, and a third group rebuilt IonQ’s elliptic-curve attack. I expect the next estimate to come from the same kind of loop. I would plan on the circuits getting cheaper and on regulators keeping the 2030 and 2035 dates.