Bitcoin & the Quantum Problem
A science experiment · Launched on Meteora

Can Bitcoin survive a quantum computer?

Bitcoin's coins are guarded by one hard math problem. A large enough quantum computer would make that problem easy. This page goes through the cryptography behind the worry, which parts break, which parts hold, and what a quantum-resistant Bitcoin would need.

Experimental · Not financial advice
Block height
…
latest Bitcoin block
Since last block
--:--
network target ≈ 10:00
Mempool
…
unconfirmed txs, public keys exposed
Next-block fee
…
fastest recommended rate
Bitcoin's age
…
since the genesis block
Latest block hashconnecting…

Seven problems that decide it

Greyed and slashed: broken by a large quantum computer.

01

Elliptic-Curve Discrete Log

Given a public key \(Q\) on secp256k1, can anyone recover the private key \(d\)? Every Bitcoin signature depends on the answer being no.

$$Q = d\cdot G$$ $$\text{find } d \in \mathbb{Z}_n$$
Broken
02

Shor's Algorithm

Can a quantum computer find the hidden period of a group operation in polynomial time and recover \(d\) from \(Q\)?

$$f(a,b) = aG + bQ$$ $$O(n^3)\ \text{vs.}\ O(2^{n/2})$$
Threat
03

Grover's Algorithm

Does a quadratic speedup on unstructured search threaten SHA-256 mining or address hashes?

$$O\!\left(\sqrt{N}\right)$$ $$2^{256} \;\to\; 2^{128}$$
Weakened

2128 work is still out of reach

04

Hash-Based Signatures

Can we sign using nothing but a hash function, so security rests only on preimage resistance? (SLH-DSA / SPHINCS+, FIPS 205)

$$\sigma = \big(\mathrm{FORS},\ \mathrm{HT}\big)$$ $$\mathrm{pk} = \mathrm{root}_{\mathcal{H}}$$
Resistant
05

Module Learning With Errors

Given a matrix \(A\) and a noisy product \(t\), is it hard to recover the short secret \(s\)? (ML-DSA / Dilithium, FIPS 204)

$$t = A s_1 + s_2$$ $$\|s_1\|_\infty,\ \|s_2\|_\infty \le \eta$$
Resistant
06

NTRU Lattices

Is it hard to find the short polynomials \(f, g\) behind a public key \(h\)? (FN-DSA / Falcon)

$$h = g\cdot f^{-1} \bmod q$$ $$\|(f,g)\| \ \text{small}$$
Resistant
07

Migrating Bitcoin

Can Bitcoin soft-fork in a post-quantum output type before Q-Day, and what happens to coins nobody moves?

$$\texttt{P2PK} \to \texttt{P2QRH}$$ $$\text{BIP-360}$$
Open

The lab: run the math live

Toy-sized versions of the real algorithms, computed in your browser.

A

An elliptic curve over \(\mathbb{F}_{97}\)

The points of \(y^2 = x^3 + 7 \bmod 97\): Bitcoin's secp256k1 equation on a tiny field. The generator walks \(G, 2G, 3G, \dots\) Pick a secret and watch brute force find it.

B

Shor, step by step

Shor turns factoring into finding the period \(r\) of \(a^x \bmod N\). A quantum computer finds \(r\) with the quantum Fourier transform. Here it's simulated classically, which only works because \(N\) is tiny.

C

Grover amplification

16 candidates, one is correct. Each round flips the marked amplitude, then reflects everything about the mean. After \(\approx\tfrac{\pi}{4}\sqrt{N}\) rounds the answer stands out.

I

Which coins are exposed

Shor's algorithm needs a public key to attack. Most Bitcoin addresses show only a hash of the public key, and the key itself appears on-chain once the coins are spent. Whether coins are at risk therefore depends on whether their public key has ever been revealed.

Output typePublic key on-chain?Quantum status
P2PK (early 2009–10 coins)AlwaysExposed
P2TR (Taproot)Always (tweaked key)Exposed
P2PKH / P2WPKH (reused address)After first spendExposed
P2PKH / P2WPKH (never spent from)No — hash onlyProtected until spent
Any transaction in the mempoolYes, brieflyRace window
II

How far away is Q-Day?

Today's quantum computers have hundreds to low thousands of noisy physical qubits. Breaking secp256k1 needs millions of them running fault-tolerant error correction.

~13Mphysical qubits to break a Bitcoin key within one day (Webber et al., AVS Quantum Science, 2022)
~317Mphysical qubits to do it within one hour, the rough window for attacking a transaction in the mempool (same study)
<1Mnoisy qubits for RSA-2048 in under a week, down sharply from earlier estimates (Gidney, 2025)
1M
RSA-2048
13M
BTC key · 1 day
317M
BTC key · 1 hour
10⁰
10³
10⁶
10⁹
← largest machines today, roughly

Resource estimates keep falling as algorithms and error correction improve. That is why NIST finalized its first post-quantum signature standards in 2024 and why Bitcoin developers are debating migration now.

III

The Meteora experiment

Alongside this explainer, a token was launched on Meteora as a class experiment. The question it tests: how does a strong technical story affect a market, even when everyone is told it is only a story?

Status
Experimental
What it is
An ordinary SPL token on Solana, traded in a Meteora pool.
What it is not
It is not Bitcoin. It is not backed by or redeemable for BTC, and it does not implement any post-quantum cryptography.
Its own security
Like every Solana token, it is secured by Ed25519 signatures, an elliptic-curve scheme that Shor's algorithm (problem 01) breaks as well. Ironically, it is exactly as quantum-vulnerable as Bitcoin.
Risk
Experimental tokens can go to zero. Don't put in money you can't afford to lose. Nothing here is financial advice.