Collision problem

Collision problem

The r-to-1 collision problem is an important theoretical problem in complexity theory, quantum computing, and computational mathematics. The collision problem most often refers to the 2-to-1 version [1]: given n even and a function f:\,\{1,\ldots,n\}\rightarrow\{1,\ldots,n\}, we are promised that f is either 1-to-1 or 2-to-1. We are only allowed to make queries about the value of f(i) for any i\in\{1,\ldots,n\}. The problem then asks how many such queries we need to make to determine with certainty whether f is 1-to-1 or 2-to-1.

Classical Solution

Solving the 2-to-1 version deterministically requires n / 2 + 1 queries, and in general distinguishing r-to-1 functions from 1-to-1 functions requires n / r + 1 queries.

This is a straightforward application of the pigeonhole principle: if a function is r-to-1, then after n / r + 1 queries we are guaranteed to have found a collision. If a function is 1-to-1, then no collision exists. Thus, n / r + 1 queries suffice. If we are unlucky, then the first n / r queries could return distinct answers, so n / r + 1 queries is also necessary.

If we allow randomness, the problem is easier. By the birthday paradox, if we choose (distinct) queries at random, then with high probability we find a collision in any fixed 2-to-1 function after \Theta(\sqrt{n}) queries.

Quantum Solution

References

  1. ^ Scott Aaronson (2004) (PDF). Limits on Efficient Computation in the Physical World. http://www.scottaaronson.com/thesis.pdf. 



Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Collision resistance — is a property of cryptographic hash functions: a hash function is collision resistant if it is hard to find two inputs that hash to the same output; that is, two inputs a and b such that H(a) = H(b), and a ≠ b.[1]:136 Every hash function with… …   Wikipedia

  • Collision (Heroes) — Collision Heroes episode A messenger from the future has a message for Peter …   Wikipedia

  • Collision detection — For collision detection on networks see CSMA/CD Collision detection typically refers to the computational problem of detecting the intersection of two or more objects. While the topic is most often associated with its use in video games and other …   Wikipedia

  • Collision — For other uses, see Collision (disambiguation). A collision is an isolated event which two or more moving bodies (colliding bodies) exert forces on each other for a relatively short time. Although the most common colloquial use of the word… …   Wikipedia

  • Collision theory — Reaction rate tends to increase with concentration phenomenon explained by collision theory Collision theory is a theory proposed by Max Trautz[1] and William Lewis in 1916 and 1918, that qualitatively explains how chemical reactions occur and… …   Wikipedia

  • Collision attack — In cryptography, a collision attack on a cryptographic hash tries to find two arbitrary inputs that will produce the same hash value, i.e. a hash collision. In contrast to a preimage attack, neither the hash value nor one of the inputs is… …   Wikipedia

  • Collision avoidance (spacecraft) — In spaceflight, collision avoidance is the process of preventing a spacecraft from colliding with any other vehicle or object. Contents 1 Launch Windows 2 On Orbit Avoidance 3 References 4 See also …   Wikipedia

  • Collision avoidance manoeuvre — A collision avoidance manoeuvre or debris avoidance manoeuvre is a manoeuvre conducted by a spacecraft to avoid colliding with another object in orbit. One is most commonly used in order to avoid a piece of space junk.Collision avoidance… …   Wikipedia

  • n-body problem — This article is about the problem in classical mechanics. For the problem in quantum mechanics, see Many body problem. The n body problem is the problem of predicting the motion of a group of celestial objects that interact with each other… …   Wikipedia

  • Carrollton, Kentucky bus collision — Infobox bus accident title=Carrollton bus collision date=23:00, May 14, 1988 location=near Carrollton, Kentucky bus=Church bus vehicles=Toyota Hilux, automobile pax=70 deaths=27 injuries=34|The Carrollton bus collision was one of the most deadly… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”