Basics

What Quantum Computers Can Do and Why RSA Still Stands

Marvin Sprey

Marvin Sprey

ML-DSA-65NIST FIPS 204
Verify →

doc: yej4wyhvb68a3rz38fro9nse

sig: 367f681e…141c1f24

Fifteen, Then a Long Silence

In 2001, a quantum computer used Shor's algorithm to split a number into its prime factors for the first time. The number was 15. A team led by Lieven Vandersypen and Isaac Chuang used seven atomic nuclei in a single molecule as their computing elements and controlled them with nuclear magnetic resonance at room temperature. Out came 3 and 5. The next step would be 21. In August 2025, Craig Gidney of Google Quantum AI pointed out in a blog post that no quantum computer has yet factored it without shortcuts. He doesn't count attempts that skip the actual computation, because they effectively assume the factors are already known.

Over the same period, estimates of how big a quantum computer would have to be to break 2048-bit RSA have collapsed. In 2012 the figure was around a billion physical qubits, in 2019 it was 20 million, and in 2025 it fell below one million. A preprint from February 2026 gets by with fewer than 100,000. An October 2026 preprint uses 22,593 cat qubits and 3.14 days, but assumes that no bit-flip errors occur. Google's Willow chip has 105 qubits, Quantinuum's Helios has 98.

Both facts fit together, and for the same reason. A quantum computer only computes reliably for long enough if it continuously corrects its own errors. That correction costs qubits in quantities nobody has today, and at the same time it keeps getting cheaper. If you want to judge how far away a cryptographically relevant quantum computer (CRQC) is, meaning one that breaks RSA or elliptic curves in a useful amount of time, error rates tell you more than qubit counts. What Shor's algorithm exploits mathematically, and why Grover's algorithm barely threatens symmetric ciphers such as the Advanced Encryption Standard (AES), is the subject of a separate article. This one is about the machine.

What a Qubit Is

A classical bit is 0 or 1. A qubit is a physical system with two distinguishable basic states, such as two energy levels of a trapped ion or of a superconducting circuit. As long as nobody measures it, it can be in a superposition of both states:

|ψ⟩ = α · |0⟩ + β · |1⟩, with |α|² + |β|² = 1

In words: the state ψ is a weighted sum of 0 and 1. The weights α and β are called amplitudes. They are complex numbers, so unlike probabilities they can cancel each other out. Only when the qubit is measured does it commit, to 0 with probability |α|² and to 1 with probability |β|². After that, the superposition is gone.

Every additional qubit doubles the number of amplitudes. A register of 1,000 qubits is described by 2¹⁰⁰⁰ amplitudes, a number with 302 digits. That's where the popular idea comes from that a quantum computer simply tries all solutions at once. Complexity theorist Scott Aaronson put the rebuttal in the header of his blog: if readers take nothing else away, they should know that quantum computers won't solve hard problems instantly by trying all solutions in parallel. Measuring 1,000 qubits yields just 1,000 bits, and without further work a random result.

The actual mechanism is interference. Because amplitudes can add up or cancel, a computation can be arranged so that the paths leading to wrong answers cancel each other while the paths to the right answer reinforce. That's how Aaronson described it in Scientific American in 2008. It only works for problems with the right structure. Then there's entanglement: several qubits can be put into a joint state that can no longer be broken down into states of individual qubits. Gates that entangle two qubits are the most delicate building blocks of any quantum computer. Gidney measures the cost of his circuits for 15 and 21 in exactly these gates.

What Quantum Computers Are Good For

Cryptographers care about quantum computers at all because of Shor's algorithm from the 1990s. Germany's Federal Office for Information Security (BSI) sums it up in its Technical Guideline TR-02102-1: given a sufficiently large quantum computer, Shor's algorithm can efficiently solve both the factoring problem and the discrete logarithm problem. RSA rests on the first, Diffie-Hellman and elliptic curve schemes such as X25519 and the Elliptic Curve Digital Signature Algorithm (ECDSA) rest on the second. Efficient here means the effort grows only polynomially with key length, so longer keys buy hardly any time.

Unstructured problems are a different story. For search without exploitable structure, Charles Bennett, Ethan Bernstein, Gilles Brassard and Umesh Vazirani proved in 1997 that a quantum computer achieves at most a quadratic speedup in the general case. Grover's algorithm gets exactly that. As Aaronson puts it, this doesn't turn exponential effort into polynomial effort. Nobody knows an efficient quantum algorithm for NP-complete problems, and many experts suspect there isn't one. For tasks like chess or airline scheduling, Aaronson expects quantum computers to run into much the same limits as classical ones.

Aaronson names simulating quantum physics itself as the likely killer application. In 2018, John Preskill coined the term NISQ, for Noisy Intermediate-Scale Quantum: machines with 50 to 100 qubits whose noise limits the size of circuits they can run reliably. Such devices would be useful for exploring many-body physics, he wrote, but the 100-qubit quantum computer won't change the world right away.

The demonstrations that beat classical supercomputers so far solve carefully chosen tasks. In December 2024, Willow produced samples from random quantum circuits in under five minutes, a job Google calculates would take the Frontier supercomputer 10²⁵ years. Google itself concedes that this task has no practical application yet. It's extremely hard for classical computers, and nobody needs the result.

Why Qubits Make Errors

A qubit holds its superposition only as long as it stays shielded from its environment. Any unwanted interaction smears out the state. This decoherence limits how long a computation can run. Google says the T1 lifetime of Willow's qubits is approaching 100 microseconds. Atoms held in optical tweezers stay coherent much longer: in 2025, a group at the California Institute of Technology (Caltech) trapped more than 6,100 atoms and measured a coherence time of 12.6 seconds. In exchange, atoms and ions compute much more slowly than superconducting chips, as discussed below.

Then there are imprecise operations. Quantinuum specifies a fidelity of 99.921 percent for two-qubit gates on Helios, about eight errors per 10,000 operations, and calls Helios the most accurate quantum computer in the world. The resource estimates for RSA assume a 0.1 percent error rate for every gate.

A simple calculation shows how far that is from a useful computation. Gidney's 2025 estimate for RSA-2048 needs about 6.5 billion Toffoli gates, operations on three qubits each. At 0.1 percent error per operation, something goes wrong after 1,000 operations on average. For the whole computation to succeed, the error rate per logical operation has to be below one in several billion. Roughly seven orders of magnitude separate what the hardware delivers from what Shor demands.

Classical engineering solves this kind of problem with copies and majority votes. That doesn't work for qubits. Since 1982, the no-cloning theorem has established that an unknown quantum state can't be copied. Checking doesn't help either, because measurement destroys the very superposition you're trying to protect.

Many Bad Qubits Make One Good One

The way out came, fittingly, from Peter Shor. In October 1995 he showed in Physical Review A how to spread one qubit across nine entangled qubits in three groups of three. If one of them is disturbed, its group no longer matches the others, and the error can be detected and fixed. That has been the principle of quantum error correction ever since: you don't measure the information itself, only whether neighboring qubits still agree with each other. These check results are called syndromes.

Many physical qubits combined this way form one logical qubit. That only pays off below an error threshold. If the physical errors are above it, the logical qubit gets worse every time the code is made larger. Below it, the logical qubit gets better.

The Surface Code

Most plans rely on the surface code. It arranges data and measurement qubits on a flat grid and only needs connections between direct neighbors. In 2012, Austin Fowler and colleagues showed that it tolerates error rates of up to about one percent per operation. From simulations, they derived a rule of thumb for the logical error rate P_L:

P_L ≈ 0.03 · (p ⁄ pₜₕ)^((d+1)/2)

In words: p is the physical error rate, pₜₕ the threshold, 0.57 percent in their model. d is the code distance, which grows with the side length of the grid. The logical qubit only flips unnoticed once (d + 1)/2 errors line up. If p is below pₜₕ, the ratio is less than one, and each increase in d pushes the logical error down exponentially. The number of physical qubits grows with the square of d.

Google demonstrated this experimentally with Willow. The paper appeared as a preprint in August 2024, Google presented it alongside the chip in December 2024, and it was published in Nature in February 2025. Going from distance 3 to 5 to 7, the logical error dropped by an average factor of Λ = 2.14 at each step. The largest grid used 101 qubits and reached 0.143 percent error per correction cycle. The logical qubit lasted 2.4 times as long as the best individual qubit on the chip. The BSI cites results like these on three different platforms in 2024 and 2025 as a reason to expect a shorter path to a CRQC than the 20 years often quoted in the literature.

Still, 0.143 percent per cycle is one in 700. In 2012, Fowler's group considered logical error rates below 10⁻¹⁴ to 10⁻¹⁵ necessary for Shor's algorithm and arrived at 1,000 to 10,000 physical qubits per logical qubit. If Λ stayed at 2.14, reaching that target would take a distance of around 75, and each logical qubit would consist of more than 10,000 physical ones. The further the physical errors sit below the threshold, the larger Λ becomes and the smaller the code can be, which follows directly from the formula. That's why every resource estimate is so sensitive to the assumed error rate.

Magic States

Some operations can be performed directly on logical qubits in the surface code, such as the controlled NOT, or CNOT. A universal quantum computer also needs operations like the T gate, and the Toffoli gate that Shor's arithmetic runs on can only be built with their help. That requires magic states, which are produced separately, purified, and consumed when used. According to Google, some estimates suggest up to 95 percent of a quantum computer could be busy just making them.

In 2024, Gidney, Noah Shutty and Cody Jones proposed a technique called magic state cultivation. It grows a single state inside one code patch and costs about as much as a logical CNOT gate of the same reliability. At 0.1 percent physical noise, simulations put its error rate at around 2 · 10⁻⁹. In October 2026, Google demonstrated the technique on Willow in Science: about 40 times fewer errors than without cultivation and T states with 99.99 percent logical fidelity, a record by Google's account. That's an error of one in 10,000, nearly five orders of magnitude above the simulated value. Google itself calls it a first step.

Decoding in Real Time

A classical computer has to evaluate the syndromes while the quantum chip keeps running. This decoder has to keep pace with the clock, or the data piles up. On Willow, one correction cycle took 1.1 microseconds, and the real-time decoder for distance 5 had an average latency of 63 microseconds while keeping up for as many as a million cycles. The resource estimates assume a control system reaction time of 10 microseconds. Experiments with simpler repetition codes up to distance 29 revealed another limit: rare correlated error events, roughly once an hour or every three billion cycles, capped the achievable quality.

Denser Codes

The surface code is robust but wasteful, because every logical qubit occupies its own patch of the grid. Quantum low-density parity-check codes (qLDPC) pack several logical qubits into one block. IBM's gross code stores 12 logical qubits in 288 physical ones and, according to IBM, needs a tenth of the qubits the surface code would for the same error correction. The price is connections over longer distances on the chip. Neutral atoms come with that built in, because the atoms can be rearranged with laser tweezers. The BSI considers it possible that well-performing qLDPC demonstrators could shorten the road to a CRQC from about 15 years to roughly 10.

What a CRQC Would Need

The table shows how estimates for attacking RSA-2048 and 256-bit curves have evolved. All of them assume hardware that doesn't exist yet.

YearWorkTargetPhysical qubitsRuntimeKey assumptionsStatus
2012Fowler, Mariantoni, Martinis, Cleland2,000-bit numberabout 1 billionabout 1 daysurface codepeer-reviewed (Phys. Rev. A)
2019Gidney, EkeråRSA-204820 million8 hours0.1% error, 1 µs cycle, surface codepeer-reviewed (Quantum, 2021)
2025GidneyRSA-2048under 1 millionunder 1 week0.1% error, 1 µs cycle, surface codepreprint
2026Webster et al. (Iceberg Quantum)RSA-2048under 100,000about 1 month0.1% error, 1 µs cycle, qLDPC with coupling over bounded distancespreprint
2026Babbush et al. (Google)secp256k1under 500,00018 to 23 minutes0.1% error, 1 µs cycle, surface codepreprint, circuits not published
2026Cain et al. (Oratomic, Caltech)P-25626,000a few daysabout 0.1% error, 1 ms cycle, neutral atoms, qLDPCpreprint
2026Pappalardo et al. (Alice & Bob)RSA-204822,593 cat qubits3.14 days1 µs cycle, 10 µs reaction time, no bit-flip errorspreprint

Gidney's 2025 estimate comes to 897,864 physical qubits, 1,399 logical qubits and 6.5 billion Toffoli gates, with a runtime of just under five days. The jump from 20 million to under a million comes partly from an arithmetic method using approximate residue arithmetic, published by Chevignard, Fouque and Schrottenloher in 2024. The rest comes from savings in error correction: idle logical qubits are stored more densely, and magic states are produced by cultivation. The cost is time. Instead of eight hours, the machine runs for almost a week.

By these numbers, elliptic curves are the easier target. For the discrete logarithm on secp256k1, the curve Bitcoin uses, Google's team estimated in a March 2026 preprint fewer than 1,200 logical qubits with 90 million Toffoli gates, or fewer than 1,450 with 70 million. That's about one percent of the Toffoli gates needed for RSA-2048. Google didn't publish the circuits themselves. After discussions with the U.S. government, it released only a zero-knowledge proof that lets third parties check the claims. The result is a resource estimate whose method nobody outside Google can read, but whose result anyone can verify. For P-256, the paper by Madelyn Cain and colleagues arrives at a few days with 26,000 atomic qubits. RSA-2048 takes one to two orders of magnitude longer on the same machine.

The cat-qubit preprint by Pappalardo and colleagues is not directly comparable with the other estimates. It uses superconducting cat qubits and initially leaves out bit-flip errors entirely. With a bit-flip time of about one hour and an additional error-correction layer, its estimated requirement for RSA-2048 rises to around 45,000 qubits.

Runtime depends heavily on the platform. Google's paper distinguishes fast-clock systems such as superconducting chips, at about one microsecond per correction round, from slow-clock systems such as ions and neutral atoms, which are two to three orders of magnitude slower. A slow CRQC would need days rather than minutes for the same computation. To be just as fast, it would need two and a half million physical qubits for magic states alone instead of 25,000, by Google's calculation. For decrypting recorded data, runtime barely matters. For attacks that have to succeed during a live transaction or connection, it matters a lot.

The five papers from 2025 and 2026 are preprints, and all of them come wholly or partly from companies. That doesn't make them wrong, but independent scrutiny is still pending. The authors are open about their assumptions. Webster and colleagues, for example, assume that qubits can be coupled directly over bounded distances. Cain and colleagues assume a one-millisecond cycle that may still require technological development, and had to extrapolate some error rates from fits because they could no longer be simulated.

Where the Hardware Stands

The table puts the best published figures next to what Gidney's RSA-2048 estimate assumes. The figures come from different chips and can't be added up into one machine.

MetricDemonstrated todayAssumed for RSA-2048 (Gidney 2025)
Physical qubits105 (Google Willow), 98 (Quantinuum Helios)897,864
Error per two-qubit gate0.079% (Helios, vendor figure)0.1% for all gates
Correction cycle time1.1 µs (Willow)1 µs
Logical qubits1 as a distance-7 memory (Willow); 48 at two physical per logical (Helios, vendor figure)1,399
Error per magic state10⁻⁴ (Willow, October 2026)–
Toffoli gates–6.5 billion

The physical qubit count alone is off by a factor of about 8,500. Google itself wrote in May 2025 that quantum computers with relevant error rates currently have only on the order of 100 to 1,000 qubits.

More qubits on a chip are easy to come by; good ones aren't. In December 2023, IBM unveiled Condor, a processor with 1,121 qubits, and announced at the same time that it would focus on making its machines more error-resistant rather than larger. Heron, presented alongside it, had 133 qubits and, according to IBM, up to five times fewer errors than its predecessor.

Two major vendors have picked the same year for their goals. IBM plans to reach 200 logical qubits and 100 million operations with Starling in 2029. A successor called Blue Jay is supposed to manage 2,000 logical qubits and a billion operations, with no year attached. Quantinuum is targeting 2029 for a universal fault-tolerant machine called Apollo and announced in an October 2026 press release a logical fidelity of 99.9995 percent with a color code on Helios. The release doesn't point to a peer-reviewed paper. Measured against the estimates above, Starling would have a sixth to a seventh of the logical qubits needed for secp256k1 or RSA-2048. Blue Jay would be in the right range for logical qubits. Operations and Toffoli gates aren't the same unit, though; one Toffoli gate takes several operations.

Records That Measure Nothing

Factored numbers make a poor progress indicator, and Gidney explains why. The circuit for 15 gets by with 21 entangling gates because almost all multiplications drop out for that number. For 21 it's about 2,405, more than a hundred times as many. With error correction, Gidney estimates the difference at ten thousand times.

In 2025, Peter Gutmann of the University of Auckland and Stephan Neuhaus of the Zurich University of Applied Sciences recreated the existing records in a tongue-in-cheek preprint, using a VIC-20 from 1981, an abacus and a dog named Scribble. Many record numbers are chosen so that their factors sit close together. In the 2048-bit numbers supposedly factored on a D-Wave machine in 2024, the two factors differ by only one or two bits. A square root is enough, and the VIC-20 handles each of the ten numbers in about 16.5 seconds. The dog barks three times for 15 and 21. The authors note that he tends to bark three times regardless of the input. For future records, they propose rules: the numbers should come from an uninvolved third party, have random factors of at least 64 bits that lie far apart, and be factored without preprocessing on classical computers. You pass only after factoring ten such numbers.

The metrics from the table above are more informative. The logical error per cycle and the factor Λ show whether error correction improves as the code distance grows. The number of logical qubits and logical operations shows whether a machine can do more than run a memory. The fidelity of magic states determines what the arithmetic costs. Cycle time and decoder latency decide whether a computation takes minutes or months.

Forecasts and What They Rest On

TR-02102-1 explicitly calls fundamental scientific advances unpredictable, including the development of a CRQC. Any forecast beyond six to seven years is difficult, it says, and even that could turn out to be wrong. Its recommendations therefore only run to the end of 2032.

In version 2.2 of its study on the status of quantum computer development, as of 2025, the BSI considers a CRQC within about 15 years realistic and calls that estimate conservative. Expecting such a machine by 2040 is reasonable, the study says. It builds the 15 years from phases of about five years each, from developing a platform to finalizing it, and arrives at the same figure by extrapolating qubit counts. It sees the main path as a fault-tolerant, improved Shor's algorithm, either on a superconducting system with the surface code or on trapped ions with the color code. With well-performing qLDPC demonstrators, it could be about ten years.

In the Global Risk Institute's Quantum Threat Timeline Report 2025, written by Michele Mosca and Marco Piani, 26 surveyed experts rate a CRQC within ten years as quite possible, at 28 to 49 percent, and within 15 years as likely, at 51 to 70 percent. In March 2026, Google set 2029 as the target for its own migration to post-quantum cryptography, citing among other things the falling resource estimates. Google didn't give a date for a CRQC. Vendor roadmaps, too, are product goals, not forecasts.

What can be documented is the direction. Estimates for RSA-2048 have fallen from a billion physical qubits in 2012 to under a million in 2025, and to under 100,000 in a February 2026 preprint; the October cat-qubit preprint gives 22,593 under its assumption that no bit flips occur. Hardware has demonstrated error correction below threshold. An assessment, not a forecast: the gap is now an engineering problem spanning several orders of magnitude, with both sides moving toward each other. How fast depends on error rates at scale, and nobody has measured those yet.

Assessment

Not a general-purpose accelerator: Quantum computers are fast on problems with the right structure, and factoring and discrete logarithms are among them. Unstructured search gets a quadratic advantage, and no efficient quantum algorithm is known for NP-complete problems.

Qubit counts alone say little: More qubits only help if they stay below the error threshold. A CRQC needs tens to hundreds of thousands of them at once.

Error correction works, at small scale: Logical qubits that improve as code distance grows have been demonstrated, as have magic states at 99.99 percent fidelity. A logical program with billions of operations has not.

Estimates are calculations with assumptions: The low figures from 2025 and 2026 assume, depending on the architecture, around 0.1 percent error or — for cat qubits — no bit flips, plus fast decoders and, for qLDPC, longer-range connections. So far they appear in preprints.

No known CRQC: TR-02102-1 states that currently available quantum computers are "not yet able to break cryptographic schemes." No publicly known machine is close to changing that.

No all-clear: For confidentiality, what counts isn't the day a CRQC arrives but the day the traffic is recorded. Harvest now, decrypt later (HNDL) means recording encrypted traffic today and decrypting it later, and the TR considers this scenario relevant today for data with long-term protection requirements. Classical signatures remain trustworthy until a CRQC exists. Because migrations take a long time, the TR still recommends switching in good time.

Recommendations

For Developers

  • Enable hybrid key establishment such as X25519MLKEM768 in Transport Layer Security (TLS) 1.3 wherever your library offers it. TR-02102-1 currently recommends quantum-safe key establishment only in hybrid mode. In the Beyond Shor Playground, the Shor switch in the attacker view lets you play through what a CRQC changes about a hybrid handshake.
  • Keep algorithms and parameters swappable instead of betting on a date. The Beyond Shor article on crypto-agility shows what that depends on in practice.
  • Judge announcements of quantum records by logical error rate, Λ, the number of logical qubits and operations, and cycle time. Ignore factored numbers and raw qubit counts.
  • Before a resource estimate goes into your own assessments, check which error rate and cycle time it assumes and whether it has been peer-reviewed.

For CISOs, Information Security Officers and Consultants

  • Align the migration with regulatory deadlines rather than Q-Day forecasts. Under TR-02102-1, classical key establishment on its own should only be used until the end of 2031, or until the end of 2030 for very high protection requirements. Classical signatures are expected to remain recommended until the end of 2035.
  • Record the CRQC year in your risk analysis as a documented assumption with a source: 2040 per the BSI study as the baseline, plus the study's qLDPC scenario of about ten years and 2029, the year Google is planning its own migration around. Revisit the assumption with every new version of the BSI study.
  • Protect first the data that must stay confidential beyond 2040. Under every forecast cited here, it's already at risk from recorded traffic. The Q-Day Timeline on Beyond Shor puts milestones and forecasts in chronological order, and the signed Cryptography Bill of Materials (CBOM) at /cbom includes a risk analysis that uses Mosca as its urgency measure.
  • Treat vendor press releases and preprints that haven't been peer-reviewed as pointers, not evidence. Base decisions on government studies and peer-reviewed work, and ask vendors who argue with quantum threats for the metrics in this article.

Conclusion: The Gap Is an Engineering Problem, and It's Closing From Both Sides

As things stand, a quantum computer that breaks RSA or elliptic curves isn't blocked by any known physical barrier. It's missing because error correction so far runs on chips with around a hundred qubits, while an attack needs tens to hundreds of thousands that all stay below the threshold at the same time.

The next few years will bring data points that show how wide the gap still is. IBM's roadmap has Kookaburra in 2026 as the first module that stores information in a qLDPC memory, and entanglement between two modules in 2027. Google has to show that Λ grows at larger distances and that cultivation holds up at scale. The first logical programs with thousands of T gates would be a clearer signal than any new record number. On the other side, resource estimates are likely to keep falling as long as algorithms and codes improve. For the migration, little changes: the deadlines are set, and data leaking today will wait patiently.