Expand description
Chebyshev propagation on the GPU, checked against the CPU.
- Calibration. The first 2 % of the steps (at least one, at most 50) run on the CPU in
f64 and on the GPU from the same state. Their distance, relative to
‖ψ‖and scaled linearly to the whole run, predicts the final error; above the tolerance the CPU does the rest. Otherwise the GPU continues from the CPU state. - Final check. The norm of every wave function must stay within the tolerance; if it does not (or the GPU fails), the CPU recomputes the whole run.
Functions§
- propagate
stepsstepsψ ← exp(−iH dt) ψof the propagatorchebwith the rescaled Hamiltonianh, for a block ofvectorswave functions stored interleaved (asSparseMatrix::apply_block), on the device ofoptions.