-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Deprecate EchoRZXWeylDecomposition
(Pulse)
#13366
Conversation
One or more of the following people are relevant to this code:
|
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.
LGTM. Just a minor line comment about uniformity but it's up to you, shouldn't be a blocker IMO.
@@ -74,8 +74,11 @@ def test_rzx_number_native_weyl_decomposition(self): | |||
circuit.cx(qr[0], qr[1]) | |||
|
|||
unitary_circuit = qi.Operator(circuit).data | |||
|
|||
after = EchoRZXWeylDecomposition(self.inst_map)(circuit) | |||
with self.assertWarnsRegex( |
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.
In #13164 self.assertWarns
was used almost everywhere in testing instead of self.assertWarnsRegex
, in case you want uniformity in this aspect.
Pull Request Test Coverage Report for Build 11576798654Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
Summary
Follow-up to #pulse, closes #12759.
EchoRZXWeylDecomposition
relies on the deprecated pulse functionality, so it should be deprecated with the rest of the package.Details and comments