-
Notifications
You must be signed in to change notification settings - Fork 635
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
[Op. Arithm.] Improve performance #1 #3022
Conversation
Hello. You may have forgotten to update the changelog!
|
Codecov Report
@@ Coverage Diff @@
## master #3022 +/- ##
=======================================
Coverage 99.66% 99.66%
=======================================
Files 269 269
Lines 22845 22892 +47
=======================================
+ Hits 22768 22815 +47
Misses 77 77
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Comparison of the time taken to compute the eigenvalues of the operator:
Note: The summands and the factors of each summand have no overlapping wires. |
Comparison of the time taken to compute the diagonalising gates of the operator:
Note: The summands and the factors of each summand have no overlapping wires. |
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 really good! The performance boosts also look really nice 💯! As we discussed I think you can also add this logic into the sparse matrix method, and we should see similar improvements 👍🏼
Happy to approve once that is done and a changelog entry is added
@Jaybsoni I believe the changes to the Changelog entry added 👍 |
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.
Excellent!
Co-authored-by: Christina Lee <[email protected]>
self.hash
as a key for storing the eigendecomposition.Note: Check benchmarks below.