-
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
Move ctrl
and ControlledOperation
to qml.ops.op_math
submodule
#2656
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2656 +/- ##
=======================================
Coverage 99.58% 99.58%
=======================================
Files 249 249
Lines 20228 20229 +1
=======================================
+ Hits 20145 20146 +1
Misses 83 83
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.
The overall change is looking 💯 Just a couple of small comments. 🙂
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 👍 🎉
This PR moves
ctrl
andControlledOperation
to the newqml.ops.op_math
submodule, and no longer imports theControlledOperation
class top-level, as it is purely developer-facing.With PR #2634 , we will be adding a new version of
ControlledOperation
that wraps individual operators instead of entire tapes. The new wrapper will also provide more features and eventually replace the many individual controlled operations.