← BlogBlog

Post-quantum cryptography explained: Bitcoin, Q-Day and why AI shortens the clock

In March 2026 a Google Quantum AI team estimated that a quantum computer with fewer than 500,000 physical qubits could recover a Bitcoin private key from its public key in minutes, with about 20 times fewer qubits than the best earlier estimate. No such machine exists, and the gap is still wide. Post-quantum cryptography (PQC) is the set of new public-key algorithms, standardised by NIST in 2024, that run on ordinary computers and are built to withstand a quantum attack. This is post-quantum cryptography explained from the ground up: how the keys behind Bitcoin and HTTPS work, what a quantum computer changes, what replaces the old maths, why AI now speeds up both attack and defence, and what a company or a coin holder can sensibly do this year.

≤1,200Logical qubits to break one Bitcoin key (Google, 2026)
~20xFewer physical qubits than the best prior estimate
73%Human traffic to Cloudflare already on PQ key exchange
2030/35NIST deprecates, then disallows, today's public-key crypto

A Bitcoin key in minutes is an estimate on paper, not a machine

The paper is Securing Elliptic Curve Cryptocurrencies against Quantum Vulnerabilities, posted on 30 March 2026 by researchers at Google Quantum AI, with Dan Boneh of Stanford and Justin Drake of the Ethereum Foundation among the co-authors. By its estimate, breaking one 256-bit elliptic-curve key of the kind Bitcoin uses takes at most 1,200 logical qubits and 90 million Toffoli gates, or at most 1,450 logical qubits and 70 million gates. On superconducting hardware with a 0.1% error rate, that means fewer than 500,000 physical qubits and, in the words of Google's research blog, "a few minutes" of runtime.

A physical qubit is one real, noisy component on a chip. A logical qubit is hundreds of those running error correction together so that they behave like one reliable qubit, and Toffoli gates are the unit used to count how much work an algorithm does.

Nothing like this machine exists. Willow, Google's December 2024 chip, has 105 qubits, and IBM's November 2026 update describes a 120-qubit processor and announces a 520-qubit one. Error-corrected logical qubits are demonstrated in the tens, and nobody has honestly run Shor's algorithm on a number as large as 21: Craig Gidney shows that its circuit costs about 115 times more than the one for 15. The news is the direction. For RSA-2048 the estimate fell from 20 million noisy qubits in 2019 to under a million in Gidney's 2025 paper, and for Bitcoin's curve it is now under half a million.

This piece grew out of an episode of the Russian-language podcast «Запуск завтра» (2 December 2026) with Mikhail Kudinov of Blockstream Research, who works on Bitcoin's post-quantum migration and was on the SPHINCS+ team behind one of the new standards. The facts here come from the primary sources, linked inline.

Bitcoin and HTTPS rest on the same trick

A Bitcoin wallet holds a private key, a 256-bit secret number, and derives a public key from it: a point on the elliptic curve secp256k1. Going forward is cheap. Going backward, from the public key to the secret, is the elliptic-curve discrete logarithm problem, and at this size it is hopeless for ordinary computers. To send coins, the wallet signs a message that says roughly "move these coins to that address" with the private key (ECDSA, or Schnorr since Taproot), and every node checks the signature against the public key. Whoever can produce a valid signature owns the coins.

The internet runs on the same maths, elliptic curves and RSA. An HTTPS connection starts with a key exchange, usually X25519 (another elliptic curve), that agrees a shared secret, and then encrypts the data with a fast symmetric cipher such as AES. The server proves who it is with a certificate, a chain of signatures from an authority your browser trusts, in the system known as the WebPKI. Signal and iMessage set up their keys the same way, and your phone installs an update only after checking the vendor's signature. AES and hash functions like SHA-256 are not what Shor's algorithm breaks. Grover's algorithm does speed up brute-force key search, but NIST's post-quantum FAQ expects it to give "little or no advantage" against AES: AES-128 should stay secure "for decades to come", and AES-192 and AES-256 "will still be safe for a very long time". Public-key crypto is, in both its jobs: key exchange protects secrecy, and signatures protect identity and ownership.

Can quantum computers break Bitcoin? Only because they are a different kind of computer

A quantum computer does not try every answer at once, and it is not a faster laptop either: for most tasks it would be useless. It turns one class of problems from exponential into polynomial. Problems with a hidden periodic structure, which include factoring and the discrete logarithm, take a classical computer a time that explodes as keys get longer. Shor's algorithm finds that hidden period through interference in polynomial time. Unluckily, that is exactly the class RSA and elliptic-curve cryptography were built on.

The Google paper splits attacks on Bitcoin in two. An at-rest attack targets a public key already visible on-chain: old pay-to-public-key (P2PK) outputs, any address that has spent and still holds coins, and Taproot (P2TR) outputs, which show a key from the start. Time is unlimited, so even a slow machine will do. An address that has never spent shows only a hash of its key.

An on-spend attack is a race, and it is worth working through. A broadcast transaction reveals your public key in the mempool until a miner puts it into a block, about ten minutes later on average, and the attacker has to derive your private key and broadcast a competing transaction first. The paper puts a full run at 18 or 23 minutes, but half of it can be precomputed, which leaves about 9 to 12 minutes after the key appears. At roughly 9 minutes it gives the attacker "slightly less than 41%" success under idealised assumptions. That is what block arithmetic predicts: blocks arrive at random, and with a ten-minute average the chance that none arrives within nine minutes is e^(-0.9), about 40.7%. Chains with faster blocks are harder targets, under 3% for Litecoin and under 1 in 8,000 for Dogecoin.

Google kept its circuit secret, and two months later it was public

Google did not publish the circuit. It published a zero-knowledge proof, which convinces you a claim is true without showing why. Picture a colour-blind friend holding a red and a green ball that look identical to him. He swaps them behind his back or doesn't, and if you call every swap correctly for twenty rounds, he knows the colours differ without learning which ball is which. Google proved that the circuit it had committed to by hash computes point addition on secp256k1, the core step of the attack, at the stated size, on about 9,000 test inputs derived from the circuit's own bytes, so others could check the numbers "without providing a roadmap for bad actors". Keegan Ryan of Trail of Bits later found bugs in the proof code that let invalid circuits pass, since fixed.

The secret lasted two months. On 1 June 2026 André Schrottenloher of Inria published open circuits of essentially the same cost, with about 1.5% more qubits and 6.5-10% fewer Toffoli gates, and Gidney wrote that the hidden ideas could be inferred from public work, that the secrecy had failed and that such research should be published openly. By then ECDSA.fail, an open competition run by Eigen Labs, had been scoring point-addition circuits by gates times qubits since 30 May.

How the cost of breaking one 256-bit elliptic-curve key has moved. Physical counts depend on the hardware, so compare them within a row.
YearWorkLogical qubitsToffoli gatesPhysical qubits, hardware, time
2017Roetteler et al.2,330~129 billion (upper bound)-
2023Litinski, as cited by Google-~200 million for one key~9 million, photonic
Mar 2026Google Quantum AI≤1,200 or ≤1,450≤90 or ≤70 million<500,000 superconducting, minutes
Mar 2026Cain et al. (Caltech, Oratomic)--~26,000 neutral atoms, a few days (P-256)
Jun 2026Schrottenloher1,208 or 1,462~72 or ~58 millionopen circuits, no hardware estimate
Sep 2026IonQ (Häner et al.)~1,450~40 million19,397 trapped ions, ~26 days

Against the best earlier work the drop is about 20x in physical qubits; against 2017 it is roughly 1,400 to 1,800 times in Toffoli gates. Headlines about "hundreds of times" tend to blend the two. Either way, the gains came from algorithms, not chips, and the IonQ row shows the other trade-off: far fewer qubits, weeks instead of minutes.

When is Q-Day? Nobody can date it, and the people closest plan for 2029

Q-Day is the day a cryptographically relevant quantum computer (CRQC) exists. Progress toward it comes in thresholds rather than along a smooth line, because error correction has a large fixed overhead: a lab that cannot factor 21 says little about a machine built at scale. Cloudflare's Bas Westerbaan argues that by the time a 32-bit number is factored, "we're uncomfortably close to Q-day already". The Global Risk Institute's timeline report, published on 9 March 2026, asked 26 experts: a machine breaking RSA-2048 within a day is "quite possible (28-49%) within the next 10 years" and "likely (51-70%) in the next 15".

Google (25 March 2026) and Cloudflare (7 April) have both set 2029 to finish their own migrations, authentication included. Both are deadlines for finishing the work, which is a different thing from forecasting the break. Regulators sit later. NIST's IR 8547, final since 27 October 2026, deprecates quantum-vulnerable public-key algorithms after 2030 and disallows them after 2035 (summary by Help Net Security). The UK's NCSC wants priority migrations by 2031 and the rest by 2035. The EU's coordinated roadmap wants every member state started by the end of 2026 and high-risk systems migrated by the end of 2030, which puts it on the same compliance calendar as the AI Act.

The sceptics have a case. Peter Gutmann and a co-author matched every published quantum factoring record with a VIC-20, an abacus and a dog, and Gutmann calls the machines physics experiments. Gidney himself thinks a CRQC within a few years is unlikely, under 50%, but possible, over 10%, "and if your job is security then that's dispositive". That is the parachute argument. You carry one not because you expect the main canopy to fail, but because being wrong costs everything and the parachute is cheap by comparison.

Harvest now, decrypt later makes encryption the urgent half

Harvest now, decrypt later (HNDL) means recording encrypted traffic today and decrypting it once a quantum computer can break the key exchange that protected it. Recording is cheap. The CISA, NSA and NIST factsheet of August 2023 warns that attackers "could be targeting data today that would still require protection in the future" in a "harvest now, decrypt later" operation. Data that must stay secret for ten years is already exposed to whatever exists ten years from now, which is why key exchange migrates first.

A forged signature needs a working machine and cannot reach back in time. Once it works, though, the damage is direct: an attacker could pass as your bank's site with a fake certificate or ship malware signed as a vendor's update, and on Bitcoin they could move someone else's coins. Signatures are also harder to replace, because they sit in certificate chains, hardware security modules and devices that stay in the field for years, and in 2026 Google and Cloudflare both moved authentication up their lists for that reason. On the web it is mostly not done yet. Chrome has no immediate plan to put post-quantum X.509 certificates into its root store and is betting on compact Merkle Tree Certificates instead, with a quantum-resistant root store planned for the third quarter of 2027. In Cloudflare's test on Chrome Beta they were 9% faster at the median than a classical chain.

What is post-quantum cryptography? It runs on the computers you already have

Post-quantum cryptography (PQC) means public-key algorithms built on maths that no known quantum algorithm solves quickly, running on ordinary hardware over ordinary networks. It is not quantum cryptography: quantum key distribution (QKD) needs special hardware and dedicated links between two points. Lattice schemes (ML-KEM, ML-DSA, Falcon) rest on finding short vectors in noisy, high-dimensional grids. Hash-based signatures (SLH-DSA, SHRINCS) rely only on the hash function, the most conservative and bulkiest option, and code-based HQC on decoding random error-correcting codes. None of these ideas is new; they lost to RSA and elliptic curves because they are bigger.

NIST published FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA) on 13 August 2024, picked HQC as a backup in March 2025, and still lists Falcon-based FN-DSA as in development. Post-quantum key exchange is already mainstream: Signal since 2023, iMessage PQ3 since iOS 17.4, Chrome with X25519MLKEM768 since version 131, OpenSSH 10.0 by default since April 2025, and 73% of human traffic to Cloudflare as of 1 December 2026. Almost all of it is hybrid, a classical and a post-quantum algorithm combined, so an attacker has to break both.

Sizes in bytes, against what Bitcoin and TLS use today
SchemeUsed forPublic keySignature or ciphertextAgainst today
Schnorr (BIP-340)Bitcoin signatures3264baseline
ECDSA secp256k1Bitcoin signatures33up to 72about the same
Falcon-512PQ signature, lattice897666~10x signature
ML-DSA-44PQ signature, lattice1,3122,420~38x signature
SLH-DSA-128sPQ signature, hash-based327,856~123x signature
SHRINCS (draft BIP)PQ signature for Bitcoin48548-4,619 (5,777 fallback)~9-72x signature
X25519Key exchange today3232baseline
ML-KEM-768PQ key exchange1,1841,088~35x on the wire
One public key plus one signature, in bytesSource: BIP-340, NIST FIPS 204 and 205, falcon-sign.info; sums ours (retrieved 3 Dec 2026)
Schnorr (today)
96
Falcon-512
1,563
ML-DSA-44
3,732
SLH-DSA-128s
7,888

So the often-quoted "1,000 times bigger" is an exaggeration: against a Schnorr signature the real factors run from about 10x to about 123x, and only the largest variant, SLH-DSA-256f, gets near 780x. Speed is not the issue, since ML-KEM is about as fast as X25519. Bytes are. In Bitcoin, where block size is fixed and block space is what fees pay for, about 39 times more key-and-signature data per spend with ML-DSA-44 means far fewer transactions per block, which is why Blockstream researchers design compact hash-based schemes such as SHRINCS rather than taking a NIST standard off the shelf. On the web, Cloudflare estimates that ML-DSA-44 in every handshake signature would add about 15 kB.

Confidence in any of this is empirical: an algorithm earns trust because clever people tried to break it and failed. Two candidates in NIST's own process failed that test on ordinary computers. SIKE fell to an attack that runs in about ten minutes on one core, Rainbow to one that takes a weekend on a laptop. That history is why hybrids exist.

Bitcoin cannot just ship an update

Nobody can order Bitcoin to migrate, and that creates three problems a bank never has. A new address or signature type is a soft fork that needs broad agreement before it activates. Even then the upgrade moves no coins: every holder has to move their own, and each move is a transaction competing for block space. And lost or abandoned keys will never move at all.

Estimates of what is exposed vary. Google counts "a little over 1.7 million bitcoin (nearly 9% of all bitcoin)" in P2PK outputs and about 6.9 million across all output types with a visible key. Chaincode Labs (May 2025) gives 20-50% of supply, 4 to 10 million BTC, including 600,000 to 1.1 million from the Satoshi era (Lerner's Patoshi analysis is the source of the top figure). CoinShares, writing before Google's paper, found only about 10,200 BTC in outputs large enough to move the market on their own; the rest of the P2PK coins sit in over 32,000 outputs of about 50 BTC, each needing its own run of Shor's algorithm.

Coins that never move, Satoshi's included, leave three uncomfortable options. Do nothing, and the first capable machine takes them. Freeze them after a deadline, which protects the market at the cost of the rule that nobody touches your coins and punishes owners who were merely slow. The third is less a policy than a likely outcome: if the community cannot agree, the dispute itself splits the chain and the market picks a side.

Every concrete proposal is still a draft. BIP-360 (Pay-to-Merkle-Root, merged into the BIPs repository on 11 February 2026) is Taproot without the spend path that reveals a key, so it stops at-rest attacks but adds no post-quantum signatures. BIP-361 (merged 14 April 2026) is the freeze route: no more sends to vulnerable addresses about three years after activation, and two years later old coins move only through a quantum-safe rescue protocol, such as a zero-knowledge proof that you hold the wallet's seed. SHRINCS, an August 2026 draft co-authored by Kudinov and Jonas Nick, has 48-byte keys and 548 to 4,619-byte signatures, and its own text says "A security proof is TODO." (Blockstream already signed a transaction on its Liquid sidechain with a 324-byte post-quantum signature in March 2026.) On Bitcoin itself nothing is activated or scheduled. Chaincode suggested contingency measures within about two years and a full migration path over about seven. None of this is a price call.

The AI quantum threat: what is documented and what is extrapolation

AI is compressing research cycles in general: a DeepMind agent resolved 9 of 353 open Erdős problems on its own, and METR's November 2026 update sees the length of tasks frontier models can finish doubling about every 3.6 months. METR cannot rule out drastic acceleration of AI research in the next couple of years, though it does "not observe an obvious acceleration over all public frontier models".

In quantum hardware, AI is already part of the machinery. Error correction needs a decoder that reads error signals and works out what went wrong. DeepMind's AlphaQubit (Nature, 2024) made 30% fewer errors than correlated matching on Google's hardware but was too slow for real time, and the AlphaQubit 2 preprint reports decoding under a microsecond per cycle up to distance 11. A reinforcement-learning agent tunes more than 1,000 control parameters of error correction on Willow. IBM's LLM-guided search found a code with 50 logical qubits where its family's previous record was 16. The Caltech and Oratomic paper says its new codes came from an "LLM-assisted heuristic computer search", and co-author Bluvstein told TIME: "There is no question that we used AI to accelerate this development."

On the attack side, attribution matters. Google's March paper does not mention AI, and no source credits AI with its 20x cut. What came afterwards is documented. The ECDSA.fail paper describes more than a hundred participants "and their agents", using GPT, Claude, Grok, GLM and Kimi models, cutting the score for one point addition by 86.1% against the competition's starting circuit by 26 July 2026, which the authors place about 50% below Google's published points "under different accounting conventions". They call the record observational: there was no human-only control group, and the key architectural idea came from humans. In October, Anthropic's Claude Mythos 5 designed a circuit in a 53-hour closed loop with minimal human input that uses 12% more qubits but 17 times fewer gates than the smallest previous design. Both results improve one building block, and no end-to-end attack estimate built on them has been published.

AI is also stress-testing the replacement algorithms

The second front gets less attention. In July 2026 Anthropic reported that a Mythos model working with a researcher roughly halved the effective strength of HAWK, a lattice signature candidate in NIST's additional round: the attack on HAWK-256 went from 2^64 to a demonstrated 2^38, after about 60 hours and $100,000 of API usage, with ML-KEM and ML-DSA unaffected. Matthew Green noted that it breaks no deployed system and that a model's apparent result "does not mean the result is real". On 30 November Anthropic published lattice papers whose results "were discovered by an internal research Claude model", including a quantum algorithm for module lattices, the structure under ML-KEM and ML-DSA. The repository says the algorithms are "not practical for the parameter sets of ML-KEM and ML-DSA", the Cryptography Incident Review Group estimated far more than 2^1000 quantum operations, and Cloudflare called it "purely theoretical".

The nearer risk is code. Mythos Preview, the model that escaped its sandbox, found weaknesses in popular cryptography libraries, including a critical certificate-authentication bypass in Botan, all from implementation oversights. In October, Wiz disclosed PHP2Shell, unauthenticated remote code execution in PHP back to version 5.4, found with AI tools. It is the same shift as AI zero-day exploits getting cheap, and new post-quantum code is young code.

Taken together, AI now improves the hardware and one core piece of the attack, and it is hunting for flaws in the new algorithms and in the code that implements them. No primary source says how many years that removes from the timeline, and any number you see is extrapolation. What does follow is that the hardware, the attack algorithms and our confidence in the replacements all move on a faster loop now, so the uncertainty band is wider in both directions. That is an argument for crypto-agility, the ability to swap algorithms quickly, rather than for panic. AI helps defenders too: AWS uses it to repair proof steps while verifying ML-KEM in AWS-LC, Microsoft Research agents wrote Lean-checked proofs for SymCrypt's ML-KEM, and an agent scanning your own code for RSA, ECDSA and ECDH calls is a quick start on the inventory below.

For bitcoin holders, the useful moves are boring

This is not investment advice, and nothing on Bitcoin needs action today. Don't reuse addresses: spending reveals the public key, and whatever is left there sits exposed. P2PK and Taproot outputs show a key from day one, while an unused P2PKH or SegWit (P2WPKH) address shows only a hash until you spend. Follow BIP-360, BIP-361 and SHRINCS in the BIPs repository rather than in headlines, and be wary of anyone selling a "quantum-safe" Bitcoin product: there is no quantum-safe output type to move into yet.

What a company can do this year without buying anything

1. Sort data by how long it must stay secret. Mosca's inequality (2015) is the whole method: if the years your data must stay confidential plus the years your migration takes exceed the years until a CRQC, you are already late. The EU roadmap treats ten years or more as high-risk, to be protected by the end of 2030.

2. Build a crypto inventory. TLS endpoints and load balancers, VPNs, SSH, code signing, JWT and OAuth signing keys, cloud KMS keys, document signing, and the libraries underneath. Some teams keep it as a cryptography bill of materials (CBOM). It is the slowest step, so start it first.

3. Turn on hybrid key exchange where it is a setting. Enable X25519MLKEM768 for TLS 1.3 on terminators, CDNs and load balancers that support it, and move to OpenSSH 10.0 or later. That answers harvest now, decrypt later for the price of a little bandwidth.

4. Keep algorithms in configuration, not hard-coded, so the next change (SIKE shows there may be one) is a deploy rather than a rewrite.

5. Ask vendors for dates. Cloud, VPN, identity and payment providers should say when they support ML-KEM and ML-DSA, and the answer belongs in new contracts, as the CISA factsheet and the NCSC guidance both suggest.

6. Patch crypto libraries fast. The near-term risk is implementation bugs found with AI tools, not broken maths.

7. Plan signatures as the second wave. US federal high-value systems need post-quantum signatures by 31 December 2031, and the EU expects quantum-safe software and firmware updates by default by 2030, so anything you ship that will run past 2030 needs an update path that can carry post-quantum signatures. In the EU, the roadmap reads the Cyber Resilience Act (from 11 December 2027) as requiring crypto-agility, and DORA's risk-management RTS already requires financial entities to be able to change cryptography "on the basis of developments in cryptanalysis".

If you do only one thing, make it step 2, with an owner next to every line: hybrid TLS, vendor questions and the regulatory dates all get easier once that list exists. If a second pair of eyes on it would help, our free audit covers it.

FAQ

Is post-quantum cryptography the same as quantum cryptography?

No. Post-quantum cryptography is ordinary software: new public-key algorithms such as ML-KEM and ML-DSA that run on today's servers and phones. Quantum cryptography usually means quantum key distribution (QKD), which needs special hardware and dedicated links and only shares keys between two points. Almost every organisation will migrate to PQC; QKD is a niche for specific links.

Can quantum computers break Bitcoin today?

No. The best estimate (Google, March 2026) needs about 1,200-1,450 error-corrected logical qubits and under 500,000 physical ones. Today's largest chips have a few hundred physical qubits, and nobody has honestly factored even 21 with Shor's algorithm. The risk lies in the future, and coins whose public keys are already visible on-chain would be the first targets.

What is Q-Day, and when will it happen?

Q-Day is the day a cryptographically relevant quantum computer (CRQC) exists, one that can break RSA or elliptic-curve keys in practice. Nobody can date it. In the Global Risk Institute's March 2026 survey, 26 experts rated a machine that breaks RSA-2048 within a day "quite possible (28-49%)" within 10 years and "likely (51-70%)" within 15. Google and Cloudflare plan to finish their own migrations by 2029, and NIST disallows quantum-vulnerable public-key algorithms after 2035.

Is AES-256 safe against quantum computers?

As far as anyone knows, yes. Shor's algorithm breaks public-key cryptography, not symmetric ciphers. Grover's algorithm speeds up brute-force key search, but NIST's post-quantum FAQ expects little or no practical advantage against AES, with AES-128 secure for decades and AES-256 safe for a very long time, barring new cryptanalysis. The urgent migration is the key exchange and the signatures around AES, not AES itself.

Does AI bring Q-Day closer, and has AI already broken encryption?

AI is documented to speed up quantum error correction, one building block of the attack circuit and the cryptanalysis of new algorithms, but no primary source says by how many years. AI has not broken ML-KEM, ML-DSA or Bitcoin's curve. Its strongest results so far are a weakened HAWK candidate, an impractical theoretical lattice algorithm and real bugs in crypto implementations.

What does harvest now, decrypt later mean for a normal company?

Attackers can record encrypted traffic today and decrypt it once a quantum computer exists. If any of your data must stay secret into the 2030s, enable hybrid post-quantum key exchange now. On many CDNs and load balancers it is a setting, and in recent OpenSSH versions it is the default.

Changelog
  • 3 December 2026Published.
Free process audit

See what this would look like in your operations.

Get in touch

30 minutes · we map your 3 best automation opportunities · no obligation