-
Notifications
You must be signed in to change notification settings - Fork 615
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
CosineWindow
StatePrep
#4683
CosineWindow
StatePrep
#4683
Conversation
Hello. You may have forgotten to update the changelog!
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4683 +/- ##
=========================================
Coverage ? 99.64%
=========================================
Files ? 381
Lines ? 34052
Branches ? 0
=========================================
Hits ? 33930
Misses ? 122
Partials ? 0
☔ View full report in Codecov by Sentry. |
[sc-45845] |
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.
Great work @KetpuntoG! left some comments and suggestions.
Co-authored-by: soranjh <[email protected]>
Co-authored-by: soranjh <[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.
Thanks @KetpuntoG, will approve when my minor comments are addressed.
Co-authored-by: soranjh <[email protected]>
Co-authored-by: soranjh <[email protected]>
Co-authored-by: soranjh <[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.
Looks good 💯! I added a few small comments to improve the look of the docs, but otherwise good work!
Co-authored-by: Jay Soni <[email protected]>
Co-authored-by: Jay Soni <[email protected]>
@mudit2812 ready to merge 🚀 |
Creation of the cosine window, a state whose vector is equivalent to the cosine function:
notes to the reviewer
Instead of the template mentioned in the PRD:
This other one has been used:
This is because in the paper from which it was extracted, it worked with basic states from$-|N/2\rangle$ to $|N/2-1\rangle$ and we work with states from $|0\rangle$ to $|N-1\rangle$ . so I have made some adjustments to the rotations to adapt it.