-
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
Hilbert Schmidt templates #2364
Conversation
Hello. You may have forgotten to update the changelog!
|
Codecov Report
@@ Coverage Diff @@
## master #2364 +/- ##
=======================================
Coverage 99.46% 99.47%
=======================================
Files 242 243 +1
Lines 19170 19247 +77
=======================================
+ Hits 19068 19145 +77
Misses 102 102
Continue to review full report at Codecov.
|
…/pennylane into hilbert_schmidt_test
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 is very thoroughly written, looks very nice! @rmoyard 🎉
Had a few formatting/refactoring/wording suggestions, though no real blockers so would be happy to approve on a second quick pass.
Noticed two additional things in general:
- The changelog entry is missing;
- It seems that 8 linting issues are being uncovered by Codefactor.
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
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.
@rmoyard great push with polishing 🚀 💯 Very near the finish.
A couple of final comments, some from before.
- Codefactor still seems to have some issues: https://github.com/PennyLaneAI/pennylane/runs/6028015270;
LocalHilbertSchmidt
seems to not have an image, would that be intentional?- The new templates should also appear on this page: https://pennylane--2364.org.readthedocs.build/en/2364/introduction/templates.html#other-subroutines . That can be achieved by adding a card for the two templates in the
doc/introduction/templates.rst
file; - Also, the docs check seems to be failing: https://github.com/PennyLaneAI/pennylane/runs/6028888508?check_suite_focus=true.
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
Co-authored-by: antalszava <antalszava@gmail.com>
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 🎉 🥇
Context:
From this paper about compilation of quantum circuits with quantum computers, it appears that some templates are useful for PennyLane, Hilbert Schmidt test and local Hilbert Schmidt test.
Description of the Change:
Add two templates
HilbertSchmidt
andHilbertSchmidtLocal
that can be used to implement the information quantities from the paper.