Closed i2000s closed 10 years ago
I don't know if this is readily possible with the current expmv
which treats t
basically as (real) time and uses adaptive step sizes. One could separately treat the case with purely imaginary t
, but I am not sure it matters compared to the time used for the propagation itself. Anyways I will have a look.
BTW, it might be better to post issues concerning expmv
in the new package Expokit.jl, which will replace the implementation here and maybe provide other approaches.
This should work now.
In the current expmv function setting, the scalar _t_ input is limited to real numbers. In reality, to speed up the computing time, one can combine im/hbar_t as the scalar input _t* to avoid the costly scalar times matrix operation in the matrix _A_. So, one solution is to allow complex type of _t_ inputs as well.