Claude Found a Quantum Algorithm. That's the Real Story.

Key takeaways

  • Anthropic's AI found a quantum algorithm that attacks the encryption schemes designed to hold up against quantum computers, but it’s too costly to run on any (current or future) quantum computer, so your data is still safe.

  • What matters more is that AI has found a quantum algorithm that succeeds precisely where it shouldn’t: on a problem chosen partly because quantum computers weren't expected to do well on it.

  • This suggests that AI can be useful in finding unexpected quantum algorithms in other fields, including those that are even quantum-friendlier like chemistry and materials science. It's an example of how AI and quantum will work together in the future to advance new discoveries.

Earlier this week, headlines claimed that AI had found a way to crack the encryption that protects the internet. In the days before the announcement, rumors spread that an AI lab had broken RSA, one of the most widely used encryption methods on the internet.

Neither is quite right. What Anthropic actually published is more interesting, and more important for quantum computing than for cybersecurity.

Don’t panic, the internet is fine

Quantum computers have long been expected to break the encryption that protects most of the internet. That encryption is hard to crack because it relies on math problems like factoring very large numbers, which are hard for ordinary computers but easy for a quantum computer running Shor's algorithm.

Anticipating future progress in quantum hardware, the US National Institute of Standards and Technology (NIST) ran a public competition to find replacement cryptographic schemes that would be difficult even for quantum systems to break. Cryptographers proposed new schemes and then tried to break each other's schemes. 

Among the winners were schemes whose security relies on a geometric puzzle: finding the closest points in a vast, high-dimensional grid. These problems are believed to be computationally infeasible for classical and quantum computers alike.

But there was a practical catch, and it comes down to the size of the key, which is the piece of information used by cryptographic algorithms to secure communications.

Remember passing secret notes in class? You might have scrambled a message by shifting each letter a few places along the alphabet. A key like "shift every letter back by three" is straightforward to convey but also easy to crack. Using a different shift for every letter is far more secure, but then the key is as long as the message itself.

Internet encryption faces the same trade-off. The simplest version of the hard math problem behind the new schemes needs keys that are too big for everyday use. A single packet of internet data only holds so many bytes, and transmitting keys across several packets leaves them vulnerable to attack, so a key that is as long as the message it encodes is impractical.

One fix involves adding ‘structure’ to the problem to shrink the keys. This means building repeating patterns into the numbers that make up the key, so that most of the key can be rebuilt from a small part of it. This is the idea behind the schemes that Anthropic studied, which are known as ML-KEM and ML-DSA, and are now being rolled out worldwide.

The reason people are excited about the algorithm Anthropic found is that, for this structured problem, the cost of solving the keys via the algorithm doesn't grow as much as expected as the key gets bigger. The reason people aren't freaking out about the internet breaking is that the algorithm is what computer scientists call "galactic": it only beats existing (classical) attacks on keys far larger than anyone actually uses. On the keys we do use, it's actually slower than the attacks we already know about.

In the days before the result was formally announced, a panel of cryptographers was quickly convened to assess it. The Cryptography Incident Review Group estimates that attacking even the smallest standard keys with this algorithm would take more than 21,000 quantum operations. That's more operations than there are atoms in the Universe, and definitely more than any quantum computer could ever perform. 

At realistic key sizes, existing classical attacks are still faster than the new quantum algorithm would be — its advantages only appear for decrypting keys far larger than anyone would use. The panel recommends continuing the move to post-quantum cryptography.

Your encrypted data is not at risk from this result.

A quantum application where none was expected

Galactic algorithms don’t always stay galactic. Once researchers find a new algorithm, they immediately start shaving down its cost. Algorithm developers — including those on staff at Diraq — are already working through Anthropic's papers to see how far that cost can fall. For the people who maintain the world's encryption, it's a useful wake-up call, and that's how cryptography is supposed to work: the more a scheme is attacked, the more confidence we can have in whatever survives.

Cryptographic experts will build on Anthropic's findings to ensure that the standards we use for post-quantum encryption will keep data safe. While the cybersecurity perspective is getting the headlines, we believe that most people are missing the most significant part of this news.

Lattice problems were picked for post-quantum encryption partly because quantum computers were widely thought to have no special advantage in solving them. The idea was to make them as hard for a quantum computer as possible, while keeping them practical for everyday encryption.

And yet Anthropic’s result suggests that a quantum computer can still, in principle, solve them faster than anyone expected. Not dramatically faster, and not usefully faster today, but faster in a way that no known classical method can match.

That's the takeaway. Even problems designed to deny quantum computers an advantage can hide one. And this time, the advantage wasn't found by a human researcher.

AI as an algorithm hunter

Most of the conversation about AI and quantum computing has focused on what quantum computers can do for AI, such as generating high-quality training data that classical computers can't produce. We covered this in our Substack Could Quantum Fix AI’s Energy Problem? 

Anthropic's result points the other way: AI as a tool for discovering what quantum computers can do.

AI has previously been used to improve quantum algorithms that already existed, making them cheaper to run. As far as we know, this is the first time an AI has found an entirely new type of quantum algorithm for something that was never expected to have one.

The lattice problem was about as hostile a place to look for quantum advantage as you can imagine. If AI can find quantum algorithms there, it can surely find them in areas that are more naturally suited to quantum computing — such as chemistry, materials, and physics — where the payoff can lead to highly impactful innovation.

The quantum machines that stand to benefit most from AI-discovered algorithms will combine two things: speed, so they finish jobs in hours rather than years, and scale, so they have enough qubits to take on the problem at all.

That's the combination Diraq is building. Our silicon spin qubits are fast, and they're made with the same manufacturing processes as ordinary computer chips, so millions of them can fit on a single chip inside a single fridge. That suppresses the cost of scaling and keeps the systems compact enough to install where they're needed.

No quantum computer will ever be able to run the algorithm Anthropic revealed this week. But AI has shown it can find new quantum algorithms, and others it finds may be worth running. When they arrive, Diraq intends to have the machines ready for them.

Next
Next

Classiq and Diraq Collaborate to Advance Fault-Tolerant Quantum Computing on Silicon