Quantum Hamiltonian Descent

Jiaqi Leng, Ethan Hickman, Joseph Li, Xiaodi WuarXiv 2023

TL;DR

This paper introduces Quantum Hamiltonian Descent (QHD), a novel quantum algorithm that acts as a true quantum counterpart to classical gradient descent. QHD leverages quantum tunneling to escape local minima in non-convex optimization problems, demonstrating superior performance over classical solvers and the Quantum Adiabatic Algorithm (QAA) on challenging quadratic programming tasks.

What Problem Does This Paper Address?

Classical gradient descent is a cornerstone of optimization, but it struggles with non-convex problems that have many local minima. While quantum algorithms offer potential speedups, existing approaches often just accelerate classical steps without fundamentally changing the solution trajectory or improving solution quality. The authors sought to develop a quantum algorithm that genuinely addresses the limitations of classical gradient descent, particularly its susceptibility to spurious local optima, by harnessing quantum phenomena like tunneling.

Methods

The core innovation is Quantum Hamiltonian Descent (QHD), derived from a path-integral quantization of the continuous-time limit of classical gradient descent. This approach treats the entire algorithmic trajectory as a quantum mechanical system governed by a Schrödinger equation. QHD's Hamiltonian is designed to allow for efficient simulation on both digital and analog quantum computers. The authors also developed a Hamiltonian embedding technique to implement QHD on analog quantum simulators like the D-Wave machine, specifically using a Hamming encoding scheme. They further propose a "three-phase picture" (kinetic, global search, descent) to characterize QHD's evolution and explain its advantages.

Datasets

The paper evaluates QHD on 22 two-dimensional non-convex optimization instances from existing literature, categorized by landscape features (Ridges/Valleys, Basin, Flat, Studded, Simple). For their D-Wave implementation, they generated a new benchmark set of 160 quadratic programming (QP) instances with varying dimensions (5, 50, 60, 75) and low sparsity, specifically designed for analog quantum hardware.

Key Insights and Ideas

  • QHD as a "True" Quantum Gradient Descent: Unlike methods that merely quantize subroutines, QHD quantizes the entire continuous-time gradient descent process, offering a fundamentally different approach.
  • Quantum Tunneling for Escaping Local Minima: QHD's path-integral formulation allows it to explore classically "forbidden" trajectories, enabling it to tunnel through energy barriers and escape spurious local minima, a key advantage for non-convex problems.
  • The "Three-Phase Picture": The kinetic, global search, and descent phases provide a valuable framework for understanding QHD's dynamics and its superior performance compared to QAA, particularly in how it explores the search space and converges.
  • Analog Implementation Feasibility: The development of Hamiltonian embedding and Hamming encoding demonstrates a practical path for implementing QHD on near-term analog quantum hardware like D-Wave.

Key Results

  • Superior Performance: On non-convex constrained quadratic programming instances up to 75 dimensions, D-Wave-implemented QHD outperformed state-of-the-art classical solvers (IPOPT, SNOPT, etc.) and the standard Quantum Adiabatic Algorithm (QAA) in terms of time-to-solution (TTS).
  • Stability: QHD showed better stability than classical iterative methods like NAGD, managing to converge on functions where NAGD failed.
  • Resolution Independence: Unlike QAA, whose performance degrades with higher resolution due to its discrete nature, QHD's performance remained consistent.
  • Theoretical Guarantees: QHD is proven to converge to the global minimum for convex functions and is shown to converge globally for non-convex functions under certain assumptions.

Limitations and Future Work

  • D-Wave Implementation Constraints: The D-Wave implementation faces limitations due to finite qubit connectivity and the inability to program arbitrary time-dependent functions, which may perturb the ideal QHD Hamiltonian.
  • Naive Algorithmic Design: The current D-Wave implementation of QHD is described as "exceedingly plain" and does not yet outperform sophisticated classical branch-and-bound methods for all problems.
  • Quadratic Programming Focus: The current work focuses on quadratic programming. While quadratization techniques exist for higher-order polynomials, they can introduce significant overheads.
  • Future Directions: The authors suggest integrating QHD into branch-and-bound strategies, exploring its potential with larger quantum machines and better connectivity, and further investigating its competitiveness with state-of-the-art nonlinear local solvers. They also highlight the potential for QHD to serve as a benchmark for testing quantum devices.

Summary updated

BibTeX
@misc{leng2023quantum,
  author = {Jiaqi Leng and Ethan Hickman and Joseph Li and Xiaodi Wu},
  title = {{Quantum Hamiltonian Descent}},
  year = {2023},
  eprint = {2303.01471},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.01471},
}
Figure