BHT algorithm

The BHT algorithm is a quantum algorithm that solves the collision problem. In this problem, one is given n and an r-to-1 function and needs to find two inputs that f maps to the same output. The BHT algorithm only makes queries to f, which matches the lower bound of in the black box model.[1][2]

The algorithm was discovered by Brassard, Hoyer, and Tapp in 1997.[3] It uses Grover's algorithm, which was discovered in the previous year.

Algorithm

Intuitively, the algorithm combines the square root speedup from the birthday paradox using (classical) randomness with the square root speedup from Grover's (quantum) algorithm.

First, n1/3 inputs to f are selected at random and f is queried at all of them. If there is a collision among these inputs, then we return the colliding pair of inputs. Otherwise, all these inputs map to distinct values by f. Then Grover's algorithm is used to find a new input to f that collides. Since there are only n2/3 such inputs to f, Grover's algorithm can find one (if it exists) by making only queries to f.

gollark: They did? I assumed missiles were just aimed at preplanned targets.
gollark: Actually, I can only be killed on the ides of March.
gollark: If you don't vote for me as the only supreme leader, you will not have voted for me as the only supreme leader, though.
gollark: You can be a technical advisor or something.
gollark: People don't seem to agree on what communism is whatsoever.

See also

References

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.