DEV Community

Cover image for P = BQP
Ayoub Ali
Ayoub Ali

Posted on

P = BQP

P is the set of problems a normal computer can solve quickly. BQP is the set of problems a quantum computer can solve quickly.

We have known since 1994 (Shor's algorithm) that a quantum computer could factor huge numbers fast, which normal computers can't. That's the whole reason people fear quantum. RSA, elliptic curves and Diffie-Hellman all depend on that math staying hard.

P = BQP would mean you don't need the quantum computer at all. Anything it can do quickly, a normal computer could also do quickly with the right algorithm. So RSA and elliptic curves would fall, including the signatures behind Bitcoin and Ethereum, years before real quantum hardware exists.

Some things would still be safe: lattice crypto, hash functions and the new post-quantum standards (ML-KEM, ML-DSA). They were built to hold up against quantum computers, so a shortcut on a normal computer doesn't touch them either.

Two caveats. "Quickly" in theory can still mean way too expensive to run in real life. And right now it's a rumour, mostly from Martin Shkreli's claim that OpenAI showed US intelligence a P = BQP algorithm, with no paper and no proof.

Still, that's why everyone keeps giving the same advice: move to post-quantum now.

Top comments (0)