-
Notifications
You must be signed in to change notification settings - Fork 616
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
Add H
as an alias for Hadamard operator
#6450
Conversation
Co-authored-by: Christina Lee <christina@xanadu.ai>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6450 +/- ##
=======================================
Coverage 99.38% 99.38%
=======================================
Files 452 452
Lines 42779 42789 +10
=======================================
+ Hits 42517 42527 +10
Misses 262 262 ☔ View full report in Codecov by Sentry. |
Co-authored-by: Christina Lee <christina@xanadu.ai>
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.
Not entirely sure if we need to add it to the device test suite, since that's more about making sure devices support the various operations, but can't hurt.
This PR will definitely make a lot of people happy.
This PR adds `H` as an alias for the `Hadamard` operator. Main goal is to enhance usability and consistency in gate naming. **Related Shortcut Stories:** [sc-70976] --------- Co-authored-by: Christina Lee <christina@xanadu.ai> Co-authored-by: Mudit Pandey <mudit.pandey@xanadu.ai>
This PR adds
H
as an alias for theHadamard
operator. Main goal is to enhance usability and consistency in gate naming.Related Shortcut Stories:
[sc-70976]