-
Notifications
You must be signed in to change notification settings - Fork 603
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 hadamard_grad
with wires-broadcasted measurements
#5860
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5860 +/- ##
==========================================
- Coverage 99.67% 99.66% -0.01%
==========================================
Files 422 422
Lines 40709 40362 -347
==========================================
- Hits 40577 40228 -349
- Misses 132 134 +2 ☔ 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.
Nice implementation and great fix 😄! I just left two non-blocking comments and one that might need to be addressed.
Context:
Description of the Change:
Takes the case into account where
qml.probs
does not have wires specified, requiringhadamard_grad
to consider tape wires.Benefits:
Possible Drawbacks:
Related GitHub Issues:
Fixes #5840
[sc-65711]