JuliaQuantumControl / QuantumControl.jl

Julia Framework for Quantum Dynamics and Control
https://juliaquantumcontrol.github.io/QuantumControl.jl/
MIT License
47 stars 7 forks source link

Add a Howto on how to access the optimized pulses in each iteration #18

Open goerz opened 2 years ago

goerz commented 2 years ago

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

Fe-r-oz commented 4 months ago

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:

Thanks.

P.S. I found chain_infohooksfrom QuantumControlBase.jl

goerz commented 4 months ago

I'm probably going to get rid of info_hook, so this might not be the best time to work on that.