-
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
Modify UI for qubit tapering functions #2426
Conversation
Hello. You may have forgotten to update the changelog!
|
Codecov Report
@@ Coverage Diff @@
## master #2426 +/- ##
========================================
Coverage 99.47% 99.47%
========================================
Files 244 245 +1
Lines 19327 19489 +162
========================================
+ Hits 19225 19387 +162
Misses 102 102
Continue to review full report at Codecov.
|
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 @soranjh! Leaving a couple of small changes after which it should be good to go!
803dacd
to
eba2a81
Compare
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 to me. Just left one final comment.
Context:
This PR renames the qubit tapering functions, removes a wrapper function used for generating symmetries and PauliX ops and makes the general-purpose user-facing functions
taper
,symmetry_generators
,paulix_ops
accessible with qml.functiion_name.Description of the Change:
The following functions are renamed:
The functions
taper
,symmetry_generators
,paulix_ops
are added topennylane.__init__
.Benefits:
The UI is more intuitive and there is flexibility in bringing some general-purpose functions out of the chemistry modules without changing the UI.
Possible Drawbacks:
Related GitHub Issues: