Sequential Hamiltonian Assembly: Enhancing the Training of Combinatorial Optimization Problems on Quantum Computers

Navid Roshani, Jonas Stein, Maximilian Zorn, Michael Kölle, Philipp Altmann, Claudia Linnhoff-Popien

Abstract

Training quantum computers to solve combinatorial optimization problems is frequently hindered by the "barren plateau" phenomenon, where the optimization landscape becomes too flat for gradient-based methods to navigate. This paper discusses Sequential Hamiltonian Assembly (SHA), a novel training strategy that mitigates vanishing gradients by iteratively constructing the problem's complexity. By starting with local components of the Hamiltonian and progressively assembling the full global cost function, SHA allows Parameterized Quantum Circuits (PQCs) to find viable optimization paths before the landscape flattens. Our results demonstrate that SHA significantly outperforms standard Variational Quantum Eigensolvers (VQE) and existing state-of-the-art techniques like Layer-VQE, particularly in Max-Cut and Graph Coloring tasks.

Introduction

In the field of Quantum Machine Learning (QML), Parameterized Quantum Circuits (PQCs) serve as tunable models analogous to classical neural networks. However, a primary bottleneck in scaling these models is the presence of "barren plateaus"—regions in the parameter space where the gradient of the loss function vanishes exponentially with the number of qubits.

This issue is acutely tied to the use of global loss functions. When a problem requires the simultaneous measurement of a large subset of qubits to calculate a cost, the resulting landscape becomes featureless, leaving the optimizer without a clear direction for parameter updates. This makes large-scale combinatorial optimization problems, such as Graph Coloring or Max-Cut, nearly impossible to solve using standard quantum optimization methods. Sequential Hamiltonian Assembly (SHA) is proposed as a solution to bypass these plateaus by leveraging the benefits of local cost functions during the early stages of training.

Methodology

The SHA Framework

Instead of attempting to minimize the complex global Hamiltonian—the mathematical representation of the problem's total cost—all at once, SHA decomposes the Hamiltonian into local components. The training process follows three distinct phases:

  1. Partitioning: The global Hamiltonian is divided into smaller groups of terms. The authors evaluated four specific strategies for this division: Random, Sequential (chronological), Clustering (utilizing K-Means on the graph structure), and Problem-inspired (a "nodewise" approach).
  2. Iterative Training: The PQC is initially trained using only the first partition of the Hamiltonian. This local focus provides a more "curved" landscape with detectable gradients.
  3. Assembly: Upon reaching a local minimum, the next partition is integrated into the cost function. The optimization continues iteratively until the full global Hamiltonian is assembled and the final parameters are refined.

Hybrid Integrations

SHA is designed to be modular. The researchers explored its synergy with other optimization techniques, specifically Layer-VQE (which incrementally increases circuit depth) and the Quantum Approximate Optimization Algorithm (QAOA).

Experimental Setup

The efficacy of SHA was evaluated using synthetic problem instances generated via the Erdős-Rényi-Gilbert model for random graphs. The benchmarks included:

  • Graph Coloring: 10 instances with 8 nodes and 4 colors, mapped to 16 qubits.
  • Max-Cut: The same graph instances mapped to an 8-qubit optimization problem.
  • Difficulty Variance: Instances were selected to represent a spectrum of difficulty, determined by the density of correct solutions within the total search space.

Key Insights and Results

Performance Gains

SHA demonstrated substantial improvements over baseline methods. In Max-Cut problems, SHA outperformed standard VQE by up to 43.89% in mean accuracy. Furthermore, SHA achieved a 29.08% improvement over Layer-VQE, which was previously considered the empirical leader for these problem types. The hybrid approach (SHA combined with Layer-VQE) yielded a 35.5% median accuracy improvement over standard VQE, suggesting a powerful synergy between growing the cost function and growing the circuit depth.

Strategy and Stability

The choice of partitioning strategy proved critical. The "Nodewise" strategy, which utilizes the inherent structure of the graph, significantly outperformed random partitioning. This suggests that problem-inspired assembly is vital for maintaining a trainable landscape. Additionally, SHA exhibited high stability; as the assembly progressed, the "most likely shot" (the state with the highest probability) showed a clear increasing trend in accuracy, indicating that the quantum computer becomes increasingly certain of the correct solution.

The QAOA Paradox

An interesting finding emerged regarding QAOA. While QAOA often maintains a higher "raw accuracy" (the cumulative probability of all correct solutions), its probability distribution is often spread across many states. In contrast, VQE-based SHA produces a much sharper "peak" at the most likely solution. This makes SHA-trained models potentially more useful for practical applications where a single, high-confidence answer is required. Notably, SHA did not provide significant benefits when merged with QAOA, likely due to the rigid structure of the QAOA ansatz.

Discussion and Limitations

While SHA offers a clear path forward for training on near-term quantum devices, it introduces a trade-off in time complexity. Because the algorithm requires multiple iterative assembly steps, the total number of optimization steps is roughly double that of a standard VQE.

Furthermore, while results on 8-node and 16-qubit systems are promising, the scalability to industrial-scale problems remains an open question. The "Clustering" strategy, which underperformed on small graphs, may become more relevant as graph sizes increase and distinct community structures emerge. Future work will focus on refining these partitioning strategies and testing SHA on larger-scale hardware to determine if the gradient advantages persist as the qubit count grows.

Summary updated

BibTeX
@inproceedings{roshani2024sequential,
  author = {Navid Roshani and Jonas Stein and Maximilian Zorn and Michael Kölle and Philipp Altmann and Claudia Linnhoff-Popien},
  title = {{Sequential Hamiltonian Assembly: Enhancing the Training of Combinatorial Optimization Problems on Quantum Computers}},
  booktitle = {ICAART (Revised Selected Paper, 1)},
  year = {2024},
  url = {https://openreview.net/forum?id=gmxTk3ynMp},
}
Figure