Learning to Optimize Variational Quantum Circuits to Solve Combinatorial Problems

Quantum computing is a computational paradigm with the potential to outperform classical methods for a variety of problems. Proposed recently, the Quantum Approximate Optimization Algorithm (QAOA) is considered as one of the leading candidates for demonstrating quantum advantage in the near term. QAOA is a variational hybrid quantum-classical algorithm for approximately solving combinatorial optimization problems. The quality of the solution obtained by QAOA for a given problem instance depends on the performance of the classical optimizer used to optimize the variational parameters. In this paper, we formulate the problem of finding optimal QAOA parameters as a learning task in which the knowledge gained from solving training instances can be leveraged to find high-quality solutions for unseen test instances. To this end, we develop two machine-learning-based approaches. Our first approach adopts a reinforcement learning (RL) framework to learn a policy network to optimize QAOA circuits. Our second approach adopts a kernel density estimation (KDE) technique to learn a generative model of optimal QAOA parameters. In both approaches, the training procedure is performed on small-sized problem instances that can be simulated on a classical computer; yet the learned RL policy and the generative model can be used to efficiently solve larger problems. Extensive simulations using the IBM Qiskit Aer quantum circuit simulator demonstrate that our proposed RL- and KDE-based approaches reduce the optimality gap by factors up to 30.15 when compared with other commonly used off-the-shelf optimizers.

[1]  Patrick J. Coles,et al.  Variational quantum state diagonalization , 2018, npj Quantum Information.

[2]  F. Brandão,et al.  For Fixed Control Parameters the Quantum Approximate Optimization Algorithm's Objective Function Value Concentrates for Typical Instances , 2018, 1812.04170.

[3]  Jianxin Chen,et al.  Alibaba Cloud Quantum Development Platform: Applications to Quantum Algorithm Design , 2019, 1909.02559.

[4]  Prasanna Balaprakash,et al.  Reinforcement-Learning-Based Variational Quantum Circuits Optimization for Combinatorial Problems , 2019, ArXiv.

[5]  D Zhu,et al.  Training of quantum circuits on a hybrid quantum computer , 2018, Science Advances.

[6]  Alec Radford,et al.  Proximal Policy Optimization Algorithms , 2017, ArXiv.

[7]  Danna Zhou,et al.  d. , 1934, Microbial pathogenesis.

[8]  Thomas Stützle,et al.  Improvement Strategies for the F-Race Algorithm: Sampling Design and Iterative Refinement , 2007, Hybrid Metaheuristics.

[9]  Richard S. Sutton,et al.  Reinforcement Learning: An Introduction , 1998, IEEE Trans. Neural Networks.

[10]  Alexander Elgart,et al.  The Adiabatic Theorem of Quantum Mechanics , 1998 .

[11]  Ilya Safro,et al.  Network Community Detection on Small Quantum Computers , 2018, Advanced Quantum Technologies.

[12]  Giacomo Nannicini,et al.  Improving Variational Quantum Optimization using CVaR , 2019, Quantum.

[13]  Mikhail Smelyanskiy,et al.  Practical optimization for hybrid quantum-classical algorithms , 2017, 1701.01450.

[14]  Gavin E. Crooks,et al.  Performance of the Quantum Approximate Optimization Algorithm on the Maximum Cut Problem , 2018, 1811.08419.

[15]  Ojas Parekh,et al.  Quantum Optimization and Approximation Algorithms. , 2019 .

[16]  Keisuke Fujii,et al.  Sequential minimal optimization for quantum-classical hybrid algorithms , 2019, Physical Review Research.

[17]  G. G. Stokes "J." , 1890, The New Yale Book of Quotations.

[18]  Frank Hutter,et al.  Initializing Bayesian Hyperparameter Optimization via Meta-Learning , 2015, AAAI.

[19]  Leo Zhou,et al.  Quantum Approximate Optimization Algorithm: Performance, Mechanism, and Implementation on Near-Term Devices , 2018, Physical Review X.

[20]  Gian Giacomo Guerreschi,et al.  QAOA for Max-Cut requires hundreds of qubits for quantum speed-up , 2018, Scientific Reports.

[21]  Rupak Biswas,et al.  From the Quantum Approximate Optimization Algorithm to a Quantum Alternating Operator Ansatz , 2017, Algorithms.

[22]  David P. Williamson,et al.  Improved approximation algorithms for maximum cut and satisfiability problems using semidefinite programming , 1995, JACM.

[23]  Tsuyoshi Murata,et al.  {m , 1934, ACML.

[24]  M. Hastings,et al.  Training A Quantum Optimizer , 2016, 1605.05370.

[25]  J. McClean,et al.  Strategies for quantum computing molecular energies using the unitary coupled cluster ansatz , 2017, Quantum Science and Technology.

[26]  Hartmut Neven,et al.  Optimizing Variational Quantum Algorithms using Pontryagin's Minimum Principle , 2016, ArXiv.

[28]  G. Evans,et al.  Learning to Optimize , 2008 .

[29]  Marcin Andrychowicz,et al.  Learning to learn by gradient descent by gradient descent , 2016, NIPS.

[30]  Ilya Safro,et al.  Multistart Methods for Quantum Approximate optimization , 2019, 2019 IEEE High Performance Extreme Computing Conference (HPEC).

[31]  B. Apolloni,et al.  Quantum stochastic optimization , 1989 .

[32]  Ilya Safro,et al.  Community Detection Across Emerging Quantum Architectures , 2018, ArXiv.

[33]  Prasanna Balaprakash,et al.  DeepHyper: Asynchronous Hyperparameter Search for Deep Neural Networks , 2018, 2018 IEEE 25th International Conference on High Performance Computing (HiPC).

[34]  Masoud Mohseni,et al.  Learning to learn with quantum neural networks via classical neural networks , 2019, ArXiv.

[35]  Jost Tobias Springenberg,et al.  Supplementary material for : Initializing Bayesian Hyperparameter Optimization via Meta-Learning , 2015 .

[36]  M. Leib,et al.  Comparison of QAOA with Quantum and Simulated Annealing , 2019, 1901.01903.

[37]  P ? ? ? ? ? ? ? % ? ? ? ? , 1991 .

[38]  Lars Kotthoff,et al.  Automated Machine Learning: Methods, Systems, Challenges , 2019, The Springer Series on Challenges in Machine Learning.

[39]  E. Farhi,et al.  A Quantum Approximate Optimization Algorithm , 2014, 1411.4028.