-
Notifications
You must be signed in to change notification settings - Fork 617
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Program Capture] Capture & execute
qml.jacobian
in plxpr (#6127)
**Context:** We're adding support for differentiation in plxpr, also see #6120. **Description of the Change:** This PR adds support for `qml.jacobian`, similar to the support for `qml.grad`. Note that Pytree support will be needed to allow for multi-argument derivatives. **Benefits:** Capture derivatives of non-scalar functions. **Possible Drawbacks:** See discussion around `qml.grad` in #6120. **Related GitHub Issues:** [sc-71860] --------- Co-authored-by: Christina Lee <[email protected]>
- Loading branch information
Showing
6 changed files
with
473 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.