-
Notifications
You must be signed in to change notification settings - Fork 109
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
Cache input to master derivative functions #406
Comments
It shouldn't create any ambiguities to add that method, so go ahead 👍 |
this might be related #298 |
@Krastanov to build off our discussion in person: a workaround is assigning the cached
|
In several of the master functions, e.g.,
dmaster_h!
, a cached copy ofdrho
is required as input:Presumably, this is to improve performance of solvers such as
timeevolution.master
. However, this feels excessive if we don't want to use the corresponding solver, and instead create an ODE problem directly with our density operators anddmaster_h!
. For example, it would be great if we could define an in-place method without the cache input, sayThis is a natural interface that I'm aiming for with all of the recent broadcasting work (#404, qojulia/QuantumOpticsBase.jl#172). Do the QO maintainers have any comments or oppositions to defining such a method in QO.jl?
The text was updated successfully, but these errors were encountered: