English

High-Performance Contraction of Quantum Circuits for Riemannian Optimization

Quantum Physics 2025-07-01 v1 Computational Physics

Abstract

This work focuses on optimizing the gates of a quantum circuit with a given topology to approximate the unitary time evolution governed by a Hamiltonian. Recognizing that unitary matrices form a mathematical manifold, we employ Riemannian optimization methods -- specifically the Riemannian trust-region algorithm -- which involves second derivative calculations with respect to the gates. Our key technical contribution is a matrix-free algorithmic framework that avoids the explicit construction and storage of large unitary matrices acting on the whole Hilbert space. Instead, we evaluate all quantities as sums over state vectors, assuming that these vectors can be stored in memory. We develop HPC-optimized kernels for applying gates to state vectors and for the gradient and Hessian computation. Further improvements are achieved by exploiting sparsity structures due to Hamiltonian conservation laws, such as parity conservation, and lattice translation invariance. We benchmark our implementation on the Fermi-Hubbard model with up to 16 sites, demonstrating a nearly linear parallelization speed-up with up to 112 CPU threads. Finally, we compare our implementation with an alternative matrix product operator-based approach.

Keywords

Cite

@article{arxiv.2506.23775,
  title  = {High-Performance Contraction of Quantum Circuits for Riemannian Optimization},
  author = {Fabian Putterer and Max M. Zumpe and Isabel Nha Minh Le and Qunsheng Huang and Christian B. Mendl},
  journal= {arXiv preprint arXiv:2506.23775},
  year   = {2025}
}

Comments

15 pages, 18 figures

R2 v1 2026-07-01T03:39:24.376Z