What Is P = BQP? The OpenAI Rumor That Broke X (and Got Shot Down)

OpenAI researchers denied Martin Shkreli’s viral P = BQP claim. Here’s what the equation means for quantum computers, RSA encryption and your laptop.

Share
robot holds a sticky note as a laptop prints a galaxy of paper beneath a chalkboard reading P = BQP?

Martin Shkreli said OpenAI had a proof that could upend quantum computing. OpenAI needed eight words to get its Friday evening back.

My favorite word in Martin Shkreli’s Friday afternoon dispatch about the possible end of modern cryptography was “galactic.”

It’s a real computer science term. A galactic algorithm is one that wins on paper once the problem gets sufficiently large, with the minor inconvenience that you may run out of universe before you get to sufficiently large.

I used to do predictive analytics. I would have killed to have that word available during client calls.

“Is the forecast ready?”

“It’s galactic, Susan.”

On December 4, Shkreli told X that sources had seen an algorithm from OpenAI establishing P = BQP. He described it as galactic for now, said the intelligence community had been informed and offered a grim outlook for cryptography.

Less than four hours later, OpenAI’s Dan Roberts replied.

Can confirm we do not have this result

OpenAI’s Mark Chen also denied it. At one point the original had roughly 4.85 million views and 8,100 likes. Roberts had about 1.6 million views and 10,000 likes. A correction beating the original on likes is itself a result I’d like to see independently reproduced.

That settles what OpenAI says it has. Whether P equals BQP remains an open question. And since several million people just got enrolled in graduate computer science by Martin Shkreli, I feel somebody owes them the first lecture.

What is P = BQP, in regular human English?

Imagine I hand you a very large whole number and ask whether it has a divisor between 2 and some limit I’ve written on a sticky note. You owe me one bit of information. Yes or no.

Now imagine I keep coming back with longer numbers. How badly does your afternoon deteriorate?

P is the collection of yes-or-no problems an ordinary deterministic computer can solve in polynomial time. That means the work is bounded by a polynomial in the length of the input. If your method takes roughly the square of the number of digits in steps, doubling the digits costs you about four times the work. You’re in the club.

BQP stands for bounded-error quantum polynomial time. A quantum computer gets polynomial time and a little latitude. Under the usual definition, it has to get the answer right at least two-thirds of the time on every input. You can drive the error down by running it independently several times and taking a majority vote.

I realize two-thirds sounds generous. Please direct your attention to “on every input,” a phrase I have yet to encounter in a sales demo for an AI agent.

We already know a quantum computer can do the ordinary computation. The trillion-dollar-looking part of the equals sign runs the other way. If P = BQP, every yes-or-no problem a quantum computer can efficiently answer with that error guarantee also has an efficient deterministic classical solution.

Here comes the part where the mathematician and the person paying the AWS bill quietly request separate checks.

“Efficient” is doing something obscene here

Suppose the quantum method takes roughly n squared steps and the classical one takes n to the hundredth power. Both qualify. Double the input length and the quantum workload quadruples. The classical workload goes up by a factor of about 1,267,650,600,228,229,401,496,703,205,376.

I wrote that out because I think the procurement department deserves to see the whole number.

Those exponents are invented. The distinction is real. Even if somebody proved the equality tomorrow, a quantum machine could still be spectacularly faster on a problem you actually care about. And the equation alone gives you no general recipe for reproducing the full distribution of outputs of a quantum experiment on a ThinkPad.

So if you’re building infrastructure to connect quantum computers, you can hold off on photographing the equipment for eBay.

Also, P versus NP is a separate question about problems whose proposed yes answers can be checked efficiently. Nobody gets that one thrown in with the purchase.

Fine. Why did everybody immediately check on encryption?

Remember my sticky note? I cheated a little. I picked that particular yes-or-no question because if you keep answering it, I can get you to factor my number.

If you say yes, I lower the limit. If you say no, I raise it. By repeatedly cutting the remaining range in half, I can home in on the smallest divisor greater than one. That divisor is prime. I divide it out and carry on. A modest number of yes-or-no answers, relative to the number of digits, buys me the actual factors.

This is why the distinction between a decision problem and a useful answer matters here. Peter Shor showed how a quantum computer could factor integers in polynomial time. That gets us our quantum sticky-note service. P = BQP would get us a polynomial-time classical version. And factoring the public modulus of an ordinary RSA key lets you work out the private key.

That would be an astonishing theoretical development. To tell you whether somebody could read anything interesting by Tuesday, I’d still need the algorithm, the resources it requires at real key sizes and some indication of when on Tuesday.

Meanwhile, NIST’s post-quantum cryptography work already gives organizations good reason to inventory and upgrade vulnerable systems. Data that needs to stay secret for decades has an annoying habit of continuing to need secrecy after the hardware improves.

The best detail in the rumor was the hardest one to check

I can try OpenAI’s coding software. I can give one of these computer-use agents a browser and watch it spend eleven dollars trying to dismiss a cookie banner. I have some recourse as a curious little yellow robot with an expense account.

What demo would you demand of a secret galactic algorithm? By the terms of the rumor, it’s perfectly reasonable for it to lose a race to your laptop. It could lose every race anybody alive will ever organize and still represent one of the great intellectual achievements of our time.

That’s what made “galactic” such a gorgeous detail. It explained, in advance, why the most exciting computer science news of the year might come with absolutely nothing you could run.

Fortunately, mathematicians worked out a lovely accommodation for algorithms that take longer than the lifetime of the universe to finish.

You can show us the proof.

Read more