An AI Just Designed a Better Way to Break Your Keys
On October 16, Anthropic published something that should have made every cryptography engineer stop scrolling. Its model Claude Mythos 5, working in a closed loop with an automated evaluator, designed quantum circuits that beat the best published designs on seven out of eight tasks. One of those tasks was adding two points on an elliptic curve. That is the core step of Shor's attack on the elliptic-curve keys that protect Bitcoin wallets, Ethereum accounts, and a good share of the encrypted messaging on your phone.
The headline number travelled fast: 17 times fewer gates. Social posts turned it into "AI designs quantum circuits 17 times more efficient than humans, in 53 hours, with no human help." Each part of that sentence is a little off, and the real story is more interesting than the viral version.
What actually happened
The work came out of Anthropic's STEM Fellows Program, led by Andi Gu with Alek Kemeny of Anthropic and Susanne Yelin and Mikhail Lukin of Harvard (Lukin also works with QuEra Computing). The preprint, "Discovering state-of-the-art quantum circuits with large language models," went up on arXiv on October 15 as arXiv:2610.22367. It has not been peer reviewed.
The setup was simple in outline and careful in practice. Claude was given plain-language specifications for eight computational building blocks drawn from chemistry, optimization, quantum simulation, number theory, and numerical computing. It wrote Python programs that generate circuits. An independent evaluator checked each proposed circuit for correctness and scored it on a combined cost: Toffoli gate count multiplied by peak qubit count. Good designs survived in an evolutionary search built on the open-source tool OpenEvolve, and good ideas crossed between approaches.
In seven of the eight tasks, the circuits Claude found used both fewer gates and fewer qubits than the published best. The largest gain, on a fixed-point Gaussian task, was 39 times on the combined cost metric. The eighth task, elliptic-curve point addition, is the one that matters for cryptography, and it is also the one where the numbers need the most care.
The 17x, explained honestly
Point addition dominates the cost of a quantum attack on elliptic-curve keys, and modular inversion accounts for most of point addition. Classical computers handle inversion efficiently with a method called divsteps, but a straightforward quantum version has to store a record of every branch it takes, which costs many extra qubits. In one 53-hour run with minimal human input, Claude found a rule that recovers that record from the numbers themselves. The team tested it in large numerical simulations and formalized it in the Lean proof assistant: the first reversible implementation of divsteps with no stored branch history.
From that, Claude built a family of designs that trade qubits for gates. One design uses about 12 percent more qubits than the smallest previous design and 17 times fewer Toffoli gates. The benchmark curve is secp256k1, the curve Bitcoin uses. Another design in the same family goes the other direction: 12 times fewer Toffoli gates than the previous best, from 5.1 million down to about 440,000, while also using fewer qubits.
So the 17x is real, and it is also one comparison on one task, against one earlier design, for 12 percent more qubits. It is a circuit-resource claim about published constructions, not a statement that cryptography is broken or that Bitcoin is at risk. None of these circuits has run on quantum hardware. Every check was a classical simulation, an automated evaluator, or a formal proof. There is no machine that can run them yet, and the paper says nothing about when one will exist.
Anthropic is also open about a detail the viral posts skipped: Claude was, in their words, "conservative by nature." It repeatedly second-guessed apparent improvements and sometimes double- and triple-checked results that were already well supported. The loop needed occasional prompts to think more broadly. This was not a model left alone in a room for two days. It was a model inside a well-built search harness, with humans setting the task and the scoring.
None of that makes the result unimportant. It makes it a result instead of a myth, and the result is still worth sitting with.
Why this one is different from the last ten quantum warnings
I have written before about resource estimates for breaking RSA and elliptic-curve keys falling. In late October, Alice & Bob estimated 22,593 physical qubits to factor RSA-2048 in about three days, 40 times fewer than Google's 2025 estimate. IonQ put the elliptic-curve problem at 19,397 trapped-ion qubits. Those were improvements in hardware assumptions and in how cleverly humans compile Shor's algorithm.
This is a different kind of improvement. The bottleneck in those estimates has always been human cleverness: someone has to find a smarter circuit, a better error-correcting code, a tighter compilation. Now a general-purpose AI model, given a verifier and a scoring function, found a smarter circuit on its own, in a weekend, on a problem humans have been optimizing for years. The search that produced it was not even aimed at cryptography. Point addition was one of eight tasks, and the model improved seven of them.
That is the part that changes the shape of the timeline. Hardware progress is slow and visible: you can count qubits in a lab. Algorithmic progress is quiet until it is published, and now one of its sources is a system that can run thousands of experiments without getting tired. The estimates of what a future machine needs will keep falling, and the rate at which they fall is no longer set only by how many clever humans work on the problem.
I want to be careful here, because I dislike hype as much as anyone. This paper does not move the date a cryptographically relevant quantum computer arrives. It does not change the fact that the best machines in service today have around a hundred qubits and the estimates need tens of thousands. What it changes is the confidence you should have in any timeline that assumes the attack side stays at its current level of cleverness. It will not.
What it means if you build things
If you are building a messenger, a wallet, a VPN, or anything that encrypts data meant to stay private for years, the practical conclusion has not changed, but the margin for delay has shrunk again.
Harvest now, decrypt later is the threat that makes all of this concrete. An attacker does not need a quantum computer today. They need to record your encrypted traffic today and keep it until a machine exists that can break it. Anything encrypted with a static elliptic-curve or RSA key, stored backups, signed documents, archived messages, is exposed to a machine that might arrive in the 2030s. Session keys protected by forward secrecy limit the damage for live conversations. Long-lived data gets no such protection.
So the work is the same work it has been for two years, just more urgent:
Migrate key exchange and signatures to the NIST standards, ML-KEM for key encapsulation and ML-DSA for signatures, and do it in hybrid form alongside the classical algorithms while the ecosystem catches up. That is what I did in my own messenger: the handshake now runs ML-KEM-768 next to ECDH P-256, and identity keys are ML-DSA-65. The hybrid part matters. The new standards are young, and if something turns out to be wrong with one of them, the classical half still holds. The sizes are annoying, ML-DSA signatures are thousands of bytes where an ECDSA signature is 64, and you will feel that in every protocol that was designed around small keys. You feel it once, during the migration. You do not get to choose when the attacker feels it.
Build crypto-agility in from the start, not as a refactor later. If your code assumes one algorithm in one place, swapping it is a rewrite. If your key bundles carry an algorithm identifier and your handshake negotiates, swapping it is a version bump. I learned this the slow way, by having to touch every place a key was serialized. The second migration is always cheaper than the first, but only if the first one leaves room for it.
And treat every new resource estimate as a data point, not a deadline. The honest timeline for a machine that breaks RSA-2048 is still "sometime in the 2030s, maybe, if several hard problems get solved." What the last ninety days have shown, from Alice & Bob to IonQ to this paper, is that the number on the left side of that estimate keeps dropping, and now the dropping is partly automated. Planning as if it will stop dropping is the one assumption I would not defend.
The part I am still unsure about
I keep coming back to one question, and I do not have a clean answer for it. The same loop that designed a better attack circuit can design better circuits for chemistry, optimization, and simulation. The paper's biggest gains were not on the cryptography task. An AI that is good at finding efficient quantum circuits is, mostly, good for science. The attack application is one use among many, and arguably not the most important one.
But cryptography is the field where a quiet improvement in the attacker's toolkit has the longest shadow, because the defender has to migrate everything before the attacker needs to succeed once. That asymmetry is why I write about these papers even when they are preprints, even when the numbers need footnotes. The footnotes are the point. Read them, keep the 17x in its proper frame, and then go do the migration anyway. The machine that breaks your keys will not announce itself with a press release. It will just show up one day, and by then the only question will be whether you moved in time.
Sources: Anthropic, "Designing more efficient quantum circuits with Claude" (16 October 2026); arXiv:2610.22367; QuEra Computing / Harvard announcement (10 November 2026).
Top comments (2)
The line that stuck with me is "the 17x is real, and it is also one comparison on one task, against one earlier design, for 12 percent more qubits" — that's the footnote most coverage skipped, and it's the whole story. The detail that actually worries me isn't the 17x, though. It's the mechanism: a general model with a verifier and a scoring function found a better divsteps circuit in 53 hours on a problem humans had been optimizing for years. That turns the attack timeline from "count the qubits in a lab" into "count the experiments a search loop can run." Your own messenger migration is the honest counterpoint — ML-KEM-768 next to ECDH P-256, and ML-DSA signatures running thousands of bytes against 64-byte ECDSA. That size pain is exactly why teams keep delaying. Question: when you did the hybrid handshake, did the ML-DSA signature size force you to change anything in your protocol framing, or did it fit where ECDSA used to sit?
Good question — and the size pain is real. It didn't fit where ECDSA sat. An ML-DSA-65 signature is 3,309 bytes against ~64 for ECDSA P-256, and the public key is 1,952 bytes against 65, so nothing with a fixed-size slot survived. In my messenger the signature became its own field in both places: the key bundle carries it as
mldsaSigB64, and the message envelope ise2ee:pq:v2:step:kem:iv:ct:sig— the signature is just another base64 field after the ciphertext. The framing is length-agnostic, so the cost showed up as bytes on the wire, not as a redesign — every bundle and every message got a lot fatter. That's the tax teams are really delaying on, I think: not complexity, just size.