This repository has been archived by the owner on Jan 25, 2021. It is now read-only.
Add wrapper around qdyn_optimize
with krotov's optimize_pulses
interface
#10
Labels
Similarly to #9, we could implement a routine
optimize_pulses
that mirrors thekrotov
package'soptimize_pulses
function. Instead of using the Python implementation of Krotov's method provided by thekrotov
package, it would generate a config file and runfolder (exactly as in #9), and then callqdyn_optimize
on this data before reading in the result from disk and returning aResult
object. Obviously, there would be some limitations, like no support for non-standardinfo_hook
,modify_params_after_iter
, andcheck_convergence
arguments.I would advertise this approach as the recommended way to do optimal control with QDYN for "standard" problems. At this time, it would not cover "molecular" systems (anything with a spatial grid), although I could imagine how one would extend
qutip.Qobj
for such operators as well, which would allow aqutip
/qdynpylib
-based workflow for such systems as well.I already have an implementation of this function in my own project codes, but it has to be generalized slightly before it is ready to be added to
qdynpylib
.The text was updated successfully, but these errors were encountered: