-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Remove deprecated operators of BaseOperator #7291
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
Conversation
Pull Request Test Coverage Report for Build 1504915865
💛 - Coveralls |
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.
Overall LGTM, the release not could just use some more details I left an inline suggestion on how to improve it, but since I did it via the github web editor I assume the whitespace and stuff is all wrong (github makes it very difficult to get correct).
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.
Are there any of the deprecation warning filters in qiskit/test/base.py
that can be removed now that these have expired?
Co-authored-by: Matthew Treinish <mtreinish@kortar.org>
Thanks. Yes. I can remove some. ce44e6b |
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.
I fixed a couple of issues in the release notes (for example the function random_operator
doesn't exist!), but this all looks fine to me. I'm particularly glad to be getting rid of some of these extra warning ignores from the test suite.
Summary
Remove the overloaded operators
*
(__mul__
) for thedot
method and@
(__matmul__
) for thecompose
ofBaseOperator
, that is deprecated as of version 0.17.0.Details and comments
label:
mod: quantum info
milestone: 0.19