Skip to content
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

Merged
merged 86 commits into from
Feb 26, 2025
Merged

Conversation

Qottmann
Copy link
Contributor

@Qottmann Qottmann commented Jan 13, 2025

Upgrading from labs functionality

labs.dla.lie_closure_dense is integrated into the logic of qml.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]

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.59%. Comparing base (043be3e) to head (854fad2).
Report is 4 commits behind head on master.

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.
📢 Have feedback on the report? Share it here.

@Qottmann Qottmann requested a review from dwierichs January 20, 2025 17:12
Copy link
Contributor

@DSGuala DSGuala left a 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

Copy link
Contributor

@dwierichs dwierichs left a 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?

Copy link
Contributor

@JerryChen97 JerryChen97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@Qottmann
Copy link
Contributor Author

Qottmann commented Feb 7, 2025

@DSGuala do you want to give this another look before I merge? :)

@Qottmann Qottmann requested a review from AntonNI8 February 11, 2025 14:29
Copy link
Contributor

@AntonNI8 AntonNI8 left a 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 :)

Copy link
Contributor

@AntonNI8 AntonNI8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

Copy link
Contributor

@DSGuala DSGuala left a 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.

@Qottmann Qottmann enabled auto-merge (squash) February 26, 2025 10:05
@Qottmann Qottmann merged commit 4af2597 into master Feb 26, 2025
45 checks passed
@Qottmann Qottmann deleted the dla_lie_closure_dense branch February 26, 2025 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants