Quantum gradient descent and Newton’s method for constrained polynomial optimization

Patrick Rebentrost, Maria SchuldDSpace@MIT 2019

Abstract

Optimization problems in disciplines such as machine learning are commonly solved with iterative methods. Gradient descent algorithms find local minima by moving along the direction of steepest descent while Newton’s method takes into account curvature information and thereby often improves convergence. Here, we develop quantum versions of these iterative optimization algorithms and apply them to polynomial optimization with a unit norm constraint. In each step, multiple copies of the current candidate are used to improve the candidate using quantum phase estimation, an adapted quantum state exponentiation scheme, as well as quantum matrix multiplications and inversions. The required operations perform polylogarithmically in the dimension of the solution vector and exponentially in the number of iterations. Therefore, the quantum algorithm can be useful for high-dimensional problems where a small number of iterations is sufficient.

Introduction: The Scaling Challenge in Optimization

In machine learning and data science, optimization is the fundamental engine. Finding the "lowest point" in a complex mathematical landscape—the global or local minimum of a loss function—is central to training neural networks or performing regression. As datasets grow, the dimensionality ($N$) of these landscapes becomes astronomical, often pushing classical computational resources to their limits.

Classical optimization typically relies on iterative methods. Gradient Descent (1st order) follows the steepest slope downward, while Newton’s Method (2nd order) utilizes curvature information (the Hessian matrix) to take more informed steps. However, when the solution vector has millions or billions of components, even a single iteration becomes computationally prohibitive. This paper addresses constrained polynomial optimization, where the objective is to minimize a polynomial function while keeping the solution vector on the surface of a unit sphere—a common requirement in signal processing, speech recognition, and quantum mechanics.

Methodology: Quantum Iterative Framework

The researchers translate these classical iterations into a quantum mechanical framework using several key techniques:

  • Amplitude Encoding: The solution vector is represented as the amplitudes of a quantum state. This allows a vector of size $N$ to be stored in just $\log N$ qubits, providing the basis for exponential space savings.
  • Operator Construction for Polynomials: For polynomial functions, the gradient and the Hessian can be represented as quantum operators ($D$ and $H$). These operators allow the simulation of the gradient and Hessian as physical processes (Hamiltonians) acting on the quantum state.
  • Quantum State Exponentiation and Updates: To transition between iterations, the algorithm employs Quantum Phase Estimation and ancilla rotations. Each step "consumes" multiple copies of the current state to produce a single, refined version of the next state.
  • Natural Constraints: A significant advantage of the quantum approach is that quantum states are inherently normalized. The "spherical constraint" of the optimization problem is naturally enforced by the physics of the system, requiring no additional projection steps.

Key Insights: The Dimension-Iteration Trade-off

The core finding of this work is a distinct trade-off in computational complexity. The algorithm is exceptionally efficient regarding the dimension of the vector ($N$), scaling as $\text{polylog}(N)$. However, the resource cost grows exponentially with the number of iterations ($T$), scaling as $O(2^T)$.

This makes the algorithm a specialist tool: it is designed for massive, high-dimensional problems that can be solved in a few high-quality steps. Consequently, Newton’s Method emerges as the superior candidate for quantum implementation. Because Newton’s method often achieves quadratic convergence—doubling the precision bits at every step—it requires far fewer iterations than standard Gradient Descent to reach an acceptable solution, staying within the "shallow" iteration regime where the quantum advantage is most potent.

Results and Performance

The theoretical analysis yields several key results:

  1. Gate Complexity: The complexity for a single iteration is $O(\text{polylog } N)$, offering a massive potential speedup for high-dimensional problems.
  2. Success Probability: The authors demonstrate that the success probability of the measurement required to update the state is lower-bounded by a constant (at least $1/16$), ensuring the algorithm's practical viability.
  3. Error Robustness: The method maintains convergence even with imperfect quantum operations, showing a degree of tolerance to errors in gradient or Hessian simulation.

Limitations and Future Directions

Despite the potential for exponential speedup in dimension, the "exponential wall" of $2^T$ scaling remains a significant constraint. The algorithm is unsuitable for problems requiring hundreds of iterations. Furthermore, the method relies on "oracles"—black boxes that provide polynomial coefficients and prepare initial states—the construction of which remains a secondary challenge for specific applications.

Currently optimized for even-degree homogeneous polynomials, future work will look to expand this framework to arbitrary smooth functions. As a "fault-tolerant" algorithm requiring deep circuits and many state copies, it represents a target for future, large-scale quantum computers rather than the current generation of noisy (NISQ) devices.

This summary is based on the paper "Quantum gradient descent and Newton’s method for constrained polynomial optimization" by Patrick Rebentrost et al.

Summary updated

Abstract

Optimization problems in disciplines such as machine learning are commonly solved with iterative methods. Gradient descent algorithms find local minima by moving along the direction of steepest descent while Newton's method takes into account curvature information and thereby often improves convergence. Here, we develop quantum versions of these iterative optimization algorithms and apply them to polynomial optimization with a unit norm constraint. In each step, multiple copies of the current candidate are used to improve the candidate using quantum phase estimation, an adapted quantum state exponentiation scheme, as well as quantum matrix multiplications and inversions. The required operations perform polylogarithmically in the dimension of the solution vector and exponentially in the number of iterations. Therefore, the quantum algorithm can be useful for high-dimensional problems where a small number of iterations is sufficient.
BibTeX
@inproceedings{rebentrost2019quantum,
  author = {Patrick Rebentrost and Maria Schuld},
  title = {{Quantum gradient descent and Newton’s method for constrained polynomial optimization}},
  booktitle = {DSpace@MIT},
  year = {2019},
}

Loading related content...

Figure