Skip to content

Use true automatic differentiation on quantum Fisher information notebook #51

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

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

albertomercurio
Copy link
Member

Checklist

Thank you for contributing to Tutorials for Quantum Toolbox in Julia! Please make sure you have finished the following tasks before opening the PR.

  • Please read Contributing to Quantum Toolbox in Julia.
  • The (last update) date were modified for new or updated tutorials.
  • For new tutorials, a Version Information section was added at the end and displays the output of versioninfo().
  • All tutorials were able to render locally by running: make render.

Request for a review after you have completed all the tasks. If you have not finished them all, you can also open a Draft Pull Request to let the others know this on-going work.

Description

The previous notebook was using finite differences to compute the gradient of the density matrix. With the new version of QuantumToolbox.jl, we can now do forward automatic differentiation using ForwardDiff.jl.

The support for Enzyme.jl is ongoing.

@albertomercurio albertomercurio requested a review from ytdHuang July 29, 2025 22:02
Copy link

PR Preview Action v1.6.2

🚀 View preview at
https://qutip.github.io/qutip-julia-tutorials/pr-preview/pr-51/

Built to branch gh-pages at 2025-07-29 22:25 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@ytdHuang ytdHuang merged commit 8458b5a into main Jul 30, 2025
2 checks passed
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