-
Notifications
You must be signed in to change notification settings - Fork 706
Arbitrary state prep, cosine window, amplitude amplification, permute, AQFT, FlipSign, FABLE qfunc decomps #8075
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #8075 +/- ##
==========================================
- Coverage 99.68% 99.68% -0.01%
==========================================
Files 546 546
Lines 56187 56449 +262
==========================================
+ Hits 56012 56273 +261
- Misses 175 176 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pennylane/templates/state_preparations/arbitrary_state_preparation.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Astral Cai <[email protected]>
- Use dict instead of counter
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.
That's great. Thanks @comp-phys-marc !
Co-authored-by: Pietropaolo Frisoni <[email protected]>
…nto feature/more-p2-qfunc-decomps
Co-authored-by: Astral Cai <[email protected]>
…nto feature/more-p2-qfunc-decomps
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.
Can you remove most unnecessary use of Counter? Otherwise happy to approve.
- test_exp is failing in CI
…re/more-p2-qfunc-decomps
…re/more-p2-qfunc-decomps
Context: We would like to add qfunc decompositions for templates including arbitrary state prep, cosine window, amplitude amplification, permute, AQFT, FlipSign, FABLE.
Description of the Change: Adds decomp(s) for these template(s).
Benefits: The template(s) are now compatible with the new system.
Possible Drawbacks:
Related ShortCut Stories: [sc-97636]