Skip to main content

Quantum Algorithm for Element Distinctness

  • Reference work entry
  • First Online:
Encyclopedia of Algorithms
  • 149 Accesses

Years and Authors of Summarized Original Work

  • 2004; Ambainis

Problem Definition

In the element distinctness problem, one is given a list of N elements x1, …, x N ∈ {1, …, m} and one must determine if the list contains two equal elements. Access to the list is granted by submitting queries to a black box, and there are two possible types of query.

Value Queries. In this type of query, the input to the black box is an index i. The black box outputs x i as the answer. In the quantum version of this model, the input is a quantum state that may be entangled with the workspace of the algorithm. The joint state of the query, the answer register, and the workspace may be represented as \(\sum_{i,y,z} a_{i,y,z}|i,y,z \rangle\), with y being an extra register which will contain the answer to the query and z being the workspace of the algorithm. The black box transforms this state into\(\sum\limits_{i,y,z} {a_{i,y,z} } |i,(y + x_i )\bmod m,z\rangle\). The simplest particular case is if the input...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 1,599.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 1,999.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Aaronson S, Shi Y (2004) Quantum lower bounds for the collision and the element distinctness problems. J ACM 51(4):595–605

    Article  MathSciNet  MATH  Google Scholar 

  2. Ambainis A (2005) Polynomial degree and lower bounds in quantum complexity: collision and element distinctness with small range. Theor Comput 1:37–46

    Article  MathSciNet  MATH  Google Scholar 

  3. Ambainis A (2007) Quantum walk algorithm for element distinctness. SIAM J Comput 37(1):210–239

    Article  MathSciNet  MATH  Google Scholar 

  4. Ambainis A, Kempe J, Rivosh A (2006) Coins make quantum walks faster. In: Proceedings of the ACM/SIAM symposium on discrete algorithms (SODA’06), Miami, pp 1099–1108

    Google Scholar 

  5. Beame P, Saks M, Sun X, Vee E (2003) Time-space trade-off lower bounds for randomized computation of decision problems. J ACM 50(2):154–195

    Article  MathSciNet  MATH  Google Scholar 

  6. Belovs A (2012) Span programs for functions with constant-sized 1-certificates: extended abstract. In: Proceedings of ACM symposium on theory of computing (STOC’12), New York, pp 77–84

    Google Scholar 

  7. Belovs A (2012) Learning-graph-based quantum algorithm for k-distinctness. In: Proceedings of IEEE conference on foundations of computer science (FOCS’12), New Brunswick, pp 207–216

    Google Scholar 

  8. Belovs A, Rosmanis A (2013) On the power of non-adaptive learning graphs. In: IEEE conference on computational complexity, Palo Alto, pp 44–55

    MATH  Google Scholar 

  9. Belovs A, Childs A, Jeffery S, Kothari R, Magniez F (2013) Time-efficient quantum walks for 3-distinctness. In: Proceedings of international colloquium on automata, languages and programming (ICALP’13), Riga, vol 1, pp 105–122

    Google Scholar 

  10. Bernstein D, Jeffery S, Lange T, Meurer A (2013) Quantum algorithms for the subset-sum problem. In: Proceedings of international workshop on post-quantum cryptography (PQCrypto’13), Limoges, pp 16–33

    Google Scholar 

  11. Borodin A, Fischer M, Kirkpatrick D, Lynch N (1981) A time-space tradeoff for sorting on non-oblivious machines. J Comput Syst Sci 22:351–364

    Article  MathSciNet  MATH  Google Scholar 

  12. Buhrman H, Spalek R (2006) Quantum verification of matrix products. In: Proceedings of the ACM/SIAM symposium on discrete algorithms (SODA’06), Miami, pp 880–889

    Google Scholar 

  13. Buhrman H, Durr C, Heiligman M, Høyer P, Magniez F, Santha M, de Wolf R (2005) Quantum algorithms for element distinctness. SIAM J Comput 34(6):1324–1330

    Article  MathSciNet  MATH  Google Scholar 

  14. Childs AM, Eisenberg JM (2005) Quantum algorithms for subset finding. Quantum Inf Comput 5:593

    MATH  Google Scholar 

  15. Kutin S (2005) Quantum lower bound for the collision problem with small range. Theor Comput 1:29–36

    Article  MathSciNet  MATH  Google Scholar 

  16. Le Gall F (2014, to appear) Improved quantum algorithm for triangle finding via combinatorial arguments. In: Proceedings of the IEEE symposium on foundations of computer science (FOCS 2014), Philadelphia

    Google Scholar 

  17. Magniez F, Nayak A (2005) Quantum complexity of testing group commutativity. In: Proceedings of the international colloquium automata, languages and programming (ICALP’05), Lisbon, pp 1312–1324

    Google Scholar 

  18. Magniez F, Santha M, Szegedy M (2007) Quantum algorithms for the triangle problem. SIAM J Comput 37(2):413–424

    Article  MathSciNet  MATH  Google Scholar 

  19. Magniez F, Nayak A, Roland J, Santha M (2007) Search by quantum walk. In: Proceedings of the ACM symposium on the theory of computing (STOC’07), San Diego, pp 575–584

    Google Scholar 

  20. Szegedy M (2004) Quantum speed-up of Markov Chain based algorithms. In: Proceedings of the IEEE conference on foundations of computer science (FOCS’04), Rome, pp 32–41

    Google Scholar 

  21. Yao A (1994) Near-optimal time-space tradeoff for element distinctness. SIAM J Comput 23(5):966–975

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Andris Ambainis .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Ambainis, A. (2016). Quantum Algorithm for Element Distinctness. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_306

Download citation

Publish with us

Policies and ethics