Quantum annealing

From HandWiki
Short description: Quantum physics-based metaheuristic for optimization problems

Quantum annealing (QA) is an optimization process for finding the global minimum of a given objective function over a given set of candidate solutions (candidate states), by a process using quantum fluctuations. Quantum annealing is used mainly for problems where the search space is discrete (combinatorial optimization problems) with many local minima; such as finding[1] the ground state of a spin glass or the traveling salesman problem. The term "quantum annealing" was first proposed in 1988 by B. Apolloni, N. Cesa Bianchi and D. De Falco as a quantum-inspired classical algorithm.[2][3] It was formulated in its present form by T. Kadowaki and H. Nishimori (ja) in 1998[4] though an imaginary-time variant without quantum coherence had been discussed by A. B. Finnila, M. A. Gomez, C. Sebenik and J. D. Doll in 1994.[5]

Quantum annealing starts from a quantum-mechanical superposition of all possible states (candidate states) with equal weights. Then the system evolves following the time-dependent Schrödinger equation, a natural quantum-mechanical evolution of physical systems. The amplitudes of all candidate states keep changing, realizing a quantum parallelism, according to the time-dependent strength of the transverse field, which causes quantum tunneling between states or essentially tunneling through peaks. If the rate of change of the transverse field is slow enough, the system stays close to the ground state of the instantaneous Hamiltonian (also see adiabatic quantum computation).[6] If the rate of change of the transverse field is accelerated, the system may leave the ground state temporarily but produce a higher likelihood of concluding in the ground state of the final problem Hamiltonian, i.e., diabatic quantum computation.[7][8] The transverse field is finally switched off, and the system is expected to have reached the ground state of the classical Ising model that corresponds to the solution to the original optimization problem. An experimental demonstration of the success of quantum annealing for random magnets was reported immediately after the initial theoretical proposal.[9] Quantum annealing has also been proven to provide a fast Grover oracle for the square-root speedup in solving many NP-complete problems.[10]

Comparison to Simulated Annealing

Quantum annealing can be compared to simulated annealing, whose "temperature" parameter plays a similar role to QA's tunneling field strength. In simulated annealing, the temperature determines the probability of moving to a state of higher "energy" from a single current state. In quantum annealing, the strength of transverse field determines the quantum-mechanical probability to change the amplitudes of all states in parallel. Analytical[11] and numerical[12] evidence suggests that quantum annealing outperforms simulated annealing under certain conditions (see[13] for a careful analysis, and,[14] for a fully solvable model of quantum annealing to arbitrary target Hamiltonian and comparison of different computation approaches).

Quantum mechanics: analogy and advantage

Simple analogy describing the difference between Simulated Annealing and Quantum Annealing.
Quantum Annealing (blue line) efficiently traverses energy landscapes by leveraging quantum tunneling to find the global minimum. Quantum annealing offers a significant performance advantage over Simulated Annealing (magenta line), unlocking the potential to solve massive optimization problems previously thought to be impossible.

The tunneling field is basically a kinetic energy term that does not commute with the classical potential energy part of the original glass. The whole process can be simulated in a computer using quantum Monte Carlo (or other stochastic technique), and thus obtain a heuristic algorithm for finding the ground state of the classical glass.

In the case of annealing a purely mathematical objective function, one may consider the variables in the problem to be classical degrees of freedom, and the cost functions to be the potential energy function (classical Hamiltonian). Then a suitable term consisting of non-commuting variable(s) (i.e. variables that have non-zero commutator with the variables of the original mathematical problem) has to be introduced artificially in the Hamiltonian to play the role of the tunneling field (kinetic part). Then one may carry out the simulation with the quantum Hamiltonian thus constructed (the original function + non-commuting part) just as described above. Here, there is a choice in selecting the non-commuting term and the efficiency of annealing may depend on that.

It has been demonstrated experimentally as well as theoretically, that quantum annealing can indeed outperform thermal annealing (simulated annealing) in certain cases, especially where the potential energy (cost) landscape consists of very high but thin barriers surrounding shallow local minima.[15] Since thermal transition probabilities (proportional to [math]\displaystyle{ e^{-\frac{\Delta}{k_B T}} }[/math], with [math]\displaystyle{ T }[/math] the temperature and [math]\displaystyle{ k_B }[/math] the Boltzmann constant) depend only on the height [math]\displaystyle{ \Delta }[/math] of the barriers, for very high barriers, it is extremely difficult for thermal fluctuations to get the system out from such local minima. However, as argued earlier in 1989 by Ray, Chakrabarti & Chakrabarti,[1] the quantum tunneling probability through the same barrier (considered in isolation) depends not only on the height [math]\displaystyle{ \Delta }[/math] of the barrier, but also on its width [math]\displaystyle{ w }[/math] and is approximately given by [math]\displaystyle{ e^{-\frac{\sqrt{\Delta} w}{\Gamma}} }[/math], where [math]\displaystyle{ \Gamma }[/math] is the tunneling field.[16] This additional handle through the width [math]\displaystyle{ w }[/math], in presence of quantum tunneling, can be of major help: If the barriers are thin enough (i.e. [math]\displaystyle{ w \ll \sqrt{\Delta} }[/math]), quantum fluctuations can surely bring the system out of the shallow local minima. For an [math]\displaystyle{ N }[/math]-spin glass, the barrier height [math]\displaystyle{ \Delta }[/math] becomes of order [math]\displaystyle{ N }[/math]. For constant value of [math]\displaystyle{ w }[/math] one gets [math]\displaystyle{ \tau }[/math] proportional to [math]\displaystyle{ e^{\sqrt{N}} }[/math] for the annealing time (instead of [math]\displaystyle{ \tau }[/math] proportional to [math]\displaystyle{ e^N }[/math] for thermal annealing), while [math]\displaystyle{ \tau }[/math] can even become [math]\displaystyle{ N }[/math]-independent for cases where [math]\displaystyle{ w }[/math] decreases as [math]\displaystyle{ 1/\sqrt{N} }[/math].[17][18]

It is speculated that in a quantum computer, such simulations would be much more efficient and exact than that done in a classical computer, because it can perform the tunneling directly, rather than needing to add it by hand. Moreover, it may be able to do this without the tight error controls needed to harness the quantum entanglement used in more traditional quantum algorithms. Some confirmation of this is found in exactly solvable models.[19][20]

Timeline of ideas related to quantum annealing in Ising spin glasses:

  • 1989 Idea was presented that quantum fluctuations could help explore rugged energy landscapes of the classical Ising spin glasses by escaping from local minima (having tall but thin barriers) using tunneling;[1]
  • 1998 Formulation of quantum annealing and numerical test demonstrating its advantages in Ising glass systems;[4]
  • 1999 First experimental demonstration of quantum annealing in LiHoYF Ising glass magnets;[21]
  • 2011 Superconducting-circuit quantum annealing machine built and marketed by D-Wave Systems.[22]

D-Wave implementations

Photograph of a chip constructed by D-Wave Systems, mounted and wire-bonded in a sample holder. The D-Wave One's processor is designed to use 128 superconducting logic elements that exhibit controllable and tunable coupling to perform operations.

In 2011, D-Wave Systems announced the first commercial quantum annealer on the market by the name D-Wave One and published a paper in Nature on its performance.[22] The company claims this system uses a 128 qubit processor chipset.[23] On May 25, 2011, D-Wave announced that Lockheed Martin Corporation entered into an agreement to purchase a D-Wave One system.[24] On October 28, 2011 USC's Information Sciences Institute took delivery of Lockheed's D-Wave One.

In May 2013 it was announced that a consortium of Google, NASA Ames and the non-profit Universities Space Research Association purchased an adiabatic quantum computer from D-Wave Systems with 512 qubits.[25][26] An extensive study of its performance as quantum annealer, compared to some classical annealing algorithms, is already available.[27]

In June 2014, D-Wave announced a new quantum applications ecosystem with computational finance firm 1QB Information Technologies (1QBit) and cancer research group DNA-SEQ to focus on solving real-world problems with quantum hardware.[28] As the first company dedicated to producing software applications for commercially available quantum computers, 1QBit's research and development arm has focused on D-Wave's quantum annealing processors and has successfully demonstrated that these processors are suitable for solving real-world applications.[29]

With demonstrations of entanglement published,[30] the question of whether or not the D-Wave machine can demonstrate quantum speedup over all classical computers remains unanswered. A study published in Science in June 2014, described as "likely the most thorough and precise study that has been done on the performance of the D-Wave machine"[31] and "the fairest comparison yet", attempted to define and measure quantum speedup. Several definitions were put forward as some may be unverifiable by empirical tests, while others, though falsified, would nonetheless allow for the existence of performance advantages. The study found that the D-Wave chip "produced no quantum speedup" and did not rule out the possibility in future tests.[32] The researchers, led by Matthias Troyer at the Swiss Federal Institute of Technology, found "no quantum speedup" across the entire range of their tests, and only inconclusive results when looking at subsets of the tests. Their work illustrated "the subtle nature of the quantum speedup question". Further work[33] has advanced understanding of these test metrics and their reliance on equilibrated systems, thereby missing any signatures of advantage due to quantum dynamics.

There are many open questions regarding quantum speedup. The ETH reference in the previous section is just for one class of benchmark problems. Potentially there may be other classes of problems where quantum speedup might occur. Researchers at Google, LANL, USC, Texas A&M, and D-Wave are working to find such problem classes.[34]

In December 2015, Google announced that the D-Wave 2X outperforms both simulated annealing and Quantum Monte Carlo by up to a factor of 100,000,000 on a set of hard optimization problems.[35]

D-Wave's architecture differs from traditional quantum computers. It is not known to be polynomially equivalent to a universal quantum computer and, in particular, cannot execute Shor's algorithm because Shor's algorithm is not a hillclimbing process.[citation needed] Shor's algorithm requires a universal quantum computer. During the Qubits 2021 conference held by D-Wave, it was announced[36] that the company is hard at work developing their first universal quantum computers, capable of running Shor's algorithm in addition to other gate-model algorithms such as QAOA and VQE.

"A cross-disciplinary introduction to quantum annealing-based algorithms" [37] presents an introduction to combinatorial optimization (NP-hard) problems, the general structure of quantum annealing-based algorithms and two examples of this kind of algorithms for solving instances of the max-SAT and Minimum Multicut problems, together with an overview of the quantum annealing systems manufactured by D-Wave Systems. Hybrid quantum-classic algorithms for large-scale discrete-continuous optimization problems were reported to illustrate the quantum advantage.[38][39]


  1. 1.0 1.1 1.2 Ray, P.; Chakrabarti, B. K.; Chakrabarti, A. (1989). "Sherrington-Kirkpatrick model in a transverse field: Absence of replica symmetry breaking due to quantum fluctuations". Physical Review B 39 (16): 11828–11832. doi:10.1103/PhysRevB.39.11828. PMID 9948016. Bibcode1989PhRvB..3911828R. 
  2. Apolloni, Bruno; Cesa-Bianchi, Nicolo; De Falco, Diego (July 1988). "A numerical implementation of quantum annealing". Stochastic Processes, Physics and Geometry, Proceedings of the Ascona-Locarno Conference. https://www.researchgate.net/publication/250309136. 
  3. Apolloni, Bruno; Carvalho, Maria C.; De Falco, Diego (1989). "Quantum stochastic optimization". Stoc. Proc. Appl. 33 (2): 233–244. doi:10.1016/0304-4149(89)90040-9. 
  4. 4.0 4.1 Kadowaki, T.; Nishimori, H. (1998). "Quantum annealing in the transverse Ising model". Phys. Rev. E 58 (5): 5355. doi:10.1103/PhysRevE.58.5355. Bibcode1998PhRvE..58.5355K. http://pre.aps.org/abstract/PRE/v58/i5/p5355_1. 
  5. Finnila, A.B.; Gomez, M.A.; Sebenik, C.; Stenson, C.; Doll, J.D. (1994). "Quantum annealing: A new method for minimizing multidimensional functions". Chemical Physics Letters 219 (5–6): 343–348. doi:10.1016/0009-2614(94)00117-0. Bibcode1994CPL...219..343F. 
  6. Farhi, E.; Goldstone, J.; Gutmann, S.; Lapan, J.; Ludgren, A.; Preda, D. (2001). "A Quantum adiabatic evolution algorithm applied to random instances of an NP-Complete problem". Science 292 (5516): 472–5. doi:10.1126/science.1057726. PMID 11313487. Bibcode2001Sci...292..472F. https://www.science.org/doi/10.1126/science.1057726. 
  7. Crosson, Elizabeth; Farhi, Edward; Cedric Yen-Yu Lin; Lin, Han-Hsuan; Shor, Peter (2014). "Different Strategies for Optimization Using the Quantum Adiabatic Algorithm". arXiv:1401.7320 [quant-ph].
  8. Muthukrishnan, Siddharth; Albash, Tameem; Lidar, Daniel A. (2015). "When Diabatic Trumps Adiabatic in Quantum Optimization". arXiv:1505.01249 [quant-ph].
  9. Brooke, J.; Bitko, D.; Rosenbaum, T. F.; Aeppli, G. (1999). "Quantum annealing of a disordered magnet". Science 284 (5415): 779–81. doi:10.1126/science.284.5415.779. PMID 10221904. Bibcode1999Sci...284..779B. https://www.science.org/doi/10.1126/science.284.5415.779. 
  10. Sinitsyn, N.; Yan, B. (2023). "Topologically protected Grover's oracle for the partition problem". Physical Review A 108 (2): 022412. doi:10.1103/PhysRevA.108.022412. Bibcode2023PhRvA.108b2412S. 
  11. Morita, Satoshi; Nishimori, Hidetoshi (2008). "Mathematical foundation of quantum annealing". Journal of Mathematical Physics 49 (12): 125210. doi:10.1063/1.2995837. Bibcode2008JMP....49l5210M. 
  12. Santoro, Giuseppe E.; Tosatti, Erio (18 August 2006). "Optimization using quantum mechanics: quantum annealing through adiabatic evolution". Journal of Physics A 39 (36): R393–R431. doi:10.1088/0305-4470/39/36/R01. Bibcode2006JPhA...39R.393S. http://iopscience.iop.org/0305-4470/39/36/R01. 
  13. Heim, B.; Rønnow, T. F.; Isakov, S. V.; Troyer, M. (2015). "Quantum versus classical annealing of Ising spin glasses". Science 348 (6231): 215–217. doi:10.1126/science.aaa4170. PMID 25765071. Bibcode2015Sci...348..215H. 
  14. Yan, B.; Sinitsyn, N. A. (2022). "Analytical solution for nonadiabatic quantum annealing to arbitrary Ising spin Hamiltonian". Nature Communications 13 (1): 2212. doi:10.1038/s41467-022-29887-0. PMID 35468917. Bibcode2022NatCo..13.2212Y. 
  15. "Local Maxima and Minima, and, Absolute Maxima and Minima". http://mathonline.wikidot.com/local-maxima-and-minima-and-absolute-maxima-and-minima. 
  16. Das, A.; Chakrabarti, B. K.; Stinchcombe, R. B. (2005). "Quantum annealing in a kinetically constrained system". Phys. Rev. E 72 (2): 026701. doi:10.1103/PhysRevE.72.026701. PMID 16196745. Bibcode2005PhRvE..72b6701D. http://pre.aps.org/abstract/PRE/v72/i2/e026701. 
  17. See e.g., Mukherjee, S.; Chakrabarti, B. K. (2015). "Multivariable Optimization: Quantum Annealing & Computation". Eur. Phys. J. 224 (1): 17–24. doi:10.1140/epjst/e2015-02339-y. Bibcode2015EPJST.224...17M. 
  18. Das, A.; Chakrabarti, B. K. (2008). "Quantum Annealing and Analog Quantum Computation". Rev. Mod. Phys. 80 (3): 1061–1081. doi:10.1103/RevModPhys.80.1061. Bibcode2008RvMP...80.1061D. 
  19. Li, F.; Chernyak, V. Y.; Sinitsyn, N. A. (2018). "Quantum annealing and thermalization: insights from integrability". Physical Review Letters 121 (19): 190601. doi:10.1103/PhysRevLett.121.190601. PMID 30468584. Bibcode2018arXiv180400371L. 
  20. Yan, B.; Sinitsyn, N. A. (2022). "Analytical solution for nonadiabatic quantum annealing to arbitrary Ising spin Hamiltonian". Nature Communications 13 (1): 2212. doi:10.1038/s41467-022-29887-0. PMID 35468917. Bibcode2022NatCo..13.2212Y. 
  21. Brooke, J.; Bitko, D.; Rosenbaum, T. F.; Aeppli, G. (30 April 1999). "Quantum Annealing of a Disordered Magnet". Science 284 (5415): 779–781. doi:10.1126/science.284.5415.779. PMID 10221904. Bibcode1999Sci...284..779B. https://authors.library.caltech.edu/46977/. 
  22. 22.0 22.1 Johnson, M. W. et al. (2011). "Quantum annealing with manufactured spins". Nature 473 (7346): 194–8. doi:10.1038/nature10012. PMID 21562559. Bibcode2011Natur.473..194J. http://www.nature.com/nature/journal/v473/n7346/abs/nature10012.html. 
  23. "Learning to program the D-Wave One". http://dwave.wordpress.com/2011/05/11/learning-to-program-the-d-wave-one/. 
  24. "D-Wave Systems sells its first Quantum Computing System to Lockheed Martin Corporation". 2011-05-25. http://www.dwavesys.com/en/pressreleases.html#lm_2011. 
  25. Jones, N. (2013). "Google and NASA snap up quantum computer". Nature News. doi:10.1038/nature.2013.12999. http://www.nature.com/news/google-and-nasa-snap-up-quantum-computer-1.12999. 
  26. Smelyanskiy, Vadim N.; Rieffel, Eleanor G.; Knysh, Sergey I.; Williams, Colin P.; Johnson, Mark W.; Thom, Murray C.; Macready, William G.; Pudenz, Kristen L. (2012). "A Near-Term Quantum Computing Approach for Hard Computational Problems in Space Exploration". arXiv:1204.2821 [quant-ph].
  27. Boixo, S.; Rønnow, T. F.; Isakov, S. V.; Wang, Z.; Wecker, D.; Lidar, D. A.; Martinis, J. M.; Troyer, M. (2014). "Evidence for quantum annealing with more than one hundred qubits". Nature Physics 10 (3): 218–224. doi:10.1038/nphys2900. Bibcode2014NatPh..10..218B. http://www.nature.com/nphys/journal/v10/n3/full/nphys2900.html. 
  28. "D-Wave Systems Building Quantum Application Ecosystem, Announces Partnerships with DNA-SEQ Alliance and 1QBit". http://dwavesys.com/press-releases/d-wave-systems-building-quantum-application-ecosystem-announces-partnerships-dna-seq. 
  29. "1QBit Research". http://1qbit.com/research.html. 
  30. Lanting, T. et al. (2014-05-29). "Entanglement in a quantum annealing processor". Physical Review X 4 (2): 021041. doi:10.1103/PhysRevX.4.021041. Bibcode2014PhRvX...4b1041L. 
  31. Helmut Katzgraber, quoted in (Cho 2014).
  32. Cho, Adrian (20 June 2014). "Quantum or not, controversial computer yields no speedup". Science 344 (6190): 1330–1331. doi:10.1126/science.344.6190.1330. PMID 24948715. Bibcode2014Sci...344.1330C. 
  33. Amin, Mohammad H. (2015). "Searching for quantum speedup in quasistatic quantum annealers". Physical Review A 92 (5): 052323. doi:10.1103/PhysRevA.92.052323. Bibcode2015PhRvA..92e2323A. 
  34. Steiger, Damian; Heim, Bettina; Rønnow, Troels; Troyer, Matthias (October 22, 2015). "Performance of quantum annealing hardware". in Huckridge, David A.; Ebert, Reinhard; Gruneisen, Mark T. et al.. Electro-Optical and Infrared Systems: Technology and Applications XII; and Quantum Information Science and Technology. 9648. pp. 964816. doi:10.1117/12.2202661. Bibcode2015SPIE.9648E..16S. 
  35. "When can Quantum Annealing win?". 8 December 2015. http://googleresearch.blogspot.com/2015/12/when-can-quantum-annealing-win.html. 
  36. D-Wave Systems (2021-10-05). "D-Wave's Next-Generation Roadmap: Bringing Clarity to Practical Quantum Computing" (in en). https://dwave.medium.com/d-waves-next-generation-roadmap-bringing-clarity-to-practical-quantum-computing-192b3275c73d. 
  37. Venegas-Andraca, Salvador E.; Cruz-Santos, William; McGeoch, Catherine; Lanzagorta, Marco (2018). "A cross-disciplinary introduction to quantum annealing-based algorithms". Contemporary Physics 59 (2): 174–196. doi:10.1080/00107514.2018.1450720. Bibcode2018ConPh..59..174V. 
  38. Ajagekar, Akshay; Humble, Travis; You, Fengqi (2020-01-04). "Quantum computing based hybrid solution strategies for large-scale discrete-continuous optimization problems" (in en). Computers & Chemical Engineering 132: 106630. doi:10.1016/j.compchemeng.2019.106630. ISSN 0098-1354. 
  39. Wierzbiński, M.; Falo-Roget, J.; Crimi, A. (2023). "Community detection in brain connectomes with hybrid quantum computing". Scientific Reports 13 (1): 3446. doi:10.1038/s41598-023-30579-y. PMID 36859591. Bibcode2023NatSR..13.3446W. 

Further reading