-
Notifications
You must be signed in to change notification settings - Fork 39
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
Fix state prep operation decomposition with LightningQubit
#661
Conversation
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.
🙌
This is related to PR PennyLaneAI/pennylane#5434. |
Co-authored-by: Ali Asadi <10773383+maliasadi@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #661 +/- ##
===========================================
+ Coverage 53.58% 98.69% +45.10%
===========================================
Files 13 172 +159
Lines 1950 24345 +22395
===========================================
+ Hits 1045 24027 +22982
+ Misses 905 318 -587 ☔ View full report in Codecov by Sentry. |
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.
LGTM, feel free to merge when the CI is green.
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.
Nice work! Thank you @mudit2812!
Context:
Bunch of test failures in CI are related to
lightning.qubit
not working with adjoint diff whenever there are state prep operations present, even then they're not supposed to be trainable.Description of the Change:
Update the adjoint diff validation for
lightning.qubit
to decompose state prep operations.Benefits:
Better support for adjoint with
lightning.qubit
.Possible Drawbacks:
Related GitHub Issues: