-
Notifications
You must be signed in to change notification settings - Fork 586
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
Removing the wire_map
argument from qml.is_commuting
#5660
Removing the wire_map
argument from qml.is_commuting
#5660
Conversation
@glassnotes @josh146, looking at the commit history you were both involved in adding |
@trbromley I'm sorry, I don't recall the reasoning here :( Do you have a link to the original PR? |
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 makes me happy :)
This was added in #3033 because |
Yeah I think it was added to support taking the symplectic inner product to evaluate commutativity, and the functions that convert to binary symplectic rep required a wire order. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5660 +/- ##
==========================================
- Coverage 99.69% 99.68% -0.02%
==========================================
Files 412 412
Lines 38663 38367 -296
==========================================
- Hits 38545 38245 -300
- Misses 118 122 +4 ☔ View full report in Codecov by Sentry. |
Thanks everyone! Ok, looks like a wire map is no longer needed here and we'll proceed with removing it. |
Thanks everyone. I'll merge this PR as soon as I have a second approval |
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.
Don't forget to update the deprecations
page as well
@astralcai I left a comment about that above. I'll repost it here; As mentioned on Shortcut, it has been decided not to go through a deprecation cycle because the presence of Therefore, the |
Context: Part of deprecations and removals for pennylane-0.37
Description of the Change: Removed the
wire_map
argument fromqml.is_commuting
.[sc-58988]