EN

Can a quantum computer mine Bitcoin?

“A quantum computer will mine all the remaining bitcoin” is one of the most common quantum myths. Here's why mining is the part of Bitcoin quantum computers threaten least.

Updated 2 min read4 sources
Short answer

In theory yes, in practice not competitively. Mining is a brute-force search for a SHA-256 hash below a target, and Grover's algorithm gives only a quadratic speedup for that kind of search. Quantum computers run each step far slower than a mining ASIC and need heavy error correction, so researchers expect specialised mining hardware to stay far ahead for the foreseeable future. Bitcoin's difficulty adjustment would absorb a faster miner anyway. The real quantum risk is to signatures, not mining.

Mining vs. signatures: two very different problems

Mining (proof of work)Signatures (spending coins)
CryptographySHA-256 hashingECDSA / Schnorr on secp256k1
Best quantum algorithmGrover: square-root speedupShor: breaks it outright
Practical impactSmall; ASICs stay aheadSevere once machines are big enough

Grover's algorithm (1996) finds a needle in a haystack of N items in about √N steps instead of N. Shor's algorithm (1994) turns breaking an elliptic-curve key from impossible into feasible. That difference is why quantum computers are a real threat to Bitcoin's signatures and only a theoretical one to its mining.

Why mining hardware stays ahead

The best-known analysis, Aggarwal et al.'s Quantum attacks on Bitcoin, and how to protect against them, concluded that Bitcoin's proof of work is relatively resistant to substantial quantum speedup, mainly because specialised ASIC miners are extremely fast compared with the expected clock speed of quantum computers. The same paper found Bitcoin's elliptic-curve signatures much more at risk (arXiv).

  • Clock speed: each error-corrected quantum operation takes vastly longer than an ASIC needs to compute a whole hash.
  • Parallelism: Grover's speedup shrinks when the search is split across many machines, while ASIC farms scale simply by adding more chips.
  • Cost: a fault-tolerant quantum computer would be among the most expensive machines ever built. Mining with it would be a poor use of it.

What if a fast quantum miner appeared anyway?

  • Difficulty adjusts. Every 2,016 blocks Bitcoin retunes difficulty so blocks keep arriving about every ten minutes. A faster miner wins a bigger share of blocks; it doesn't speed up issuance.
  • The 21 million cap holds. The supply schedule is enforced by every node. No miner, quantum or not, can create extra bitcoin.
  • Majority attacks are the same risk as always. A miner with over half the network's hash power could reorder recent blocks, quantum or not. That's an economic risk Bitcoin already lives with.

The bottom line: worry about your public key, not about quantum mining. Check whether your address is exposed.

Frequently asked questions

How much bitcoin could a quantum computer mine?

Only its share of the network's hash power, like any other miner. Difficulty adjustment keeps blocks at about ten minutes, and the block reward schedule doesn't change.

Would quantum mining break Bitcoin's 21 million limit?

No. Every node enforces the supply schedule. Mining faster just means winning more of the same fixed rewards.

Could Google's quantum computer mine Bitcoin?

No. Google's Willow chip has 105 physical qubits, nowhere near enough to run Grover's algorithm on SHA-256 at a useful scale, let alone faster than mining chips. More on Google and Bitcoin.

Is SHA-256 quantum safe?

Yes, for practical purposes. Grover's algorithm cuts SHA-256's preimage security to about 128 bits, still far out of reach. Details.

Sources

  1. Grover (1996): A fast quantum mechanical algorithm for database search
  2. Aggarwal et al. (2017): Quantum attacks on Bitcoin, and how to protect against them
  3. Shor (1994): Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer
  4. Google Research (Mar 2026): Safeguarding cryptocurrency by disclosing quantum vulnerabilities responsibly