Add a Howto on how to access the optimized pulses in each iteration
Both for GRAPE and for Krotov, it would be good to have a Howto that explains how to use an info_hook to access the optimized pulses in each iteration.
See https://discourse.julialang.org/t/grapes-method-in-quantum-control-grape-jl/88208
I will be delighted to work on this. I will look at the how to of QuantumPropagators.jl to get knowledge of writing how to.
Your response is quite clear and it should be enough to write "How to". In the specific example, the goal was to add store_pulses to the existing hooks/ chain_infohooks.
I have a few questions which are as follows:
- Where is
chain_infohooksimplemented? (Resolved) - The the layout of
wrk.pulsevalshas been transposed, in the recent latest version, right? - w.r.t. "the documentation didn’t tell which parameters the store_pulses should get, or which properties wrk has.", please elaborate more of properties of
wrk. The properties can be mentioned in How to as well
Thanks.
P.S. I found chain_infohooks from QuantumControlBase.jl
I'm probably going to get rid of info_hook, so this might not be the best time to work on that.