Classical optimization algorithms for diagonalizing quantum Hamiltonians

Li Xiantao, Taehee Ko, Sangkook Choi, Hyowon Park, Xiantao LiPhysica 2025

Introduction

Simulating the temporal evolution of quantum systems is a fundamental challenge in quantum computing. While established techniques such as Trotterization and Quantum Signal Processing (QSP) are effective for short-duration simulations, their computational complexity scales linearly with time ($T$). To achieve "fast-forwarding"—the ability to simulate long-time dynamics with sublinear complexity—it is necessary to diagonalize the system's Hamiltonian ($H$).

Historically, researchers have faced a significant trade-off. Lie-algebraic methods often incur exponential computational costs per iteration or produce impractically deep circuits. Conversely, Variational Quantum Eigensolvers (VQE) are frequently hindered by "messy" optimization landscapes characterized by barren plateaus and local minima. This paper introduces a classical optimization framework designed to bridge this gap, offering a mathematically guaranteed path to exact diagonalization by minimizing a cost function expressed in the Pauli basis.

Methodology

The proposed framework relies on a classical optimization approach structured around three pillars:

  1. The Cost Function: The authors define a function $F(r, heta)$ utilizing Pauli strings to represent the Hamiltonian. This function serves a dual purpose: it penalizes off-diagonal terms to drive the system toward a diagonal matrix $D$, and it enforces an orthogonality constraint to ensure the resulting transformation $K$ remains unitary.
  2. The Ansatz: The unitary transformation $K$ is parameterized as a linear combination of Pauli strings. By restricting the representation to a polynomially sized set of Pauli strings, the algorithm remains computationally tractable even when the underlying physical system is complex.
  3. Optimization Algorithms: Two primary algorithms are presented:
  4. Deterministic Gradient Descent: This method utilizes an explicit normalization step to prevent parameter collapse, ensuring the algorithm converges toward a global minimum.
  5. Randomized Coordinate Descent: A stochastic variant that updates only a subset of parameters per iteration. This significantly reduces the per-iteration complexity from $O(d^4 M^2)$ to $O(d^2 M)$, where $d$ is the number of Pauli strings in the ansatz and $M$ is the number of terms in the Hamiltonian.

Theoretical Contributions: The Benign Landscape

The core theoretical breakthrough of this work is the proof that the defined cost function possesses a "benign" optimization landscape. The authors demonstrate that every non-zero stationary point in the landscape is a global minimum. This finding is critical because it implies that classical gradient-based algorithms can avoid the local minima and traps that typically plague variational quantum algorithms.

Furthermore, this research extends the class of "quantum-diagonalizable" Hamiltonians. Previous proofs for fast-forwarding were limited to Hamiltonians within polynomially sized Lie algebras. This framework proves that systems with exponentially large Lie algebras can still be diagonalized efficiently, provided their eigenvectors possess a sparse representation in the Pauli basis.

Experimental Results

The algorithms were evaluated using both synthetic Hamiltonians and physical models, including the XXZ spin chain and the Hubbard model. Key findings include:

  • Convergence Characteristics: The deterministic algorithm exhibits linear convergence—where error decreases exponentially with iterations—under specific landscape conditions (the KL condition).
  • Efficiency and Scaling: The randomized coordinate descent method showed substantial speedups, confirming its utility for larger Pauli basis sets. The framework maintains polynomial-time efficiency for any system where the diagonalizing unitary $K$ can be represented by $O(poly(n))$ Pauli strings.
  • Precision: In tests on 4-qubit XXZ and Hubbard models, the algorithm consistently converged to high-precision solutions, achieving final errors as low as $0.003$ regardless of initial conditions.
  • Error Verification: The authors derived a posteriori error bounds, allowing researchers to calculate the physical accuracy of a diagonalization result directly from the remaining optimization error.

Discussion and Limitations

While the framework offers a robust classical path to diagonalization, its efficiency is intrinsically linked to the sparsity of the ansatz. If the diagonalizing unitary $K$ requires an exponential number of Pauli strings, the classical overhead becomes prohibitive. Additionally, while the deterministic algorithm has a rigorous convergence proof, the formal proof for the randomized variant remains an open theoretical challenge.

Finally, while the algorithm successfully identifies the classical representation of the unitary $K$, the subsequent task of compiling this representation into a sequence of quantum gates remains a separate challenge that depends on the specific structure of the Pauli strings identified. Future work will likely focus on automating this compilation and exploring the limits of Pauli sparsity in increasingly complex quantum materials.

Summary updated

BibTeX
@misc{xiantao2025classical,
  author = {Li Xiantao and Taehee Ko and Sangkook Choi and Hyowon Park and Xiantao Li},
  title = {{Classical optimization algorithms for diagonalizing quantum Hamiltonians}},
  year = {2025},
  eprint = {2506.17883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.17883},
}
Figure