Reuse & Permissions

It is not necessary to obtain permission to reuse this article or its components as it is available under the terms of the Creative Commons Attribution 4.0 International license. This license permits unrestricted use, distribution, and reproduction in any medium, provided attribution to the author(s) and the published article's title, journal citation, and DOI are maintained. Please note that some figures may have been included with permission from other third parties. It is your responsibility to obtain the proper permission from the rights holder directly for these figures.

Export citation

Export citation

Choose format for download:

Download Citation
  • Open Access

Quantum Boltzmann Machine

Mohammad H. Amin1,2, Evgeny Andriyash1, Jason Rolfe1, Bohdan Kulchytskyy3,4, and Roger Melko3,4

  • 1D-Wave Systems Inc., 3033 Beta Avenue, Burnaby, British Columbia, Canada V5G 4M9
  • 2Department of Physics, Simon Fraser University, Burnaby, British Columbia, Canada V5A 1S6
  • 3Department of Physics and Astronomy, University of Waterloo, 200 University Avenue West Waterloo, Ontario, Canada N2L 3G1
  • 4Perimeter Institute for Theoretical Physics, Waterloo, Ontario N2L 2Y5, Canada

Phys. Rev. X 8, 021050 – Published 23 May, 2018

DOI: https://doi.org/10.1103/PhysRevX.8.021050

Abstract

Inspired by the success of Boltzmann machines based on classical Boltzmann distribution, we propose a new machine-learning approach based on quantum Boltzmann distribution of a quantum Hamiltonian. Because of the noncommutative nature of quantum mechanics, the training process of the quantum Boltzmann machine (QBM) can become nontrivial. We circumvent the problem by introducing bounds on the quantum probabilities. This allows us to train the QBM efficiently by sampling. We show examples of QBM training with and without the bound, using exact diagonalization, and compare the results with classical Boltzmann training. We also discuss the possibility of using quantum annealing processors for QBM training and application.

View figure in article

Physics Subject Headings (PhySH)

Popular Summary

Article Text

References (45)

  1. M. I. Jordan and T. M. Mitchell, Machine Learning: Trends, Perspectives, and Prospects, Science 349, 255 (2015).
  2. C. M. Bishop, Pattern Recognition and Machine Learning (Springer, New York, 2006).
  3. S. Lloyd, M. Mohseni, and P. Rebentrost, Quantum Algorithms for Supervised and Unsupervised Machine Learning, arXiv:1307.0411.
  4. P. Rebentrost, M. Mohseni, and S. Lloyd, Quantum Support Vector Machine for Big Data Classification, Phys. Rev. Lett. 113, 130503 (2014).
  5. N. Wiebe, A. Kapoor, and K. M. Svore, Quantum Deep Learning, Quantum Inf. Comput. 16, 0541 (2016).
  6. H. Neven, G. Rose, and W. G. Macready, Image Recognition with an Adiabatic Quantum Computer I. Mapping to Quadratic Unconstrained Binary Optimization, arXiv:0804.4457.
  7. H. Neven, V. S. Denchev, G. Rose, and W. G. Macready, Training a Binary Classifier with the Quantum Adiabatic Algorithm, arXiv:0811.0416.
  8. H. Neven, V. S. Denchev, G. Rose, and W. G. Macready, Training a Large Scale Classifier with the Quantum Adiabatic Algorithm, arXiv:0912.0779.
  9. K. L. Pudenz and D. A. Lidar, Quantum Adiabatic Machine Learning, Quantum Inf. Process. 12, 2027 (2013).
  10. M. Denil and N. de Freitas, in Proceedinngs of the NIPS*2011 Workshop on Deep Learning and Unsupervised Feature Learning.
  11. V. S. Denchev, N. Ding, S. V. N. Vishwanathan, and H. Neven, Robust Classification with Adiabatic Quantum Optimization, arXiv:1205.1148.
  12. V. Dumoulin, I. J. Goodfellow, A. Courville, and Y. Bengio, On the Challenges of Physical Implementations of RBMs, in Proceedings of the Twenty-Eighth AAAI Conference on Artificial Intelligence (AAAI Press, Quebec, 2014), pp. 1199–1205.
  13. R. Babbush, V. Denchev, N. Ding, S. Isakov, and H. Neven, Construction of Non-Convex Polynomial Loss Functions for Training a Binary Classifier with Quantum Annealing, arXiv:1406.4203.
  14. M. Gu, K. Wiesner, E. Rieper, and V. Vedral, Quantum Mechanics Can Reduce the Complexity of Classical Models, Nat. Commun. 3, 762 (2012).
  15. M. W. Johnson, Quantum Annealing with Manufactured Spins, Nature (London) 473, 194 (2011).
  16. S. H. Adachi and M. P. Henderson, Application of Quantum Annealing to Training of Deep Neural Networks, arXiv:1510.06356.
  17. M. Benedetti, J. Realpe-Gomez, R. Biswas, and A. Perdomo-Ortiz, Estimation of Effective Temperatures in a Quantum Annealer and Its Impact in Sampling Applications: A Case Study towards Deep Learning Applications, Phys. Rev. A 94, 022308 (2016).
  18. M. Benedetti, J. Realpe-Gómez, R. Biswas, and A. Perdomo-Ortiz, Quantum-Assisted Learning of Hardware-Embedded Probabilistic Graphical Models., Phys. Rev. X 7, 041052 (2017).
  19. D. Korenkevych, Y. Xue, Z. Bian, F. Chudak, W. G. Macready, J. Rolfe, and E. Andriyash, Benchmarking Quantum Hardware for Training of Fully Visible Boltzmann Machines, arXiv:1611.04528.
  20. G. E. Hinton and T. J. Sejnowski, Optimal Perceptual Inference, in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (IEEE, Washington, 1983).
  21. G. E. Hinton, S. Osindero, and Y-W. Teh, A Fast Learning Algorithm for Deep Belief Nets, Neural Comput. 18, 1527 (2006).
  22. R. Salakhutdinov and G. Hinton, Deep Boltzmann Machines, in Proceedings of the Twelth International Conference on Artificial Intelligence and Statistics (PMLR, Florida, 2009), Vol. 5, pp. 448–455.
  23. T. J. Sejnowski, Higher-Order Boltzmann Machines, AIP Conf. Proc. 151, 398 (1986).
  24. M. Ranzato and G. E. Hinton, Modeling Pixel Means and Covariances Using Factorized Third-Order Boltzmann Machines, in Computer Society Conference on Computer Vision and Pattern Recognition (IEEE, San Francisco, 2010), pp. 2551–2558.
  25. R. Memisevic and G. E. Hinton, Learning to Represent Spatial Transformation with Factored Higher-Order Boltzmann Machines, Neural Comput. 22, 1473 (2010).
  26. In physical systems, Hamiltonian parameters have unit of energy. We normalize these parameters by kBT≡β−1, where T is temperature and kB is the Boltzmann constant; we absorb β into the parameters.

  27. G. E. Hinton, Training Products of Experts by Minimizing Contrastive Divergence, Neural Comput. 14, 1771 (2002).
  28. N. Yapage and H. Nagaoka, An Information Geometrical Approach to the Mean-Field Approximation for Quantum Ising Spin Models, J. Phys. A 41, 065005 (2008).
  29. S. Golden, Lower Bounds for the Helmholtz Function, Phys. Rev. 137, B1127 (1965).
  30. C. J. Thompson, Inequality with Applications in Statistical Mechanics, J. Math. Phys. (N.Y.) 6, 1812 (1965).
  31. S. Osindero and G. E. Hinton, Modeling Image Patches with a Directed Hierarchy of Markov Random Fields, edited by J. C. Platt, D. Koller, Y. Singer, and S. T. Roweis, Advances in Neural Information Processing Systems Vol. 20 (Curran Associates Inc., Vancouver, 2008), pp. 1121–1128.
  32. There are other techniques used for supervised learning, for example, when only a small fraction of the available data is labeled.

  33. J. Nocedal and S. Wright, Numerical Optimization (Springer-Verlag, New York, 2006), p. 136.
  34. This choice was made to keep the number of qubits small to allow for exact diagonalization.

  35. R. Harris et al., Experimental Investigation of an Eight Qubit Unit Cell in a Superconducting Optimization Processor, Phys. Rev. B 82, 024511 (2010).
  36. S. Boixo, T. Albash, F. M. Spedalieri, N. Chancellor, and D. A. Lidar, Experimental Signature of Programmable Quantum Annealing, Nat. Commun. 4, 2067 (2013).
  37. S. Boixo, T. F. Rønnow, S. V. Isakov, Z. Wang, D. Wecker, D. A. Lidar, J. M. Martinis, and M. Troyer, Evidence for Quantum Annealing with More than One Hundred Qubits, Nat. Phys. 10, 218 (2014).
  38. S. Boixo, V. N. Smelyanskiy, A. Shabani, S. V. Isakov, M. Dykman, V. S. Denchev, M. Amin, A. Smirnov, M. Mohseni, and H. Neven, Computational Role of Multiqubit Tunneling in a Quantum Annealer, Nat. Commun. 7, 10327 (2016); see also arXiv:1411.4036.
  39. T. Lanting et al., Entanglement in a Quantum Annealing Processor, Phys. Rev. X 4, 021041 (2014).
  40. M. H. Amin, Searching for Quantum Speedup in Quasistatic Quantum Annealers, Phys. Rev. A 92, 052323 (2015).
  41. N. G. Dickson, Thermally Assisted Quantum Annealing of a 16-Qubit Problem, Nat. Commun. 4, 1903 (2013).
  42. S. Bravyi, D. P. Divincenzo, R. Oliveira, and B. M. Terhal, The Complexity of Stoquastic Local Hamiltonian Problems, Quantum Inf. Comput. 8, 361 (2008).
  43. M. Kieferova and N. Wiebe, Tomography and Generative Data Modeling via Quantum Boltzmann Training, Phys. Rev. A 96, 062327 (2017).
  44. Up to a constant the relative entropy between the density matrix of the data and the quantum model is given by −Tr{ρdatalog(e−H/Tr[e−H])}=Tr[ρdataH]+logTr[e−H]=∑v∈dataHv+logTr[e−H]=−∑v∈datalog(e−Hv/Tr[e−H])=−L˜. As a result, minimizing relative entropy is equivalent to maximizing the lower bound L˜.

  45. Interestingly, the interpretation of our bound as a relative entropy provides an alternative intuition for why the transverse field cannot be trained with this approach: since the density matrix of the classical data is diagonal, matching the density matrix of the quantum system to it will always force the transverse field to be zero.

Outline

Information

Sign In to Your Journals Account

Filter

Filter

Article Lookup

Enter a citation