Adaptive GPU execution planning for memory-limited Hamiltonian applications
Uriel Shafir, Ronnie Kosloff
Key points
From the paper's conclusion- Validation against a fixed full-cache policy, direct GPU dense linear algebra, and a broader measured candidate search is used to quantify the benefit and overhead of adaptive planning.
Abstract
Many quantum-simulation workflows, including propagation, filtering, Krylov, stochastic sampling, and observable measurement, are dominated by applications of Hamiltonians or other large operators, either to one state vector, ϕ=Ĥψ, or to several right-hand sides, Y=ĤX. These applications may be repeated many times, as in propagation and filtering, or may occur as one-shot observable, measurement, projection, or post-processing operations. The numerical algorithms used for these tasks are well established. The contribution of this work is an execution layer for these existing algorithms and operator evaluations when dense or effectively dense operator data exceed the memory of a single accelerator. The implementation first inspects the allocated hardware, including the number of GPUs (graphics processing units), available accelerator memory, and supported execution modes. It then enumerates candidate ways to apply the same mathematical operator: direct analytic action, seed-based generation, fused implicit kernels, on-demand block generation, parallel block execution, partial caching, full GPU caching, row-distributed caching across several GPUs, task parallelism, and hybrid row/task parallel execution. These candidates are ranked analytically using memory estimates, arithmetic-work estimates, cache requirements, and GPU-grouping constraints. The best analytically ranked candidates are then tested by a measured autotuner on the allocated hardware. Candidate comparisons use the same operator and input vectors and distinguish steady application time from calibration, compilation, cache construction, and tuning overhead. Plan selection minimizes expected total time for the declared number of operator uses. Validation against a fixed full-cache policy, direct GPU dense linear algebra, and a broader measured candidate search is used to quantify the benefit and overhead of adaptive planning. Logged trials may support learned ranking in future work, but no neural surrogate is used in the reported results.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Making Repeated Variational Circuit Optimization Efficient on GPUsarXiv · 2026
- Efficient simulation of variational quantum circuits: representation, accuracy and CPU/GPU allocationarXiv · 2026
- Simulating Quantum Computation Using Probabilistic ProgrammingarXiv · 2026
- Application-Oriented Evaluation of CPU/GPU Quantum Simulators: From Foundational Circuits to Quantum ChemistryarXiv · 2026
- A GPU-Accelerated and Geometry-Aware Quantum-Classical Framework for Optimized PES Scans with CUDA-QarXiv · 2026
- Parallelizing Program Execution on Distributed Quantum Systems via Compiler/Hardware Co-DesignPhysica Scripta · 2026