-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out-of-place functions in semiclassical solvers #405
Comments
Somewhat related to #404. |
@apkille You're right. There's no reason in particular, why this is the case. Probably just because there were no nice ways to update operators in-place at the time, other than working with the To get the best performance, everything that can be in-place, should be in-place of course. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to the docs (https://docs.qojulia.org/semiclassical/), to run a semiclassical solver, say
semiclassical.schroedinger_dynamic
, one has to define the following functions:So we have to define an out-of-place function for the hamiltonian, and an in-place function for classical data. Is there any particular reason why
fquantum_schroedinger
has to be out-of-place? It is clunky that both functions cannot be in-place and less memory efficient.The text was updated successfully, but these errors were encountered: