The curve bitcoin uses
Every bitcoin signature relies on the discrete-logarithm problem on the elliptic curve secp256k1, which makes a private key infeasible to recover from its public key. A classical computer needs about 2128 operations to solve it, but Shor's algorithm could solve it in practical time on a large error-corrected quantum computer. Every coin with a visible public key would then be at risk, and those are the keys we count. Grover's algorithm, the other quantum method often named, weakens hashes and does not threaten keys, so it plays no part in our exposure figure.
The curve and the discrete-log problem
A bitcoin private key is a number k; the public key is the point k·G on
secp256k1. Computing the point from k is easy. Reversing it is the
discrete-logarithm problem, which takes a classical computer about 2128 operations.
When each type of key becomes visible
- Pay-to-public-key (P2PK): from creation.
- Taproot (Schnorr, 64-byte signatures): from creation, because every Taproot output writes its tweaked output key Q, a public key derived from the owner's key, into its output script.
- Key-hash addresses (P2PKH, P2WPKH): on the first spend. Coins later sent to a reused address are exposed on arrival.
ECDSA (the Elliptic Curve Digital Signature Algorithm) signs legacy and SegWit v0 spends. Schnorr signs Taproot spends. Both use the same curve, so Shor's algorithm breaks both.
Shor's algorithm breaks the curve
On a large error-corrected quantum computer, Shor's algorithm solves the discrete-logarithm problem in practical time. Published estimates of the machine size required keep falling. A logical qubit is one error-corrected qubit built from many physical qubits. A Toffoli gate is a basic quantum operation; fewer gates means a shorter run.
| Estimate | Year | Logical qubits | Toffoli gates |
|---|---|---|---|
| Proos and Zalka, 160-bit key | 2003 | About 1,000 | Not in the abstract |
| Roetteler et al., n-bit key | 2017 | ≤ 9n + 2⌈log2 n⌉ + 10 | ≤ 448n3 log2 n + 4090n3 |
| Babbush et al., 256-bit key | 2026 | Under 1,200 (or under 1,450) | Under 90 million (or 70 million) |
A second 2026 paper (Cain et al.) puts Shor's algorithm within reach of a neutral-atom machine with as few as 10,000 physical qubits, but the run takes longer. For timing, see Attack surface.
Grover's algorithm does not threaten keys
Grover's algorithm speeds up searching, so it weakens hashes: a SHA-256 preimage drops from about 2256 to 2128 steps. That matters for mining and does not affect keys. In practice Grover's algorithm is slow and does not parallelize. Dan Boneh called it "borderline fictitious" at the August 2026 workshop. Our measurement leaves Grover's algorithm out, and a source that confuses the two algorithms is making the most common error in coverage of this subject.
Sources Secp256k1 (SEC 2 parameters) · BIP-340 · Shor quant-ph/9508027 · Proos–Zalka quant-ph/0301141 · Roetteler et al. 1706.06752 · Babbush et al. 2603.28846 · Cain et al. 2603.28627 · Boneh, Aug 2026 · Accessed 2026-11-03 · Review due 2027-02-03