Back to Search Start Over

Benchmarking Quantum Red TEA on CPUs, GPUs, and TPUs

Authors :
Jaschke, Daniel
Ballarin, Marco
Reinić, Nora
Pavešić, Luka
Montangero, Simone
Publication Year :
2024

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 torch, jax, or tensorflow library, 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 block 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.<br />Comment: 15 pages, 6 figures/tables, submitted to the 10th bwHPC Symposium

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2409.03818
Document Type :
Working Paper