Imagine a sealed black box. You feed it a string of bits, it spits out a single 0 or 1, and you are promised one of just two things is true: the box is constant (it answers the same value for every input) or it is balanced (it answers 0 for exactly half the inputs and 1 for the other half). Your job: decide which — constant or balanced.
Classically there is no shortcut in the worst case. To be certain, you may have to open the box again and again: for inputs of n bits there are possibilities, and you might need to test just over half of them before you can rule out "constant." That is exponential work.
In 1992, David Deutsch and Richard Jozsa showed something startling: a quantum computer can settle the question with a single query to the box. It was the first clean proof that a quantum machine can be exponentially faster than any classical one — the spark that lit the whole field of quantum algorithms.
Comments
Loading comments...