-
Notifications
You must be signed in to change notification settings - Fork 631
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
Upgrade qml.lie_closure
to handle dense matrices
#6811
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6811 +/- ##
=======================================
Coverage 99.59% 99.59%
=======================================
Files 483 484 +1
Lines 46119 46193 +74
=======================================
+ Hits 45934 46008 +74
Misses 185 185 ☔ View full report in Codecov by Sentry. |
…o dla_lie_closure_dense
…o dla_lie_closure_dense
…o dla_lie_closure_dense
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! Left a few comments about doc readability and arguments/UI
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 and thorough job, @Qottmann 🎉
This basically looks good to go for me, just with the change dense -> matrix
pending on the earlier files (by order of git diff :D)
I am wondering whether the trace inner product should be a qml.math
feature?
Co-authored-by: David Wierichs <[email protected]>
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! Thanks!
@DSGuala do you want to give this another look before I merge? :) |
…o dla_lie_closure_dense
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.
Looking great @Qottmann! Just some minor comments :)
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! 🚀
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 great! Left some suggestions and thoughts. Happy to merge when you consider all comments have been addressed.
Co-authored-by: Diego <[email protected]>
…I/pennylane into dla_lie_closure_dense
…o dla_lie_closure_dense
Upgrading from labs functionality
labs.dla.lie_closure_dense
is integrated into the logic ofqml.lie_closure
Also adding
qml.pauli.trace_inner_product
as a utility function for Pauli matrices and operators.Integrate lie closure dense to qml lie closure [sc-81965]