SpinGQE: A Generative Quantum Eigensolver for Spin Hamiltonians

Alexander Holden, Moinul Hossain Rahat, Nii Osae Osae Dade
3/25/2026
quant-phcs.CL

Official code: Mindbeam-AI/SpinGQE (3 stars, last commit 2026-03-27).

Abstract

The ground state search problem is central to quantum computing, with applications spanning quantum chemistry, condensed matter physics, and optimization. The Variational Quantum Eigensolver (VQE) has shown promise for small systems but faces significant limitations. These include barren plateaus, restricted ansatz expressivity, and reliance on domain-specific structure. We present SpinGQE, an extension of the Generative Quantum Eigensolver (GQE) framework to spin Hamiltonians. Our approach reframes circuit design as a generative modeling task. We employ a transformer-based decoder to learn distributions over quantum circuits that produce low-energy states. Training is guided by a weighted mean-squared error loss between model logits and circuit energies evaluated at each gate subsequence. We validate our method on the four-qubit Heisenberg model, demonstrating successfulconvergencetonear-groundstates. Throughsystematichyperparameterexploration, we identify optimal configurations: smaller model architectures (12 layers, 8 attention heads), longer sequence lengths (12 gates), and carefully chosen operator pools yield the most reliable convergence. Our results show that generative approaches can effectively navigate complex energy landscapes without relying on problem-specific symmetries or structure. This provides a scalable alternative to traditional variational methods for general quantum systems. An open-source implementation is available at https://github.com/Mindbeam-AI/SpinGQE.

View on arXivView PDF

Code Implementations(1)

30Python, Jupyter NotebookJan 13, 20266 months ago

Similar Papers

Cite this paper

@article{holden2026spingqe,
  title  = {SpinGQE: A Generative Quantum Eigensolver for Spin Hamiltonians},
  author = {Alexander Holden and Moinul Hossain Rahat and Nii Osae Osae Dade},
  year   = {2026},
  eprint = {2603.24298},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.24298v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.24298.svg)](https://codeofpaper.com/paper/2603.24298)

Discussion