Skip to content
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

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

Open
goerz opened this issue Oct 4, 2022 · 2 comments
Open

Comments

@goerz
Copy link
Member

goerz commented Oct 4, 2022

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
Copy link
Contributor

Fe-r-oz commented May 11, 2024

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_infohooks implemented? (Resolved)
  • The the layout of wrk.pulsevals has 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

@goerz
Copy link
Member Author

goerz commented May 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants