Imagine a black box. You feed it a string of bits and it spits out another string. You are told one thing about it: there is a secret string such that two inputs and collide â give the same output â exactly when y = x XOR s. Every output appears for exactly two inputs, and those two always differ by .
Your job is to find . You can ask the box anything, as many times as you like. How many questions do you need?
Classically, the box is useless until you stumble on a collision â two different inputs with the same output. Until then, every answer looks random. For an -bit string you typically have to probe on the order of inputs before two of them happen to match â exponential in .
In 1994 Daniel Simon showed that a quantum computer can find after only about queries. That gap â a handful of questions versus exponentially many â was the first proven exponential separation between quantum and classical computation, and it is the idea that directly inspired Shor's algorithm.
Comments
Loading comments...