- Open Access
Quantum Boltzmann Machine
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.
Physics Subject Headings (PhySH)
Popular Summary
Machine-learning techniques have allowed for the automation of many tasks, evading a traditional algorithmic approach. While the success of machine learning has so far been confined to the realm of traditional digital computation, the question of whether quantum computing can speed up the learning process is important and largely unanswered. We have constructed and tested a novel training procedure for a quantum version of a neural network that can be readily implemented on existing quantum computing hardware.
Machine-learning techniques can capture useful representations of various data sets with only limited resources. The core building block in many architectures is a neural network known as a Boltzmann machine, which is based on a classical probability distribution. It is therefore natural to ask whether a quantum extension of the Boltzmann machine can provide further power to encode classical data sets.
We develop a learning algorithm for a quantum Boltzmann machine. Via the training process, the machine learns to replicate correlations of a provided data set. We compare the performance of the quantum machine to its classical analog with the help of numerical experiments. Our results demonstrate how the machine exploits its quantum nature to mimic data sets in both supervised and unsupervised settings.
Our work opens the door for a novel application of quantum hardware as a sampler for a quantum Boltzmann machine, technology that might prove pivotal for the next generation of machine-learning algorithms.
Article Text
References (45)
- M. I. Jordan and T. M. Mitchell, Machine Learning: Trends, Perspectives, and Prospects, Science 349, 255 (2015).
- C. M. Bishop, Pattern Recognition and Machine Learning (Springer, New York, 2006).
- S. Lloyd, M. Mohseni, and P. Rebentrost, Quantum Algorithms for Supervised and Unsupervised Machine Learning, arXiv:1307.0411.
- P. Rebentrost, M. Mohseni, and S. Lloyd, Quantum Support Vector Machine for Big Data Classification, Phys. Rev. Lett. 113, 130503 (2014).
- N. Wiebe, A. Kapoor, and K. M. Svore, Quantum Deep Learning, Quantum Inf. Comput. 16, 0541 (2016).
- 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.
- H. Neven, V. S. Denchev, G. Rose, and W. G. Macready, Training a Binary Classifier with the Quantum Adiabatic Algorithm, arXiv:0811.0416.
- H. Neven, V. S. Denchev, G. Rose, and W. G. Macready, Training a Large Scale Classifier with the Quantum Adiabatic Algorithm, arXiv:0912.0779.
- K. L. Pudenz and D. A. Lidar, Quantum Adiabatic Machine Learning, Quantum Inf. Process. 12, 2027 (2013).
- M. Denil and N. de Freitas, in Proceedinngs of the NIPS*2011 Workshop on Deep Learning and Unsupervised Feature Learning.
- V. S. Denchev, N. Ding, S. V. N. Vishwanathan, and H. Neven, Robust Classification with Adiabatic Quantum Optimization, arXiv:1205.1148.
- 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.
- 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.
- M. Gu, K. Wiesner, E. Rieper, and V. Vedral, Quantum Mechanics Can Reduce the Complexity of Classical Models, Nat. Commun. 3, 762 (2012).
- M. W. Johnson, Quantum Annealing with Manufactured Spins, Nature (London) 473, 194 (2011).
- S. H. Adachi and M. P. Henderson, Application of Quantum Annealing to Training of Deep Neural Networks, arXiv:1510.06356.
- 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).
- 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).
- 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.
- 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).
- G. E. Hinton, S. Osindero, and Y-W. Teh, A Fast Learning Algorithm for Deep Belief Nets, Neural Comput. 18, 1527 (2006).
- 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.
- T. J. Sejnowski, Higher-Order Boltzmann Machines, AIP Conf. Proc. 151, 398 (1986).
- 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.
- R. Memisevic and G. E. Hinton, Learning to Represent Spatial Transformation with Factored Higher-Order Boltzmann Machines, Neural Comput. 22, 1473 (2010).
In physical systems, Hamiltonian parameters have unit of energy. We normalize these parameters by , where is temperature and is the Boltzmann constant; we absorb into the parameters.
- G. E. Hinton, Training Products of Experts by Minimizing Contrastive Divergence, Neural Comput. 14, 1771 (2002).
- 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).
- S. Golden, Lower Bounds for the Helmholtz Function, Phys. Rev. 137, B1127 (1965).
- C. J. Thompson, Inequality with Applications in Statistical Mechanics, J. Math. Phys. (N.Y.) 6, 1812 (1965).
- 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.
There are other techniques used for supervised learning, for example, when only a small fraction of the available data is labeled.
- J. Nocedal and S. Wright, Numerical Optimization (Springer-Verlag, New York, 2006), p. 136.
This choice was made to keep the number of qubits small to allow for exact diagonalization.
- R. Harris et al., Experimental Investigation of an Eight Qubit Unit Cell in a Superconducting Optimization Processor, Phys. Rev. B 82, 024511 (2010).
- S. Boixo, T. Albash, F. M. Spedalieri, N. Chancellor, and D. A. Lidar, Experimental Signature of Programmable Quantum Annealing, Nat. Commun. 4, 2067 (2013).
- 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).
- 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.
- T. Lanting et al., Entanglement in a Quantum Annealing Processor, Phys. Rev. X 4, 021041 (2014).
- M. H. Amin, Searching for Quantum Speedup in Quasistatic Quantum Annealers, Phys. Rev. A 92, 052323 (2015).
- N. G. Dickson, Thermally Assisted Quantum Annealing of a 16-Qubit Problem, Nat. Commun. 4, 1903 (2013).
- S. Bravyi, D. P. Divincenzo, R. Oliveira, and B. M. Terhal, The Complexity of Stoquastic Local Hamiltonian Problems, Quantum Inf. Comput. 8, 361 (2008).
- M. Kieferova and N. Wiebe, Tomography and Generative Data Modeling via Quantum Boltzmann Training, Phys. Rev. A 96, 062327 (2017).
Up to a constant the relative entropy between the density matrix of the data and the quantum model is given by . As a result, minimizing relative entropy is equivalent to maximizing the lower bound .
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.
