Skip to content

docs: add saving and loading pulses guide#81

Open
aarontrowbridge wants to merge 1 commit intomainfrom
docs/saving-loading-pulses
Open

docs: add saving and loading pulses guide#81
aarontrowbridge wants to merge 1 commit intomainfrom
docs/saving-loading-pulses

Conversation

@aarontrowbridge
Copy link
Copy Markdown
Member

Summary

  • Adds a new how-to guide Saving and Loading Pulses covering JLD2 save/load, warm-starting from saved pulses, saving trajectories, and organizing pulse files across a project
  • Threads save/load encouragement throughout existing docs: Quickstart, First Gate tutorial, Concepts overview, Trajectories concept page, and Pulses concept page
  • Docs build cleanly (verified locally)

Test plan

  • julia --project=docs docs/make.jl builds without errors
  • Review rendered pages for the new guide and updated tutorials

🤖 Generated with Claude Code

@jack-champagne jack-champagne force-pushed the docs/saving-loading-pulses branch from 3e0d449 to 94bba68 Compare March 2, 2026 06:19
@jack-champagne jack-champagne force-pushed the docs/saving-loading-pulses branch from 94bba68 to 7555d9c Compare March 2, 2026 06:19
…kflow

Add a new how-to guide (docs/literate/guides/saving_loading.jl) covering
saving pulses with JLD2, loading for warm-starting, saving trajectories,
and organizing pulse files across a project.

Thread save/load encouragement throughout existing docs:
- Quickstart: new "Saving Your Results" section
- First Gate tutorial: new "Step 8: Save the Optimized Pulse"
- Concepts overview: extend workflow with save step
- Trajectories concept: add "Extracting and Saving Pulses" section
- Pulses concept: add "Save Optimized Pulses" best practice
- Guides index: list new guide and add quick links

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jack-champagne jack-champagne reopened this Mar 2, 2026
Copy link
Copy Markdown
Member

@jack-champagne jack-champagne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this, but let's implement this right by instead overriding the jld2.save function similarly to how named trajectories does it so that the normal save and load semantics of jld2 can be applied to pulses - its just going to wrap what you wrote anyways:
jldsave("x_gate_pulse.jld2"; pulse = optimized_pulse, fidelity = fidelity(qcp)) or something like 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

Successfully merging this pull request may close these issues.

2 participants