Bitcoin and quantum computing
Analyses near-term quantum threats to Bitcoin across mining (Grover on SHA-256), ECDSA spending exposure, and quantum-driven forks; concludes impact is small now.
Schemes: SHA-256, RIPEMD-160, ECDSA, Grover search, Shor's algorithm (ECDSA variant), Lamport signatures, Qubitcoin
Findings (quotes checked against the source text)
-
Quantum mining via Grover search only has a quadratic speedup, so the advantage is capped at a factor of 2^256/T and classical parallel mining can match it.
The problem is that the quantum advantage doesn’t exceed the factor 2256 / T , no matter how many qubits one has.
-
Public keys are hidden behind addresses, so ECDSA exposure only arises after a key is revealed in a spend, making address rotation a temporary mitigation.
Since the public key is only revealed when the Bitcoins are spent, it becomes vulnerable to an attack by a quantum computer only after the public key is revealed in a transaction.
-
Pending-transaction attack on ECDSA needs roughly 2330 qubits and 1.26e11 Toffoli gates per Roetteler et al., requiring about 350 MHz gate speed.
More recently Roetteler et Al finds that 2330 qubits are needed and 1.26 * 10^11 Toffoli gate operations are required
-
Post-quantum schemes lack proofs of security, and lattice problems like SVP may eventually fall to quantum algorithms, so a migration path must be kept open.
Having said this, in general there is no proof that any of the post-quantum methods are actually secure against a quantum computer.
-
Replacing ECDSA via a hard fork is argued to be less controversial than block-size debates because ECDSA is not essential to Bitcoin's purpose or design.
However, unlike contentious points of debate such block size, no one is under the illusion that ECDSA is an essential part of Bitcoin’s purpose or design.
Numbers (as extracted, not quote-checked)
- Quantum hash rate for profitable quantum mining: 48 kilo-hashes/s
- Classical best mining hardware hash rate (at time of writing): 125 kilo-hashes/s
- Quantum computers needed at 3 kH/s to match best classical miner: 1300
- Proos-Zalka ECDSA-256 estimate: qubits: 1500 qubits
- Roetteler et al. ECDSA-256 estimate: qubits: 2330 qubits
For builders
Treat the paper's 2017 ECDSA and address-reuse analysis as background only; its key transferable point is that a hash-based or PQ signature migration is a fork that the community is likely to accept.
Limits
Pre-NIST-standardization 2017 analysis; resource numbers are outdated; no PQ scheme is evaluated; Qubitcoin section is speculative.
Topics: threat-model quantum-resource-estimates bitcoin-migration hash-functions chain-design consensus survey