-
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
Default init
plugin was not properly raising when called with an invalid optimization level
#12170
Conversation
--- Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com>
One or more of the the following people are requested to review this:
|
Pull Request Test Coverage Report for Build 8661412596Details
💛 - 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.
LGTM
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 think you forgot the bugfix release note - you've tagged it, but not added one.
I always thought that changelog was complete while reno is more "user facing". The bug is probably very hard to trigger by accident. Adding it in 2411f34 . |
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, this was a good catch.
…valid optimization level (#12170) (#12174) * Raise instead of return. --- Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com> * link * reno --------- Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com> (cherry picked from commit e0be97c) Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
@Mergifyio backport stable/0.46 |
✅ Backports have been created
|
…valid optimization level (#12170) (#12175) * Raise instead of return. --- Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com> * link * reno --------- Co-authored-by: Evgenii Zheltonozhskii <zheltonozhskiy@gmail.com> (cherry picked from commit e0be97c) Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
While @Randl was working on extending types in the
qiskit.transpile
module, he found a bug in which the defaultinit
plugin was not properly raising when called with an invalid optimization level. Thanks @Randl !