English

Benchmarking Quantum Red TEA on CPUs, GPUs, and TPUs

Quantum Physics 2026-05-12 v2 Quantum Gases

Abstract

We benchmark simulations of many-body quantum systems on heterogeneous hardware platforms using CPUs, GPUs, and TPUs. We compare different linear algebra backends, e.g., NumPy versus the PyTorch, JAX, or TensorFlow libraries, as well as a mixed-precision-inspired approach and optimizations for the target hardware. Quantum Red TEA out of the Quantum TEA library specifically addresses handling tensors with different libraries or hardware, where the tensors are the building blocks of tensor network algorithms. The benchmark problem is a variational search of a ground state in an interacting model. This is a ubiquitous problem in quantum many-body physics, which we solve using tensor network methods. This approximate state-of-the-art method compresses quantum correlations which is key to overcoming the exponential growth of the Hilbert space as a function of the number of particles. We present a way to obtain speedups of a factor of 34 when tuning parameters on the CPU, and an additional factor of 2.76 on top of the best CPU setup when migrating to GPUs.

Keywords

Cite

@article{arxiv.2409.03818,
  title  = {Benchmarking Quantum Red TEA on CPUs, GPUs, and TPUs},
  author = {Daniel Jaschke and Marco Ballarin and Nora Reinić and Luka Pavešić and Simone Montangero},
  journal= {arXiv preprint arXiv:2409.03818},
  year   = {2026}
}

Comments

15 pages, 6 figures/tables, submitted to the 10th bwHPC Symposium. Minor revisions in text in v2

R2 v1 2026-06-28T18:35:46.959Z