Abstract

How does Shor’s 1994 quantum algorithm work, and how far is it from breaking RSA-2048 and P-256? Factoring reduces to finding the multiplicative order r of a random unit modulo N; given the true r, a classical step yields a factor with probability at least one half for an RSA modulus. A quantum computer samples information about r by preparing a superposition of exponents, computing modular powers reversibly and applying a quantum Fourier transform, which makes the measured value cluster near multiples of 2^m/r; continued fractions turn good samples into r, with repetition as needed. The same method, framed as the abelian hidden subgroup problem, solves discrete logarithms in finite fields and on elliptic curves. That much is proved: randomized polynomial time on an ideal quantum computer. Physical cost is an engineering estimate under stated assumptions: for RSA-2048, 20 million qubits in a 2019 estimate and under a million in May 2025 under the same assumptions; 2026 estimates for 256-bit curves, mostly secp256k1 with one P-256 figure, are lower still. Google’s December 2024 below-threshold experiment protected one logical qubit with about a hundred physical ones. Timelines are expert opinion. Grover’s search algorithm does far less damage to AES.

Factoring as order finding

Shor’s algorithm is classical number theory around one quantum subroutine, which finds the period of a function.

Let N be the odd composite number to be factored, not a prime power. Shor’s §5 notes that the method needs N odd and not a prime power, and that “finding factors of prime powers can be done efficiently with classical methods”.1 Pick a random integer a with 1 < a < N. If gcd(a, N) > 1, that gcd is already a factor, which for an RSA modulus happens with negligible probability. Otherwise a is a unit modulo N, and its order r is the smallest positive integer with a^r ≡ 1 (mod N). Since the multiplicative group modulo N is finite, r exists and divides the group order φ(N), which is unknown without the factors.

Suppose r is even. Then

a^r − 1 = (a^(r/2) − 1)(a^(r/2) + 1) ≡ 0 (mod N)

so N divides the product of the two brackets. N cannot divide the first bracket, because then a^(r/2) ≡ 1, contradicting the minimality of r. If N also does not divide the second, that is if a^(r/2) ≢ −1 (mod N), then N divides a product without dividing either factor, so it shares a nontrivial factor with each. The Euclidean algorithm computes gcd(a^(r/2) − 1, N) and gcd(a^(r/2) + 1, N) in polynomial time, and both are proper factors.

Shor, crediting the reduction to Miller (1976), states the failure condition exactly: the gcd “fails to be a non-trivial divisor of n only if r is odd or if x^(r/2) ≡ −1 (mod n)”, and the procedure applied to random x “yields a factor of n with probability at least 1−1/2^(k−1), where k is the number of distinct odd prime factors of n”.1 For an RSA modulus, k = 2 and the bound is 1/2. This is a classical probability over the choice of a, assuming the true order r is known. Whether one run of the quantum subroutine returns r is a separate probability, treated below.

The proof sketch in the paper is worth having because it shows where the 1/2 comes from. Write N = p_1^e_1 ··· p_k^e_k. By the Chinese remainder theorem, picking a uniformly from the units modulo N is the same as picking independent uniform units modulo each prime power, and r is the least common multiple of the orders r_i modulo each prime power. Look at the exact power of 2 dividing each r_i. If all r_i are odd, r is odd. If all r_i carry the same power of 2, at least 2, then a^(r/2) ≡ −1 modulo every prime power and hence modulo N. In every other case the algorithm succeeds. Each multiplicative group modulo an odd prime power is cyclic, and Shor notes that for each such group “the probability is at most 1/2” of choosing an element whose order has any particular power of 2 as its largest power-of-2 divisor, so all k agree with probability at most 1/2^(k−1).1

A worked example: N = 21

Take N = 21 = 3 · 7 and a = 2. The powers of 2 modulo 21 run 1, 2, 4, 8, 16, 11, 1, so r = 6. Then 2^3 = 8, which is neither 1 nor −1 ≡ 20 modulo 21, and

gcd(8 − 1, 21) = 7 and gcd(8 + 1, 21) = 3.

Computing the whole unit group (my own calculation, by direct enumeration of powers) shows how often the method works for this N, given the true order:

aorder ra^(r/2) mod 21outcome
11nonefails (r odd)
2687 and 3
43nonefails (r odd)
5620fails (−1)
8287 and 3
106133 and 7
11687 and 3
132133 and 7
163nonefails (r odd)
17620fails (−1)
196133 and 7
20220fails (−1)

Six of the twelve units succeed, exactly the bound of 1/2 under the uniform-unit model of the proof. The selection rule 1 < a < N excludes a = 1, so over the eleven eligible units the rate is 6/11. For N = 15, six of the eight units succeed (six of seven excluding 1); a = 7 has order 4, 7^2 ≡ 4, and gcd(3, 15) = 3, gcd(5, 15) = 5. For N = 35 the count is 18 of 24. With independent choices of a, t attempts all fail with probability at most 2^(−t), so the difficulty sits in computing r.1

No efficient classical method for finding r is known for RSA-sized N. The quantum computer’s contribution is that it can find the period of f(x) = a^x mod N in polynomial time.

The quantum part: period finding

The algorithm uses two registers. The input register holds m qubits, enough to represent exponents 0 to q − 1, with q = 2^m, where Shor takes q to be “the power of 2 with n^2 ≤ q < 2n^2”.1 The output register holds n qubits, where n is the bit length of N, enough to hold a residue modulo N. For N = 21 that means q = 512 (since 441 ≤ 512 < 882), so m = 9 and n = 5. For a 2048-bit RSA modulus, N^2 has 4095 or 4096 bits, so this rule gives m = 4095 or 4096.

Step 1: superposition over exponents

Start the input register in zero and the output register in 1 (the running product used in Step 2), and apply a Hadamard gate to each input qubit. The state is now

(1/√q) Σ_{x=0}^{q−1} |x⟩|1⟩

This costs m gates and sets up the interference the later steps exploit.

Step 2: modular exponentiation as a reversible circuit

Next compute |x⟩|1⟩ → |x⟩|a^x mod N⟩ for all x at once. (Shor summarises the map as starting from |0⟩; the running-product construction below needs the accumulator at 1, as in Coppersmith’s description.2) Quantum circuits are unitary, so this must be built from reversible logic: Toffoli gates (controlled-controlled-NOT), CNOTs and NOTs, with any scratch space returned to zero afterwards so it does not stay entangled with the answer.1

The construction in Shor’s §3 uses repeated squaring. Write x = Σ x_j 2^j. Then a^x = Π a^(x_j 2^j), so the exponentiation is a sequence of m multiplications of the output register by the constants a^(2^j) mod N, the j-th controlled by input bit x_j. The constants are precomputed classically. With schoolbook arithmetic each controlled modular multiplication of an n-bit number costs about n^2 gates, and there are m ≈ 2n of them, giving O(n^3) gates for this construction. Shor writes that longhand multiplication makes modular exponentiation take “O(l^3) time”, using O(l) space, and that the asymptotically faster Schönhage–Strassen method would bring this to O(l^2 log l log log l), though it “does not scale well for small l”.1 The cubic figure is a property of that construction, not a lower bound on factoring; Ekerå and Håstad, for example, shorten the exponent to slightly more than n/2 bits.3

In the resource estimates discussed below, this is the expensive step by a wide margin. Fowler and colleagues, sizing a 2000-bit factoring run in 2012, wrote that it “involves a resource-intensive modular exponentiation that requires approximately 40N^3 ≈ 3 × 10^11 sequential Toffoli gates”, and that the modular exponentiation “thus determines the total execution time”.4 Gidney and Ekerå’s 2019 construction brought the count to 0.3n^3 + 0.0005n^3 lg n Toffolis in the abstract circuit model, a leading cubic term with a small n^3 log n correction.5

Step 3: measure the output register

After exponentiation the state is

(1/√q) Σ_x |x⟩|a^x mod N⟩

Measuring the output register is optional (deferred measurement leaves the final statistics unchanged), but it makes the analysis transparent. Suppose the measurement yields y_0 = a^(x_0) mod N, where x_0 is taken as the least exponent in {0, ..., r − 1} with that value. Because a^x repeats with period r, the input register collapses to an equal superposition of every exponent with that value:

(1/√M) Σ_{j=0}^{M−1} |x_0 + j·r⟩

where M ≈ q/r is the number of such exponents below q. The input register now holds a periodic comb with spacing r and an unknown offset x_0; measuring it directly would reveal nothing.

Step 4: the quantum Fourier transform

The quantum Fourier transform (QFT) on q = 2^m basis states maps

|x⟩ → (1/√q) Σ_{c=0}^{q−1} exp(2πi·xc/q) |c⟩

which is the discrete Fourier transform applied to the vector of amplitudes. Shor calls this matrix A_q and notes that it “is at the heart of our algorithms”.1 Applied to the comb, the amplitude on outcome c is

(1/√(qM)) · exp(2πi·x_0·c/q) · Σ_{j=0}^{M−1} exp(2πi·j·rc/q)

The offset x_0 appears in the phase factor exp(2πi·x_0·c/q), which depends on c but has modulus 1 and so cancels in each outcome’s probability; it also fixes the comb length M when r does not divide q (in the example below, M = 86 for offsets 0 and 1 and 85 for offsets 2 to 5). The remaining sum is a geometric series in ω = exp(2πi·rc/q). When rc/q is close to an integer, the terms nearly align and the sum has magnitude close to M; when rc/q is far from an integer, the terms spread around the unit circle and largely cancel. So the probability concentrates on values of c with rc/q ≈ k for integer k, that is on c near the multiples k·q/r.

If r happened to divide q exactly, the distribution would be supported only on the exact multiples of q/r, each with probability 1/r. In general q/r is not an integer and each peak is smeared over its nearest integers, with smaller sidelobes beyond them. Shor’s analysis (§5, equations 5.7 to 5.13) shows that for each k there is an integer c with |c/q − k/r| ≤ 1/(2q), and that each such pair of c and output value occurs with probability “at least 1/3r^2 for sufficiently large n”; the asymptotic bound is 4/(π^2 r^2).1

A simulated distribution for N = 21

The distribution is small enough to compute exactly for N = 21, a = 2, r = 6 and q = 512. The figures below are my own calculation: for each of the six output values y_0, with comb offset x_0 in {0, ..., 5}, take the squared magnitude of (1/q) Σ_x exp(2πi·xc/q) over the exponents x < 512 with x ≡ x_0 (mod 6), and add the six results. The outcomes with appreciable probability are:

measured cprobabilityc·r/qnearest fraction k/r
00.16670.0000
840.00710.9841/6
850.11400.9961/6
860.02851.0081/6
1700.02851.9921/3
1710.11402.0041/3
1720.00712.0161/3
2560.16673.0001/2
3400.00713.9842/3
3410.11403.9962/3
3420.02854.0082/3
4260.02854.9925/6
4270.11405.0045/6
4280.00715.0165/6

Since q/r = 85.33, the peaks fall at 0, 85.33, 170.67, 256, 341.33 and 426.67. The peaks at 0 and 256 are exact because 512 and 6 share the factor 2; the others are smeared. The integers closest to the six peaks, those within 1/2 of some k·q/r, carry a total probability of 0.789. The remaining 0.211 lies on the other 506 outcomes, including the sidelobes listed in the table.

Step 5: continued fractions

A good measurement outcome is a c with c/q ≈ k/r for an unknown k. Because q ≥ N^2 and r < N, there is at most one fraction with denominator below N within 1/(2q) of c/q, and the continued fraction expansion of c/q finds it in polynomial time.1

Take c = 85. Then 85/512 = [0; 6, 42, 2], with convergents 0, 1/6, 42/253 and 85/512. The last convergent with denominator below 21 is 1/6, so the candidate is r = 6. A classical check confirms 2^6 mod 21 = 1, and the classical reduction above finishes the factoring.

Not every outcome works on its own. If c = 171, then 171/512 = [0; 2, 1, 170], the convergents are 1/2 and 1/3, and the candidate is 3; but 2^3 mod 21 = 8, so 3 is not the order. Here k = 2 and r = 6 share a factor, and the fraction appeared in lowest terms as 1/3. In this case two good samples suffice. A run giving 1/2 (from c = 256) and a run giving 1/3 together yield lcm(2, 3) = 6. The outcome c = 0 carries no information. With the stated distance test, only c = 85 and c = 427 give r directly in this example, with combined probability about 0.228. Shor’s bound, valid for sufficiently large n, is that a single run yields r with probability at least φ(r)/(3r), so O(log log r) repetitions reach any fixed target success probability.1

A toy version of the classical post-processing follows. It keeps samples passing Shor’s closeness test, combines their denominators by least common multiple, verifies the candidate, reduces it to the least exponent that works, and rejects trivial gcds. The closeness test alone cannot certify a denominator: here c = 43 passes it with 1/12, although the order is 6. The reduction loop scans divisors up to the candidate, which is fine for N = 21 but exponential in the bit length of N in general; Shor’s polynomial-time guarantee rests on his analysis of independently sampled candidates, not on this loop.1

from fractions import Fraction
from math import gcd, lcm

def order_from_samples(samples, q, N, a):
    r = 1
    for c in samples:
        f = Fraction(c, q).limit_denominator(N - 1)
        if abs(f - Fraction(c, q)) <= Fraction(1, 2 * q):  # Shor's test
            r = lcm(r, f.denominator)
    if pow(a, r, N) != 1:
        return None                       # take more samples
    for p in range(2, r + 1):             # strip excess factors
        while r % p == 0 and pow(a, r // p, N) == 1:
            r //= p
    return r

def factor_from_order(a, r, N):
    if r % 2 or pow(a, r // 2, N) == N - 1:
        return None
    f = gcd(pow(a, r // 2, N) - 1, N)
    return (f, N // f) if 1 < f < N else None

r = order_from_samples([171, 256], 512, 21, 2)  # 1/3 and 1/2
print(r, factor_from_order(2, r, 21))           # 6 (7, 3)

What the QFT costs

The QFT on m qubits decomposes, like the classical fast Fourier transform, into m Hadamard gates and controlled phase rotations by angles 2π/2^k. Shor’s construction, which he says was “discovered independently by Coppersmith [1994] and Deutsch”, needs l(l − 1)/2 two-qubit gates for q = 2^l, so O(m^2) and hence O(n^2).1

Most of those gates rotate by tiny angles. Coppersmith’s 1994 IBM report defined an approximate Fourier transform that deletes the rotations whose angle falls below a chosen precision; it needs “(log n)(log log n + log 1/ε) operations, where a final precision of ε is required”, against (log n)^2 for the exact transform (his n is the modulus, so log n is proportional to the transform’s bit length), so that “the Fourier transform is no longer the bottleneck of the computation”.2 Shor’s paper adopts it, noting that it “ignores these tiny phase factors”.1 Griffiths and Niu showed in 1995 that the transform before the final measurement can be done semiclassically: the measured value of one bit determines “the type of measurement carried out on the next bit”, so the two-qubit gates are replaced by one-qubit gates controlled by classical signals.6 A related but distinct trick, used in Smolin, Smith and Vargo’s Figure 1, recycles a single control qubit across stages of the exponentiation.7

For Shor’s construction, the overall shape is therefore: O(n^2) or less for the Fourier transform, O(n^3) for modular exponentiation with schoolbook arithmetic, a polynomial number of repetitions, and classical post-processing. The resource estimates below keep this period-finding structure and gain mainly by cheaper arithmetic, shorter exponents and more efficient error correction.

Discrete logarithms and the hidden subgroup frame

Shor’s two-register version

The discrete logarithm problem asks, given a generator g of a cyclic group of known order r and an element h = g^s, for s. NIST lists finite-field and elliptic-curve Diffie–Hellman and MQV key establishment, ECDSA and EdDSA among the quantum-vulnerable algorithms it will deprecate.8

Shor’s method uses two input registers, a and b, and computes f(a, b) = g^a · h^(−b) = g^(a − sb) into a third register. In the finite-field case Shor puts each input register in a uniform superposition over the p − 1 exponents 0 to p − 2, computes g^a x^(−b) (mod p), and then applies the q-point power-of-two Fourier transform to both registers, taking |a, b⟩ to a superposition of |c, d⟩ with phases exp(2πi(ac + bd)/q).1

The function f is constant exactly when a − sb is constant modulo r, that is on cosets of the subgroup H = {(sb, b)} of Z_r × Z_r. In the idealised version with transforms over Z_r, Fourier sampling returns a uniformly random pair (c, d) whose character is trivial on H, meaning cs + d ≡ 0 (mod r). Whenever c is invertible modulo r, s ≡ −d · c^(−1) (mod r). Shor handles the real case, where the transforms are over a power of two rather than r, with an approximation argument similar to the factoring one.1 Boneh and Lipton, he notes, generalised the algorithm to groups that are “abelian but not cyclic”.1

The abelian hidden subgroup problem

Both algorithms are instances of one problem. Let G be a known finite abelian group with a unique encoding of its elements and efficient group operations, and let f be a function on G that is constant on the cosets of an unknown subgroup H and takes distinct values on distinct cosets. The hidden subgroup problem (HSP) asks for H. Quantum Fourier sampling over G returns uniformly random characters of G that are trivial on H, and polynomially many of them determine H with high probability. Order finding lives naturally on the infinite group Z; Shor’s algorithm handles it by truncating to a finite register of q exponents and sampling approximately, which is why its analysis needs the closeness bounds above.

  • Order finding: G = Z (truncated to q exponents), f(x) = a^x mod N, H = rZ. Finding H means finding r.
  • Discrete logarithm: G = Z_r × Z_r, f(a, b) = g^a h^(−b), H generated by (s, 1).
  • Elliptic curves: the same as the discrete logarithm, with the group operation being point addition.

For finite abelian groups the HSP can be solved efficiently on a quantum computer; Childs and van Dam give the sampling and recovery argument.9 That fact breaks RSA, finite-field Diffie–Hellman and elliptic-curve cryptography together, which is one reason NIST’s transition plan treats them as one class of quantum-vulnerable algorithms.8

Why the non-abelian case matters, and why it is open

If the hidden subgroup problem could be solved efficiently in a particular way for the dihedral group D_N, the symmetry group of a regular N-gon, lattice problems would be affected. Regev showed in 2003 that an algorithm solving the dihedral HSP “by coset sampling” would solve the unique shortest vector problem for a polynomial approximation factor; combined with his subset-sum routine, his abstract states a quantum reduction from Θ(n^2.5)-unique-SVP to average-case subset sum.10 The Childs and van Dam review states the stakes for the lattice cryptosystems it discusses: such an algorithm “would be significant since it would break these lattice cryptosystems, which are some of the few proposed cryptosystems that are not compromised by Shor’s algorithm”.9 That reduction is conditional and parameter-specific. The standardized ML-KEM parameter sets are based on Module-LWE.11

The accepted results are subexponential. Kuperberg’s 2003 sieve solves the dihedral HSP with time and query complexity O(exp(C√(log N)));12 his 2011 algorithm, which “supersedes our first algorithm”, runs in exp(O(√(log N))) quantum time and uses O(log N) quantum space but exp(O(√(log N))) classical space.13 Childs and van Dam describe the sieve as “subexponential (though not polynomial)”.9 The status is currently disputed in preprints. On 3 August 2026 Daniel Simon posted “A Polynomial-Time Quantum Algorithm for the Dihedral Coset Problem”, which, combined with Regev’s reduction, would give polynomial-time quantum algorithms for approximate SVP and for some LWE parameters.14 On 15 August 2026 Gupte, Ragavan and Zhandry posted a note arguing that the algorithm “cannot possibly work”, with Lean 4 code for their result;15 Simon’s page records revisions responding to it, the latest dated 3 November 2026.14 In an earlier case, Yilei Chen withdrew on 18 April 2024 his claim of a polynomial-time quantum algorithm for LWE with polynomial modulus-noise ratios, noting that “Step 9 of the algorithm contains a bug, which I don’t know how to fix”; the rest of the preprint remains posted.16 The mathematics that replaces RSA and ECC is covered in Learning with errors: the lattice mathematics under ML-KEM. Whether non-abelian methods can reach lattice problems is an open research question.

Elliptic curves: fewer qubits for the same classical strength

An elliptic curve group over an n-bit prime field has about 2^n points, and Shor’s discrete logarithm algorithm runs over it with the group law (point addition) in place of modular multiplication. In the construction discussed here, point addition uses reversible modular inversion. Proos and Zalka worked this out in 2003, identifying the “main technical difficulty” as implementing Euclid’s gcd algorithm for inverses, whose input-dependent running time creates what they call a “quantum halting problem”. They estimated about 1000 qubits for a 160-bit curve against about 2000 for the comparable 1024-bit RSA modulus.17

Roetteler, Naehrig, Svore and Lauter made the estimate precise in 2017 by simulating Toffoli networks for controlled point addition on the NIST curves. Their general upper bound for an n-bit prime field is 9n + 2⌈log2(n)⌉ + 10 qubits and 448n^3 log2(n) + 4090n^3 Toffoli gates. Their reported figures for P-256, from the simulated point-addition circuit, are 2,330 logical qubits and about 1.26 × 10^11 Toffoli gates for the full algorithm; for comparison, they interpolate earlier factoring circuits to 6,146 qubits and 1.86 × 10^13 Toffolis for a 3072-bit modulus.18 They conclude that ECC is “an easier target than RSA” at comparable classical security.18

The reason is a mismatch between classical and quantum costs. For curves such as P-256 and secp256k1, standard general-purpose classical methods such as Pollard’s rho take time exponential in the bit length of the group order. Classical integer factoring has subexponential algorithms.18 NIST’s key-management guidance accordingly pairs 128-bit security with RSA moduli of 3072 bits and elliptic curve orders of 256 to 383 bits.19 Quantumly, both attacks are polynomial in the size of the numbers being manipulated, and the RSA numbers at that security level are twelve times longer. In the 2017 matched comparison, P-256 needed 2,330 qubits and 1.26 × 10^11 Toffolis against 6,146 qubits and 1.86 × 10^13 for RSA-3072.18 The comparison depends on the circuits compared: Gidney’s 2025 Table 5 lists 2,043 logical qubits for RSA-3072, fewer than Roetteler’s 2017 figure of 2,330 for P-256, though more than the 2026 elliptic curve estimates below.2018

Later work cut the gate counts sharply. On 30 March 2026 Babbush, Gidney and colleagues reported that Shor’s algorithm for the 256-bit elliptic curve discrete logarithm can execute with either at most 1,200 logical qubits and 90 million Toffoli gates or at most 1,450 logical qubits and 70 million Toffoli gates, and that on superconducting hardware with planar connectivity and 10^−3 physical error rates “those circuits can execute in minutes using fewer than half a million physical qubits”.21 The curve studied is secp256k1, the Bitcoin curve, not P-256. The authors did not publish the circuits: “In the interest of responsible disclosure, we use a zero-knowledge proof to validate these results without disclosing attack vectors.”21 The same day Cain and colleagues posted a neutral-atom estimate that does name P-256: with high-rate error-correcting codes, Shor’s algorithm could run “with as few as 10,000 reconfigurable atomic qubits”; their most time-efficient configuration gives about 10 days for a 256-bit curve with about 26,000 qubits and 97 days for RSA-2048 with about 102,000, assuming a 1 ms stabilizer cycle.22 In September 2026 Häner and colleagues, targeting a trapped-ion architecture, reported a circuit with about 1,450 qubits and 40 million Toffoli gates for secp256k1, and an estimated 25.7 days per attempt on 19,397 physical qubits, with 63% success probability per attempt.23 Babbush and colleagues attribute much of such runtime differences to “fast-clock” versus “slow-clock” architectures.21

Grover’s algorithm and symmetric keys

Grover’s 1996 algorithm searches an unstructured space of N items for a marked one in O(√N) steps, against about N/2 classically, and Grover noted it is “within a small constant factor of the fastest possible quantum mechanical algorithm”.24 Zalka later proved it optimal: “for near certain success we have to query the oracle pi/4 sqrt{N} times”.25 Applied to key search, N = 2^k for a k-bit key, and the oracle is a reversible circuit that encrypts known plaintexts under the candidate key and compares with the known ciphertexts. The π/4 count assumes a single marked key, so the oracle must check enough plaintext–ciphertext pairs to make the intended key the only match; for AES-256, with a 128-bit block, treating AES as an ideal cipher, each of the 2^256 − 1 wrong keys matches one pair with probability 2^−128, so about 2^128 false matches are expected. Extra pairs make false matches unlikely, though they do not certify uniqueness. With a unique key, about (π/4)·2^(k/2) oracle queries suffice, so a naive reading says AES-128 drops to 64-bit security. Zalka’s bound counts queries to a unique-item oracle; a practical reversible oracle also pays for encrypting the chosen pairs and uncomputing scratch state, and NIST’s call estimates those full gate costs separately.2526

The naive reading leaves out three things.

First, Grover iterations are serial. Each must finish before the next begins. 2^64 sequential evaluations of a reversible AES circuit is a very long computation for any machine.

Second, parallelism helps only by a square root. Zalka showed that quantum searching “cannot be parallelized better than by assigning different parts of the search space to independent quantum computers”.25 Split the key space into S parts and give each to its own machine. Each searches N/S keys in about √(N/S) iterations, so wall-clock time falls by a factor of √S while the total work, S times √(N/S) = √(NS), rises. Classical brute force parallelises perfectly; Grover does not. In an idealised oracle-depth model where each machine may run at most D iterations, each can search at most about D^2 keys, so S is at least N/D^2 and the total number of queries is about N/D; the advantage over classical search shrinks to a factor of about D.

Third, NIST’s call for proposals noted that envisioned architectures “typically indicate that the cost per quantum gate could be billions or trillions of times the cost per classical gate”, while warning that the disparity might narrow.26

NIST built the first two points into its 2016 call for post-quantum proposals. It suggested that quantum attacks be “restricted to a fixed running time, or circuit depth” called MAXDEPTH, “motivated by the difficulty of running extremely long serial computations”, with plausible values from 2^40 logical gates (“the approximate number of gates that presently envisioned quantum computing architectures are expected to serially perform in a year”) through 2^64 to “no more than 2^96 logical gates”.26 Its estimate for AES-128 key recovery was 2^170/MAXDEPTH quantum gates, against 2^143 classical gates; for AES-256, 2^298/MAXDEPTH.26 With MAXDEPTH = 2^64 that is 2^106 quantum gates for AES-128; with 2^40, 2^130. NIST added that “Grover’s algorithm requires a long-running serial computation, which is difficult to implement in practice”, and that in a realistic attack “one has to run many smaller instances of the algorithm in parallel, which makes the quantum speedup less dramatic”.26

Current guidance differs by context. NIST’s October 2026 transition report says its symmetric standards “are significantly less vulnerable to known quantum attacks than the public-key cryptography standards”, and that “all NIST-approved symmetric primitives that provide at least 128 bits of classical security are believed to meet the requirements of at least Category 1”; it places AES-128, AES-192 and AES-256 in Categories 1, 3 and 5.8 For hashes it distinguishes properties: SHA-256 is rated Category 2 for collision resistance and Category 5 for preimage resistance, SHA-384 Category 4 and 5.8 For US national security systems, NSA’s CNSA 2.0 advisory of September 2022 is stricter for AES: “Use 256-bit keys for all classification levels”, with SHA-384 or SHA-512 for hashing.27

Resource estimates over time

Logical and physical qubits

The polynomial bound in Shor’s paper assumes perfect qubits. The superconducting estimates below model physical gates as failing with probability about 10^−3, a design parameter of those papers rather than a universal hardware figure, while Shor’s algorithm for RSA-2048 needs billions of operations.520 The gap is bridged by quantum error correction: a logical qubit is encoded in many physical qubits, and repeated rounds of measurement (code cycles) detect and correct errors faster than they accumulate. The 2012, 2019 and 2025 RSA estimates cited here use the surface code, which needs only nearest-neighbour connections on a square grid.4520

The ratio depends on the physical error rate and on how reliable each logical qubit must be. Fowler and colleagues, assuming physical error rates about a tenth of the surface code threshold, needed “about 14,500 physical qubits per logical qubit”.4 Gidney’s 2025 estimate uses surface code patches of distance 25 with 2(d + 1)^2 physical qubits each, so 1,352 per active logical qubit.20

Logical qubits for data are only part of the bill. In the cited surface-code designs, Toffoli or T gates are implemented by consuming specially prepared magic states, produced in “factories” that purify noisy copies into good ones; other designs implement them differently.

Fowler et al., 2012: about a billion qubits

For a 2000-bit number, Fowler and colleagues assumed a physical error rate of 10^−3, a measurement time of 100 ns and a surface code cycle of about 200 ns. The computation needed about 4,000 logical qubits (2N) and about 3 × 10^11 sequential Toffoli gates taking 26.7 hours. Magic-state production needed about 1,200 factories of 800,000 physical qubits each. The total: “the full quantum computer needs about a billion physical qubits, operating for about one day”.4

Gidney and Ekerå, 2019: 20 million qubits, 8 hours

Gidney and Ekerå estimated that 2048-bit RSA could be factored “in 8 hours using 20 million noisy qubits”. Their assumptions are stated in the abstract: “a planar grid of qubits with nearest-neighbor connectivity, a characteristic physical gate error rate of 10^−3, a surface code cycle time of 1 microsecond, and a reaction time of 10 microseconds”.5 They combined techniques from about a dozen earlier papers, including Ekerå and Håstad’s 2017 variant of period finding and Griffiths and Niu’s semiclassical transform, and accounted for “factors that are normally ignored such as noise, the need to make repeated attempts, and the spacetime layout of the computation”. The result was a spacetime volume “a hundredfold less than comparable estimates from earlier works”, including Fowler’s, though Fowler’s 2012 estimate assumed a 2000-bit number and a faster code cycle of about 200 ns. In the abstract circuit model their construction uses 3n + 0.002n lg n logical qubits, about 6,200 for n = 2048.5

The Ekerå–Håstad variant matters to everything that followed. Ekerå and Håstad recast factoring an RSA integer as a short discrete logarithm problem; the exponent becomes “slightly more than n/2 bits” against 2n in Shor’s algorithm.3 In Gidney’s presentation, g is chosen at random from the units modulo N and h = g^(N−1) mod N. Because N − 1 = pq − 1 = (p−1)(q−1) + (p + q − 2), and g^((p−1)(q−1)) ≡ 1 for every unit by Euler’s theorem, h equals g^(p+q−2): the identity holds exactly. What succeeds only with high probability is the recovery of the short logarithm d = p + q − 2 from the samples, after which p and q come from the quadratic p(d − p + 2) = N. One register has n/2 + ⌈n/(2s)⌉ qubits and a second ⌈n/(2s)⌉, so the input totals n/2 + 2⌈n/(2s)⌉ qubits, and at least s + 1 runs are combined in classical post-processing.20

Gidney, May 2025: under a million qubits, under a week

On 21 May 2025 Gidney posted an estimate that “a 2048 bit RSA integer could be factored in less than a week by a quantum computer with less than a million noisy qubits”, making “the same assumptions as in 2019”: square grid, nearest-neighbour connections, 0.1% gate error, 1 µs code cycle, 10 µs reaction time.20 Because the hardware assumptions are the same in the 2019 and 2025 papers, the twentyfold reduction in qubits between those two estimates comes from algorithms and error-correction engineering. Gidney attributes it to three things:20

  • Approximate residue arithmetic. In 2024 Chevignard, Fouque and Schrottenloher found a way to compute approximate modular exponentiations using only small intermediate values, removing the need for an n-qubit accumulator. Combined with Ekerå–Håstad, their method needs about (0.5 + ε)n logical qubits but roughly 2 trillion Toffolis; Gidney’s paper reduces the Toffoli count “by over 100x” relative to theirs.20
  • Yoked surface codes. Idle logical qubits, which is most of them most of the time, are kept in “cold storage” protected by an extra layer of parity checks across patches. Cold qubits need 430 physical qubits each against 1,352 for active ones.20
  • Magic state cultivation. A newer technique for growing T states replaces the first stage of distillation, so the factories take less room.20

Table 5 of the paper gives, for n = 2048, 1,399 logical qubits and about 6.5 × 10^9 Toffoli gates per factoring, over an expected 9.2 shots.20 The physical layout comes to 897,864 physical qubits, which Gidney reports as one million for slack. Each shot takes about 12 hours; allowing for repeated shots and a 93.3% chance that a shot has no logical error, the paper estimates just under five days per factoring and rounds that up to a week. (Its runtime arithmetic uses 9.1 shots where Table 5 lists 9.2.)20 The runtime is longer than in 2019 because the new construction performs more Toffoli gates (Gidney gives 3 billion as the 2019 figure) and uses fewer magic state factories.20

A selection of estimates

EstimateTargetLogical qubitsToffoli gatesPhysical qubitsTime
Fowler et al. 2012RSA-2000about 4,000about 3 × 10^11 (sequential)about 1 billionabout 1 day
Gidney and Ekerå 2019RSA-2048about 6,200about 3 × 10^920 million8 hours
Gidney 2025RSA-20481,3996.5 × 10^9under 1 millionunder 1 week
Roetteler et al. 2017P-2562,3301.26 × 10^11not estimatednot estimated
Babbush et al. 2026secp256k1at most 1,200 or 1,450at most 9 × 10^7 or 7 × 10^7under 500,000minutes
Cain et al. 2026 (neutral atom)256-bit curve (P-256 in abstract)not used herenot used hereabout 26,000about 10 days
Häner et al. 2026 (trapped ion)secp256k1about 1,450about 4 × 10^719,39725.7 days per attempt (63% success)
Pappalardo et al. 2026 (cat qubits)RSA-2048not stated in abstractnot stated in abstractabout 23,000 cat qubits3.14 days

Sources: Fowler et al.4, Gidney and Ekerå5, Gidney20, Roetteler et al.18, Babbush et al.21, Cain et al.22, Häner et al.23, Pappalardo et al.28. The rows are not like for like. Fowler assumes a 2000-bit number, 10^−3 errors and a cycle of about 200 ns; the 2019 and 2025 RSA rows assume 10^−3 errors and a 1 µs cycle; the elliptic curve rows change the target, the architecture and in some cases the noise model; times are end-to-end estimates that include repeated shots where the paper does. The cat-qubit row assumes phase-flip noise of 5 × 10^−4 and no bit flips; the same paper reports “RSA-2048 runs in 1.25 hours on about 611 000 cat qubits”.28

Two things stand out. Between the 2019 and 2025 superconducting RSA estimates, which share their hardware assumptions, the physical qubit count fell twentyfold. The other rows differ in target and assumptions, so no single trend line runs through them. And each estimate is conditional: on the stated error rates across tens or hundreds of thousands of qubits, on cycle times sustained for hours or days, and on classical decoding fast enough to keep up. None of those conditions has been demonstrated at that scale.

What has been demonstrated

Factoring 15 and 21

In December 2001 Vandersypen and colleagues reported in Nature “the simplest instance of Shor’s algorithm: factorization of N = 15”, using seven nuclear spins in a molecule as qubits, manipulated by liquid-state NMR.29 Later experiments factored 15 on other platforms and then 21.7

In 2013 Smolin, Smith and Vargo of IBM published “Oversimplifying quantum factoring” in Nature, pointing out that these experiments “have used simplifications dependent on knowing the factors in advance”.30 Their arXiv version explains the trick. Experiments “compiled” the circuit by building it around bases a with short periods: the 2001 experiment used a = 11 (period 2) and a = 7 (period 4), and the factoring of 21 used a = 4, period 3.7 A randomly chosen base can have a short order by chance; the problem is designing the circuit around a period already known, whether from the factors, as in Smolin’s construction, or by direct computation, as with 4^3 ≡ 1 (mod 21). A circuit that encodes the answer to order finding does not demonstrate order finding. They showed that for any product of two distinct odd primes there is a base with period 2, which reduces the quantum circuit to two qubits and one CNOT, and that the resulting output distribution could be produced “by tossing an unbiased coin”. Their Figure 3 “factors” 15 and a 20,000-bit number with US quarters and RSA-768 with a 1968 penny.7 Their verdict: “it is not legitimate for a compiler to know the answer to the problem being solved”, and experiments “should be judged not by the size of the number factored but by the size of the period found”.7

A different kind of small experiment keeps the arithmetic. In October 2026 Gomes dos Santos and colleagues reported runs on IBM superconducting devices for N in {51, 85, 255, 771} in which “modular exponentiation is kept explicit as a sequence of controlled modular multiplications”. They state that the approach “relies on strong prior structural knowledge”: the moduli are products of Fermat primes, chosen so that the multiplication constants reduce to identities or powers of two. They report Hellinger fidelities up to 0.946 for N up to 255 and degradation from circuit depth and noise at N = 771.31 They test quantum arithmetic, not factoring of general moduli.

The 372-qubit claim

On 23 December 2022 Yan and colleagues posted a preprint combining Schnorr’s classical lattice-based factoring method with the quantum approximate optimisation algorithm (QAOA), a heuristic for noisy hardware. They reported factoring integers up to 48 bits with 10 superconducting qubits and estimated that “a quantum circuit with 372 physical qubits and a depth of thousands is necessary to challenge RSA-2048 using our algorithm”.32 This is not Shor’s algorithm, and it comes with no proof of polynomial running time.

The rebuttals came from implementation. In July 2023 Khattar and Yosri released an open-source implementation and showed that “even if we had a perfect quantum optimizer (instead of a heuristic like QAOA), the proposed claims don’t hold true”: the method “successfully factors integers only up to 70 bits and fails to find enough factoring relations for random 80 bit integers and beyond”.33 Their result concerns the specific sublinear lattice construction proposed.

Error-correction milestones, 2024–2026

In a Nature paper published online on 9 December 2024 Google Quantum AI reported “two below-threshold surface code memories” on two Willow processors: on a 105-qubit processor, a 101-qubit distance-7 code whose logical error rate was 0.143% per cycle of error correction, suppressed by a factor of 2.14 each time the code distance increased by 2, and on a separate 72-qubit processor a distance-5 code “integrated with a real-time decoder”, with an average decoder latency of 63 microseconds; the cycle time was 1.1 microseconds.34 Google’s announcement describes Willow as a 105-qubit chip.35

In October 2026 a preprint reported below-threshold operation of triangular color codes of distance 3, 5 and 7 on Quantinuum’s Helios trapped-ion processor, with logical error rates as low as about 5 × 10^−6 and suppression by a factor of about 12 per step in distance.36 Architecture, code and error measure differ from Willow’s, so the numbers are not directly comparable.

Willow’s distance-7 memory protected one logical qubit on about a hundred physical qubits, at about 1.4 × 10^−3 logical error per cycle. Gidney’s 2025 RSA-2048 model calls for about 900,000 physical qubits, more than 1,000 simultaneous logical qubits, a modelled target of 10^−15 logical error per patch per round, continuous magic-state production and several days of operation.20 Between that experiment and that model the gap is about four orders of magnitude in qubit count and about twelve in logical error rate, before counting logical operations. In a preprint first posted in September 2025, Rines and colleagues reported running a precompiled order-finding circuit for N = 15 and a = 11 on logical qubits using a 114-qubit neutral-atom device, with loss correction and leakage detection.37 It is not scalable fault-tolerant factoring.

Mathematics, engineering and opinion

Proved. Shor’s algorithms are randomized algorithms that factor integers and compute discrete logarithms using a number of steps polynomial in the input size on “a hypothetical quantum computer”, meaning an ideal one in the circuit model.1 The order-finding reduction, the success probabilities, the continued fraction step and the abelian HSP framework are theorems, as is the optimality of Grover’s algorithm for unstructured search.25

Research status. That no polynomial-time quantum algorithm is known for the lattice problems behind ML-KEM is a statement about the literature on a date, not a theorem; as of November 2026 one preprint claims a polynomial-time algorithm for the dihedral coset problem and another claims to refute it.1415

Engineering estimate. Resource counts such as Gidney’s under a million noisy qubits for under a week are calculations from explicit assumptions about error rates, connectivity, cycle times, decoder latency and the cost of magic states, and they are as good as those assumptions. Within one paper’s abstract circuit model, logical qubit and Toffoli counts can be compared across problem sizes and are independent of the hardware; across papers they also depend on the gate set and on what the authors chose to optimise, which is why Gidney’s RSA-3072 and Roetteler’s P-256 logical counts point in a different direction from the 2017 RSA-versus-ECC comparison.2018 Physical counts and runtimes depend on the hardware model, which trades space for time: compare the trapped-ion and superconducting rows of the table above.2321

Opinion. When a cryptographically relevant quantum computer (CRQC) will exist is a forecast. The Global Risk Institute’s Quantum Threat Timeline Report 2025, by Michele Mosca and Marco Piani of evolutionQ and published on 9 March 2026, reports a 2025 survey of 26 experts asked how likely it is that “a quantum computer able to factorize a 2048-bit number in less than 24 hours” will be built within 5, 10, 15, 20 and 30 years.38 Respondents picked likelihood bins; averaging the lower ends of the bins gives about 28% for the next 10 years, and averaging the upper ends gives 49%.38 Those are the endpoints behind the report’s summary that a CRQC is “quite possible (28-49%) within the next 10 years, and likely (51-70%) in the next 15”, not a confidence interval.39 Half of respondents (13 of 26) put the 10-year likelihood at about 50% or more, and the rest lower.38 These are aggregated subjective probabilities, useful as a reading of informed opinion and no more.

What follows for practitioners

  • Harvest now, decrypt later is a present risk for key establishment. Where a recorded session’s confidentiality rests on RSA or (EC)DH key establishment, an attacker who keeps the handshake and ciphertext could decrypt it later with a machine able to solve that instance. The exposure of long-lived secrets therefore depends on when they were sent. NIST’s transition report cites this threat in prioritising quantum-resistant key establishment, “particularly in interactive protocols like TLS and Internet Key Exchange (IKE)”.8 Governance of that exposure is covered in Harvest now, decrypt later: governing the post-quantum cryptography migration.
  • RSA and elliptic curves are on the same standards timetable. Both fall to the abelian HSP, and NIST will deprecate quantum-vulnerable RSA, finite-field and elliptic-curve schemes after 2030 and disallow them under its standards after 2035, while noting that application-specific guidance “may specify earlier transitions”.8
  • Symmetric primitives fare far better. NIST rates approved symmetric primitives with at least 128-bit classical security at Category 1 or above, and rates hash functions separately for collision and preimage resistance; NSA requires AES-256 and SHA-384 or SHA-512 for national security systems.827
  • Signatures matter on a different timeline. A forged signature needs a CRQC at the time of forgery, while a recorded session can be decrypted whenever one arrives, so signature priorities depend on the lifetime of trust anchors, firmware and long-lived credentials; NIST’s report singles out critical trust infrastructure such as PKI-based credentials as needing “significant and sustained effort”.8

On 25 November 2026 the European Commission published its proposal for a Quantum Act, COM(2026) 965.40 By default, Article 21 would require specified public administration entities within the scope of the NIS2 Directive, in procurement procedures started from six months after entry into force, to buy only products and services that “support post-quantum cryptography and crypto-agility”, for products and services with digital elements identified by the criticality of their systems. Where suitable PQC solutions are unavailable for a function, contracts may be awarded only for products or services that support crypto-agility and include a documented migration plan. A limited exception for a component or function requires technically infeasible crypto-agility, a documented assessment showing no suitable secure alternative, and compensating measures. Applicable PQC requirements still apply.41 It is a proposal, not adopted law.

For why factoring and discrete logarithms were thought hard classically, see Secrecy as mathematics; for where quantum algorithms sit in complexity theory, see What computers cannot do, and what they cannot do quickly.

Conclusion

Shor’s algorithm turns factoring into order finding, a reduction that, given the true order, yields a factor at least half the time for an RSA modulus, and finds the order with a Fourier transform over a superposition of exponents, followed by continued fractions and repetition as needed. The same idea solves the abelian hidden subgroup problem, covering discrete logarithms in finite fields and on elliptic curves. That much is proved for an ideal quantum computer. Whether related methods reach the non-abelian groups tied to lattice problems is open: the accepted dihedral algorithms are subexponential, and a 2026 polynomial-time claim is disputed in preprints.

Machine size is an engineering question. For RSA-2048 under the same superconducting assumptions, estimates fell from about 20 million physical qubits in 2019 to under a million in 2025; 2026 estimates for 256-bit curves range from under half a million superconducting qubits for minutes to about 26,000 neutral atoms for about 10 days. Google’s Willow distance-7 memory of December 2024 protected one logical qubit with about a hundred physical ones. In the 2025 Global Risk Institute survey, the averaged likelihood of factoring RSA-2048 within 24 hours by about 2035 was 28% to 49%, depending on how answers were read. RSA and ECC share a standards timetable, with key establishment prioritised; AES and the SHA-2 and SHA-3 families face much smaller quantum speed-ups.

Footnotes

  1. Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, arXiv quant-ph/9508027, v2 of 25 January 1996 (expanded from FOCS 1994, pp. 124–134); §§3–6. https://arxiv.org/abs/quant-ph/9508027 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18
  2. D. Coppersmith, An approximate Fourier transform useful in quantum factoring, IBM Research Report (1994), posted as arXiv quant-ph/0201067, 16 January 2002. https://arxiv.org/abs/quant-ph/0201067 (opens in a new tab) ↩1 ↩2
  3. Martin Ekerå and Johan Håstad, Quantum algorithms for computing short discrete logarithms and factoring RSA integers, arXiv 1702.00249, 1 February 2017. https://arxiv.org/abs/1702.00249 (opens in a new tab) ↩1 ↩2
  4. Austin G. Fowler, Matteo Mariantoni, John M. Martinis and Andrew N. Cleland, Surface codes: Towards practical large-scale quantum computation, arXiv 1208.0928, 4 August 2012 (Physical Review A 86, 032324, 2012); introduction and Appendix M. https://arxiv.org/abs/1208.0928 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  5. Craig Gidney and Martin Ekerå, How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits, arXiv 1905.09749v3, first posted 23 May 2019 (published in Quantum, 2021); quotations from the v3 abstract. https://arxiv.org/abs/1905.09749v3 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  6. Robert B. Griffiths and Chi-Sheng Niu, Semiclassical Fourier Transform for Quantum Computation, arXiv quant-ph/9511007, 7 November 1995. https://arxiv.org/abs/quant-ph/9511007 (opens in a new tab) ↩
  7. John A. Smolin, Graeme Smith and Alex Vargo, Pretending to factor large numbers on a quantum computer, arXiv 1301.7007, 29 January 2013 (preprint of the Nature paper); §§2–4, Figures 1 and 3. https://arxiv.org/abs/1301.7007 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  8. Dustin Moody, Ray Perlner, Andrew Regenscheid, Angela Robinson and David Cooper, Transition to Post-Quantum Cryptography Standards, NIST IR 8547, October 2026, §§4.1–4.2 and Tables 4, 6 and 8. https://nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  9. Andrew M. Childs and Wim van Dam, Quantum algorithms for algebraic problems, arXiv 0812.0380, 2 December 2008 (review); sections on lattice problems and the Kuperberg sieve. https://arxiv.org/abs/0812.0380 (opens in a new tab) ↩1 ↩2 ↩3
  10. Oded Regev, Quantum Computation and Lattice Problems, arXiv cs/0304005, 1 April 2003. https://arxiv.org/abs/cs/0304005 (opens in a new tab) ↩
  11. NIST, FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard, August 2024. https://csrc.nist.gov/pubs/fips/203/final (opens in a new tab) ↩
  12. Greg Kuperberg, A subexponential-time quantum algorithm for the dihedral hidden subgroup problem, arXiv quant-ph/0302112, 14 February 2003. https://arxiv.org/abs/quant-ph/0302112 (opens in a new tab) ↩
  13. Greg Kuperberg, Another subexponential-time quantum algorithm for the dihedral hidden subgroup problem, arXiv 1112.3333, 14 December 2011. https://arxiv.org/abs/1112.3333 (opens in a new tab) ↩
  14. Daniel R. Simon, A Polynomial-Time Quantum Algorithm for the Dihedral Coset Problem, IACR Cryptology ePrint Archive 2026/1591, received 3 August 2026, last revised 3 November 2026 (preprint, with author notes responding to 2026/1693). https://eprint.iacr.org/2026/1591 (opens in a new tab) ↩1 ↩2 ↩3
  15. Aparna Gupte, Seyoon Ragavan and Mark Zhandry, The ePrint:2026/1591 Quantum Algorithm Does Not Solve DCP, IACR Cryptology ePrint Archive 2026/1693, received 15 August 2026, revised 1 September 2026 (preprint). https://eprint.iacr.org/2026/1693 (opens in a new tab) ↩1 ↩2
  16. Yilei Chen, Quantum Algorithms for Lattice Problems, IACR Cryptology ePrint Archive 2024/555, April 2024, with the author’s update note of 18 April 2024. https://eprint.iacr.org/2024/555 (opens in a new tab) ↩
  17. John Proos and Christof Zalka, Shor’s discrete logarithm quantum algorithm for elliptic curves, arXiv quant-ph/0301141, 25 January 2003. https://arxiv.org/abs/quant-ph/0301141 (opens in a new tab) ↩
  18. Martin Roetteler, Michael Naehrig, Krysta M. Svore and Kristin Lauter, Quantum resource estimates for computing elliptic curve discrete logarithms, arXiv 1706.06752v3, 31 October 2017 (first posted 21 June 2017). See the abstract, introduction, §2.1 and Table 2. https://arxiv.org/abs/1706.06752v3 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
  19. NIST, Recommendation for Key Management: Part 1 – General, SP 800-57 Part 1 Revision 5, May 2020, Table 2. https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf (opens in a new tab) ↩
  20. Craig Gidney, How to factor 2048 bit RSA integers with less than a million noisy qubits, arXiv 2505.15917, 21 May 2025; abstract, introduction, §2.3 (Ekerå–Håstad period finding), Table 5 and §3.2 (physical costs). https://arxiv.org/abs/2505.15917 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16
  21. Ryan Babbush, Adam Zalcman, Craig Gidney and others, Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities: Resource Estimates and Mitigations, arXiv 2603.28846v2, 15 April 2026 (first version 30 March 2026); abstract of the PDF, which gives inclusive bounds. https://arxiv.org/pdf/2603.28846v2 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  22. Madelyn Cain, Qian Xu, Robbie King and others, Shor’s algorithm is possible with as few as 10,000 reconfigurable atomic qubits, arXiv 2603.28627, 30 March 2026; abstract, main text and Fig. 3. https://arxiv.org/abs/2603.28627 (opens in a new tab) ↩1 ↩2
  23. Thomas Häner, Felix Tripier, Jacob Young, Michael Naehrig and others, Computing 256-bit elliptic curve discrete logarithms in 26 days on a fault-tolerant trapped-ion quantum computer with 20,000 qubits, arXiv 2609.05625, 4 September 2026. https://arxiv.org/abs/2609.05625 (opens in a new tab) ↩1 ↩2 ↩3
  24. Lov K. Grover, A fast quantum mechanical algorithm for database search, arXiv quant-ph/9605043, 29 May 1996. https://arxiv.org/abs/quant-ph/9605043 (opens in a new tab) ↩
  25. Christof Zalka, Grover’s quantum searching algorithm is optimal, arXiv quant-ph/9711070, 26 November 1997 (Physical Review A 60, 2746, 1999). https://arxiv.org/abs/quant-ph/9711070 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  26. NIST, Submission Requirements and Evaluation Criteria for the Post-Quantum Cryptography Standardization Process (call for proposals), December 2016, §4.A.5, pp. 17–18. https://csrc.nist.gov/CSRC/media/Projects/Post-Quantum-Cryptography/documents/call-for-proposals-final-dec-2016.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  27. National Security Agency, Cybersecurity Advisory: Announcing the Commercial National Security Algorithm Suite 2.0, September 2022, Table II (Wayback Machine copy of 27 December 2024; the defense.gov original refused automated access). https://web.archive.org/web/20241227092021id_/https://media.defense.gov/2022/Sep/07/2003071834/-1/-1/0/CSA_CNSA_2.0_ALGORITHMS_.PDF (opens in a new tab) ↩1 ↩2
  28. Axel Pappalardo, Dahmun Goudarzi, Victor Hertz and others, Shor’s algorithm compiled on cat qubits: 22 593 qubits for RSA-2048 in 3.14 days, arXiv 2610.37839, 27 October 2026. https://arxiv.org/abs/2610.37839 (opens in a new tab) ↩1 ↩2
  29. Lieven M. K. Vandersypen, Matthias Steffen, Gregory Breyta and others, Experimental realization of Shor’s quantum factoring algorithm using nuclear magnetic resonance, Nature 414, 883–887, December 2001. https://www.nature.com/articles/414883a (opens in a new tab) ↩
  30. John A. Smolin, Graeme Smith and Alexander Vargo, Oversimplifying quantum factoring, Nature 499, 163–165, published 10 July 2013. https://www.nature.com/articles/nature12290 (opens in a new tab) ↩
  31. Fábio Gomes dos Santos, Luis Antonio Kowada and others, Factoring some integers using Shor’s algorithm on real quantum hardware, Scientific Reports, published 9 October 2026. https://www.nature.com/articles/s41598-026-69823-6 (opens in a new tab) ↩
  32. Bao Yan, Ziqi Tan, Shijie Wei and others, Factoring integers with sublinear resources on a superconducting quantum processor, arXiv 2212.12372, 23 December 2022. https://arxiv.org/abs/2212.12372 (opens in a new tab) ↩
  33. Tanuj Khattar and Noureldin Yosri, A comment on “Factoring integers with sublinear resources on a superconducting quantum processor”, arXiv 2307.09651, 18 July 2023. https://arxiv.org/abs/2307.09651 (opens in a new tab) ↩
  34. Google Quantum AI and collaborators, Quantum error correction below the surface code threshold, Nature 638, 920–926, published online 9 December 2024. https://www.nature.com/articles/s41586-024-08449-y (opens in a new tab) ↩
  35. Hartmut Neven, Meet Willow, our state-of-the-art quantum chip, Google blog (company announcement, used for context), 9 December 2024. https://blog.google/technology/research/google-willow-quantum-chip/ (opens in a new tab) ↩
  36. Ali Lavasani, Adam P. Reed, Joan M. Dreiling and others, Quantum error correction well below the color code threshold, arXiv 2610.24077, 16 October 2026 (preprint). https://arxiv.org/abs/2610.24077 (opens in a new tab) ↩
  37. Rich Rines, Benjamin Hall, Mariesa H. Teo, Joshua Viszlai and others, Demonstration of a Logical Architecture Uniting Motion and In-Place Entanglement, arXiv 2509.13247v2, revised 2 April 2026 (first posted 16 September 2025). See the abstract and §III. https://arxiv.org/abs/2509.13247 (opens in a new tab) ↩
  38. Michele Mosca and Marco Piani, Quantum Threat Timeline Report 2025 (full report), Global Risk Institute and evolutionQ, published 9 March 2026; §2, §4 and key findings. https://globalriskinstitute.org/mp-files/pdf-quantum-threat-timeline-report-2025.pdf/ (opens in a new tab) ↩1 ↩2 ↩3
  39. Michele Mosca and Marco Piani, Quantum Threat Timeline Report 2025, Global Risk Institute and evolutionQ, published 9 March 2026. https://globalriskinstitute.org/publication/quantum-threat-timeline-report-2025b/ (opens in a new tab) ↩
  40. European Commission, Proposal for a Quantum Act, COM(2026) 965, Shaping Europe’s digital future, 25 November 2026. https://digital-strategy.ec.europa.eu/en/library/proposal-quantum-act (opens in a new tab) ↩
  41. European Commission, Proposal for a Regulation (Quantum Act), COM(2026) 965 final, as transmitted to the Council on 25 November 2026 (Council document 16438/26), Article 21. https://publications.europa.eu/resource/cellar/7d903458-e8f5-11f1-b745-01aa75ed71a1.0001.02/DOC_1 (opens in a new tab) ↩