-
Notifications
You must be signed in to change notification settings - Fork 569
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
Gradients transforms update #4595
Conversation
…o gradients_transforms_update
Hello. You may have forgotten to update the changelog!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only failure is coverage. I'm approving. Coverage needs to be added before merging anyway 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple minor comments/questions. Looks great 🚀
tests/interfaces/default_qubit_2_integration/test_jax_default_qubit_2.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks @rmoyard! 🎉
**Context:** This is already being done in the text drawer, I'm just copying it over for consistency. **Description of the Change:** If expansion_strategy is _not_ "device" but we're drawing a QNode with a new device, run the QNode transform program on the tape before drawing it. This is for draw_mpl, it's already present for `draw` **Benefits:** Parity between the two draw tools **Possible Drawbacks:** N/A **Related GitHub Issues:** done in #4595 for the text drawer
Description of the Change:
Benefits:
Classical fisherno tape equivalentHessian param shiftSeparate PRMajor changes:
Possible Drawbacks:
Related GitHub Issues: