GPU-Accelerated Selected Basis Diagonalization with Thrust for SQD-based Algorithms
Jun Doi, Tomonori Shirakawa, Yukio Kawashima, Seiji Yunoki, Hiroshi Horii
TL;DR
This paper tackles the classical diagonalization bottleneck in SQD by delivering a GPU-native SBD backend built on the Thrust library. By flattening data structures, reworking excitation generation, and using determinant caching, the approach unlocks substantial thread-level parallelism for both half-bitstring and full-bitstring representations. Empirical results on GPU-dense systems show 35–39× per-node speedups over CPU runs and end-to-end reductions in SQD iteration time, enabling chemically meaningful scales within available memory. The work demonstrates a portable, high-performance foundation for accelerating SQD-based quantum–classical workflows on modern heterogeneous HPC platforms.
Abstract
Selected Basis Diagonalization (SBD) plays a central role in Sample-based Quantum Diagonalization (SQD), where iterative diagonalization of the Hamiltonian in selected configuration subspaces forms the dominant classical workload. We present a GPU-accelerated implementation of SBD using the Thrust library. By restructuring key components -- including configuration processing, excitation generation, and matrix-vector operations -- around fine-grained data-parallel primitives and flattened GPU-friendly data layouts, the proposed approach efficiently exploits modern GPU architectures. In our experiments, the Thrust-based SBD achieves up to $\sim$40$\times$ speedup over CPU execution and substantially reduces the total runtime of SQD iterations. These results demonstrate that GPU-native parallel primitives provide a simple, portable, and high-performance foundation for accelerating SQD-based quantum-classical workflows.
