GPU-accelerated Effective Hamiltonian Calculator
Abhishek Chakraborty, Taylor L. Patti, Brucek Khailany, Andrew N. Jordan, Anima Anandkumar
TL;DR
The paper introduces qCHeff, an open-source Python package that enables GPU-accelerated, numerically stable effective-Hamiltonian calculations for large quantum systems. It combines two complementary approaches: NPAD-based iterative Schrieffer-Wolff transformations for efficient block-diagonalization of time-independent problems, and a Magnus expansion-based time-evolution framework for accurate time-coarse-grained simulations of rapidly driven dynamics. The authors demonstrate substantial performance gains on GPUs—up to about 15x for NPAD and 300x for Magnus compared with CPU or direct QuTiP simulations—while maintaining high accuracy, validated on models such as the Jaynes-Cummings-Hubbard lattice, strongly driven qubits, and degenerate spin chains. These methods enable scalable analysis of high-dimensional quantum systems with interpretable effective dynamics and offer a path toward further GPU-accelerated, sparse, and higher-order extensions in quantum simulation and control.
Abstract
Effective Hamiltonian calculations for large quantum systems can be both analytically intractable and numerically expensive using standard techniques. In this manuscript, we present numerical techniques inspired by Nonperturbative Analytical Diagonalization (NPAD) and the Magnus expansion for the efficient calculation of effective Hamiltonians. While these tools are appropriate for a wide array of applications, we here demonstrate their utility for models that can be realized in circuit-QED settings. Our numerical techniques are available as an open-source Python package, ${\rm qCH_{eff}}$, which is available on GitHub (https://github.com/NVlabs/qCHeff) and PyPI (https://pypi.org/project/qcheff/). We use the CuPy library for GPU-acceleration and report up to 15x speedup on GPU over CPU for NPAD, and up to 42x speedup for the Magnus expansion (compared to QuTiP), for large system sizes.
