Content deleted Content added
fix {{cn}} |
Rescuing 2 sources and tagging 0 as dead.) #IABot (v2.0.9.5 |
||
(29 intermediate revisions by 22 users not shown) | |||
Line 1:
{{Short description|
{{Use American English|date=January 2019}}
{{Use dmy dates|date=December 2020}}
In [[quantum computing]], a '''quantum algorithm''' is an [[algorithm]]
Problems
The best-known algorithms are [[Shor's algorithm]] for factoring and [[Grover's algorithm]] for searching an unstructured database or an unordered list. Shor's
==Overview==
Quantum algorithms are usually described, in the commonly used circuit model of quantum computation, by a [[quantum circuit]]
| last1 = Farhi | first1 =
| last2 = Goldstone |first2=
| last3 = Gutmann |first3=
| date =
| title = A Quantum Algorithm for the Hamiltonian NAND Tree
| journal=Theory of Computing
| eprint = quant-ph/0702144▼
| volume=4
| pages=169–190
| doi=10.4086/toc.2008.v004a008 | doi-access=free}}</ref>
Quantum algorithms can be categorized by the main techniques
==Algorithms based on the quantum Fourier transform==
Line 27 ⟶ 30:
[[File:Deutsch-Jozsa-algorithm-quantum-circuit.png|thumb|Deutsch-Jozsa algorithm]]
The Deutsch–Jozsa algorithm solves a [[black-box]] problem
===Bernstein–Vazirani algorithm===
Line 37 ⟶ 40:
{{main|Simon's algorithm}}
Simon's algorithm solves a black-box problem exponentially faster than any classical algorithm, including bounded-error probabilistic algorithms. This algorithm, which achieves an exponential speedup over all classical algorithms that we consider efficient, was the motivation for [[Shor's
===Quantum phase estimation algorithm===
{{main|Quantum phase estimation algorithm}}
The [[quantum phase estimation algorithm]] is used to determine the eigenphase of an eigenvector of a unitary gate, given a quantum state proportional to the eigenvector and access to the gate. The algorithm is frequently used as a subroutine in other algorithms.
===Shor's algorithm===
Line 59 ⟶ 62:
| doi=10.1137/s0097539795293172
| s2cid = 2337707
}}</ref> whereas the best known classical algorithms take super-polynomial time.
===Hidden subgroup problem===
Line 72 ⟶ 75:
|publisher=[[Springer-Verlag]]
|isbn=3-540-60221-6
}}</ref> The more general hidden subgroup problem, where the group
|last1=Moore |first1=C.|author1-link=Cris Moore
|last2=Russell |first2=A.
Line 85 ⟶ 88:
| eprint = cs/0304005
}}</ref>
===Boson sampling problem===▼
{{main|Boson sampling}}▼
The Boson Sampling Problem in an experimental configuration assumes<ref>{{cite journal|last1=Ralph|first1=T.C.|title=Figure 1: The boson-sampling problem|url=http://www.nature.com/nphoton/journal/v7/n7/fig_tab/nphoton.2013.175_F1.html|journal=Nature Photonics|date=July 2013|volume=7|issue=7|pages=514–515|publisher=Nature|doi=10.1038/nphoton.2013.175|access-date=12 September 2014}}</ref> an input of [[boson]]s (ex. photons of light) of moderate number getting randomly scattered into a large number of output modes constrained by a defined [[unitarity]]. The problem is then to produce a fair sample of the [[probability distribution]] of the output which is dependent on the input arrangement of bosons and the Unitarity.<ref>{{cite journal|last1=Lund|first1=A.P.|last2=Laing|first2=A.|last3=Rahimi-Keshari|first3=S.|last4=Rudolph|first4=T.|last5=O'Brien|first5=J.L.|last6=Ralph|first6=T.C.|title=Boson Sampling from Gaussian States|journal=Phys. Rev. Lett.|date=5 September 2014|volume=113|issue=10|doi=10.1103/PhysRevLett.113.100502|arxiv = 1305.4346 |bibcode = 2014PhRvL.113j0502L|pmid=25238340|page=100502|s2cid=27742471}}</ref> Solving this problem with a classical computer algorithm requires computing the [[Permanent (mathematics)|permanent]] of the unitary transform matrix, which may be either impossible or take a prohibitively long time. In 2014, it was proposed<ref>{{cite web|title=The quantum revolution is a step closer|url=http://phys.org/news/2014-09-quantum-revolution-closer.html|website=Phys.org|publisher=Omicron Technology Limited|access-date=12 September 2014}}</ref> that existing technology and standard probabilistic methods of generating single photon states could be used as input into a suitable quantum computable [[Linear optical quantum computing|linear optical network]] and that sampling of the output probability distribution would be demonstrably superior using quantum algorithms. In 2015, investigation predicted<ref>{{cite journal|last1=Seshadreesan|first1=Kaushik P.|last2=Olson|first2=Jonathan P.|last3=Motes|first3=Keith R.|last4=Rohde|first4=Peter P.|last5=Dowling|first5=Jonathan P.|title=Boson sampling with displaced single-photon Fock states versus single-photon-added coherent states: The quantum-classical divide and computational-complexity transitions in linear optics|journal=Physical Review A|volume=91|issue=2|page=022334|doi=10.1103/PhysRevA.91.022334|arxiv = 1402.0531 |bibcode = 2015PhRvA..91b2334S |year=2015|s2cid=55455992}}</ref> the sampling problem had similar complexity for inputs other than [[Fock state]] photons and identified a transition in [[Quantum complexity theory|computational complexity]] from classically simulatable to just as hard as the Boson Sampling Problem, dependent on the size of coherent amplitude inputs.▼
===Estimating Gauss sums===
A [[Gauss sum]] is a type of [[exponential sum]]. The best known classical algorithm for estimating these sums takes exponential time. Since the discrete logarithm problem reduces to Gauss sum estimation, an efficient classical algorithm for estimating Gauss sums would imply an efficient classical algorithm for computing discrete logarithms, which is considered unlikely. However, quantum computers can estimate Gauss sums to polynomial precision in polynomial time.<ref>
{{Cite arXiv
| last1=van Dam |
| last2=Seroussi |first2=G.
| year =2002
Line 101 ⟶ 100:
===Fourier fishing and Fourier checking===
:<math>| \tilde{f}(z_i)| \geqslant 1</math>
and at least 1/4
:<math>| \tilde{f}(z_i) | \geqslant 2.</math>
Line 119 ⟶ 118:
==Algorithms based on amplitude amplification==
[[Amplitude amplification]] is a technique that allows the amplification of a chosen subspace of a quantum state. Applications of amplitude amplification usually lead to quadratic speedups over the corresponding classical algorithms. It can be considered
===Grover's algorithm===
{{main|Grover's algorithm}}
Grover's algorithm searches an unstructured database (or an unordered list) with N entries
{{Cite arXiv|eprint=quant-ph/9605043|first=Lov K.|last=Grover|author-link=Lov Grover|title=A fast quantum mechanical algorithm for database search|date=1996}}</ref> Classically, <math>O({N})</math> queries are required even allowing bounded-error probabilistic algorithms.
Theorists have considered a hypothetical generalization of a standard quantum computer that could access the histories of the hidden variables in [[De Broglie–Bohm theory|Bohmian mechanics]]. (Such a computer is completely hypothetical and would ''not'' be a standard quantum computer, or even possible under the standard theory of quantum mechanics.) Such a hypothetical computer could implement a search of an N-item database in at most
===Quantum counting===
[[Quantum counting]] solves a generalization of the search problem. It solves the problem of counting the number of marked entries in an unordered list, instead of just detecting
{{Cite book
|last1 = Brassard |first1 = G.
|last2=Hoyer |first2=P.
|last3=Tapp |first3=A.
|chapter = Quantum counting
|date = 1998
|title =
|arxiv = quant-ph/9805082
|doi=10.1007/BFb0055105
Line 161:
|bibcode=2000quant.ph..5055B|isbn=9780821821404
|s2cid=54753
}}</ref> More precisely, the algorithm outputs an estimate <math>k'</math> for <math>k</math>, the number of marked entries, with
==Algorithms based on quantum walks==
{{main|Quantum walk}}
A quantum walk is the quantum analogue of a classical [[random walk]]
{{cite conference
|last1=Childs |first1=A. M.
Line 195:
|doi=10.1109/FOCS.2007.18
|isbn=978-0-7695-3010-9
}}</ref> They also provide polynomial speedups for many problems. A framework for the creation of quantum walk algorithms exists and is
▲===Boson sampling problem===
▲{{main|Boson sampling}}
▲The Boson Sampling Problem in an experimental configuration assumes<ref>{{cite journal |last1=Ralph |first1=T.C. |date=July 2013 |title=Figure 1: The boson-sampling problem |url=http://www.nature.com/nphoton/journal/v7/n7/fig_tab/nphoton.2013.175_F1.html |journal=Nature Photonics |
===Element distinctness problem===
{{main|Element distinctness problem}}
The element distinctness problem is the problem of determining whether all the elements of a list are distinct. Classically,
{{cite journal
|last=Ambainis |first=A.
Line 210 ⟶ 215:
|doi=10.1137/S0097539705447311
|s2cid=6581885
}}</ref> and [[Yaoyun Shi]] first proved a tight lower bound when the size of the range is sufficiently large.<ref>
{{cite conference
| last1=Shi | first1=Y.
Line 238 ⟶ 243:
|doi=10.4086/toc.2005.v001a002
|doi-access=free
}}</ref> independently (and via different proofs) extended
===Triangle-finding problem===
{{main|Triangle finding problem}}
The triangle-finding problem is the problem of determining whether a given graph contains a triangle (a [[clique (graph theory)|clique]] of size 3). The best-known lower bound for quantum algorithms is
{{cite conference
|last1=Magniez |first1=F.
Line 281 ⟶ 286:
|work=Shtetl-Optimized
|access-date=2009-12-17
}}</ref> This type of formula requires
{{cite conference
|last1=Saks |first1=M.E.
Line 293 ⟶ 298:
|doi=10.1109/SFCS.1986.44
|isbn=0-8186-0740-8
}}</ref> where <math>c = \log_2(1+\sqrt{33})/4 \approx 0.754</math>. With a quantum algorithm, however, it can be solved in
{{cite arXiv
|last=Ambainis |first=A.
Line 316 ⟶ 321:
===Group commutativity===
The problem is to determine if a [[black box group|black-box group]], given by ''k'' generators, is [[Commutativity|commutative]]. A black
{{cite journal
|last=Pak |first=Igor |author1-link=Igor Pak
Line 325 ⟶ 330:
|doi=10.1112/S1461157012000046
|doi-access=free
}}</ref> A quantum algorithm requires <math>\Omega(k^{2/3})</math> queries,
{{cite journal
|last1=Magniez |first1=F.
Line 358 ⟶ 363:
===Quantum simulation===
{{main|Hamiltonian simulation}}
The idea that quantum computers might be more powerful than classical computers originated in Richard Feynman's observation that classical computers seem to require exponential time to simulate many-particle quantum systems, yet quantum many-body systems are able to "solve themselves."<ref>
{{Cite journal
| last1=Feynman | first1=R. P.
Line 369 ⟶ 375:
| citeseerx=10.1.1.45.9310
| s2cid=124545445
}}</ref> Since then, the idea that quantum computers can simulate quantum physical processes exponentially faster than classical computers has been greatly fleshed out and elaborated. Efficient (
{{Cite journal
| last1=Abrams |first1=D. S.
Line 381 ⟶ 387:
| doi=10.1103/PhysRevLett.79.2586
|s2cid=18231521
}}</ref>
{{Cite journal
| last1=Kassal | first1=I.
Line 450 ⟶ 456:
}}</ref>
===Solving a linear
{{main|Quantum algorithm for linear systems of equations}}
In 2009, [[Aram Harrow]], Avinatan Hassidim, and [[Seth Lloyd]], formulated a quantum algorithm for solving [[System of linear equations|linear systems]]. The [[Quantum algorithm for linear systems of equations|algorithm]] estimates the result of a scalar measurement on the solution vector to a given linear system of equations.<ref name="Quantum algorithm for solving linear systems of equations by Harrow et al.">{{Cite journal|arxiv = 0811.3171|last1 = Harrow|first1 = Aram W|title = Quantum algorithm for solving linear systems of equations|journal = Physical Review Letters|volume = 103|issue = 15|pages = 150502|last2 = Hassidim|first2 = Avinatan|last3 = Lloyd|first3 = Seth|year = 2008|doi = 10.1103/PhysRevLett.103.150502|pmid = 19905613|bibcode = 2009PhRvL.103o0502H|s2cid = 5187993}}</ref>
Provided that the linear system is
==Hybrid quantum/classical algorithms==
Hybrid Quantum/Classical Algorithms combine quantum state preparation and measurement with classical optimization.<ref>{{cite journal|last1=Moll|first1=Nikolaj|last2=Barkoutsos|first2=Panagiotis|last3=Bishop|first3=Lev S.|last4=Chow|first4=Jerry M.|last5=Cross|first5=Andrew|last6=Egger|first6=Daniel J.|last7=Filipp|first7=Stefan|last8=Fuhrer|first8=Andreas|last9=Gambetta|first9=Jay M.|last10=Ganzhorn|first10=Marc|last11=Kandala|first11=Abhinav|last12=Mezzacapo|first12=Antonio|last13=Müller|first13=Peter|last14=Riess|first14=Walter|last15=Salis|first15=Gian|last16=Smolin|first16=John|last17=Tavernelli|first17=Ivano|last18=Temme|first18=Kristan|title=Quantum optimization using variational algorithms on near-term quantum devices|journal=Quantum Science and Technology|date=2018|volume=3|issue=3|pages= 030503|doi=10.1088/2058-9565/aab822|arxiv=1710.01022|bibcode=2018QS&T....3c0503M|s2cid=56376912}}</ref> These algorithms generally aim to determine the ground
=== QAOA ===
The [[quantum approximate optimization algorithm]]
=== Variational quantum eigensolver ===
The [[variational quantum eigensolver]] (VQE) algorithm applies classical optimization to minimize the energy expectation value of an [[Ansatz|ansatz state]] to find the ground state
=== Contracted quantum eigensolver ===
The contracted quantum eigensolver (CQE) algorithm minimizes the residual of a contraction (or projection) of the Schrödinger equation onto the space of two (or more) electrons to find the ground- or excited-state energy and two-electron reduced density matrix of a molecule.<ref>{{Cite journal|last1=Smart|first1=Scott|last2=Mazziotti|first2=David|date=2021-02-18|title=Quantum Solver of Contracted Eigenvalue Equations for Scalable Molecular Simulations on Quantum Computing Devices|journal=Phys. Rev. Lett.|language=En|volume=125|issue=7|pages=070504|doi=10.1103/PhysRevLett.126.070504|pmid=33666467|arxiv=2004.11416|bibcode=2021PhRvL.126g0504S|s2cid=216144443}}</ref> It is based on classical methods for solving energies and two-electron reduced density matrices directly from the anti-Hermitian contracted Schrödinger equation.<ref>{{Cite journal|last1=Mazziotti|first1=David|date=2006-10-06|title=Anti-Hermitian Contracted Schrödinger Equation: Direct Determination of the Two-Electron Reduced Density Matrices of Many-Electron Molecules|journal=Phys. Rev. Lett.|language=En|volume=97|issue=14|pages=143002|doi=10.1103/PhysRevLett.97.143002|pmid=17155245|bibcode=2006PhRvL..97n3002M}}</ref>
==See also==
Line 481 ⟶ 487:
* The [https://quantumalgorithmzoo.org Quantum Algorithm Zoo]: A comprehensive list of quantum algorithms that provide a speedup over the fastest known classical algorithms.
* [https://www.cs.umd.edu/~amchilds/qa/ Andrew Childs' lecture notes on quantum algorithms]
*[https://bastion.center/the-quantum-search-algorithm/ The Quantum search algorithm - brute force] {{Webarchive|url=https://web.archive.org/web/20180901034619/https://bastion.center/the-quantum-search-algorithm/ |date=1 September 2018 }}.
===Surveys===
* {{
* {{Cite book | last1 = Smith | first1 = J. | last2 = Mosca | first2 = M. | doi = 10.1007/978-3-540-92910-9_43 | chapter = Algorithms for Quantum Computers | title = Handbook of Natural Computing | pages = 1451–1492 | year = 2012 | arxiv = 1001.0767 | isbn = 978-3-540-92909-3 | s2cid = 16565723 }}
* {{Cite journal | last1 = Childs | first1 = A. M. | last2 = Van Dam | first2 = W. | doi = 10.1103/RevModPhys.82.1 | title = Quantum algorithms for algebraic problems | journal = Reviews of Modern Physics | volume = 82 | pages = 1–52 | year = 2010 | issue = 1 |bibcode = 2010RvMP...82....1C | arxiv = 0812.0380 | s2cid = 119261679 }}
Line 493 ⟶ 500:
{{DEFAULTSORT:Quantum Algorithm}}
[[Category:Quantum computing]]
[[Category:Theoretical computer science]]
[[Category:Quantum algorithms| ]]
|