-
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
Cast ParameterExpression to float in RZXBuilder and RZXCalibrationBuilderNoEcho #8965
Conversation
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the the following people are requested to review this:
|
Pull Request Test Coverage Report for Build 3323154536
💛 - Coveralls |
…lderNoEcho (#8965) * committing changes but still debugging * commiting to check necessary changes * added explicit casting to get_calibration in rzx_builder.py in two places * found a linting error in alap.py * Remove redundant float cast Co-authored-by: Matthew Treinish <[email protected]> (cherry picked from commit de8e4dd)
…lderNoEcho (#8965) (#8994) * committing changes but still debugging * commiting to check necessary changes * added explicit casting to get_calibration in rzx_builder.py in two places * found a linting error in alap.py * Remove redundant float cast Co-authored-by: Matthew Treinish <[email protected]> (cherry picked from commit de8e4dd) Co-authored-by: nick bronn <[email protected]>
Summary
Fixes Issue 8963.
Details and comments
Explicitly casts
ParameterExpression
tofloat
before passing tonumpy.isclose()
method that requires safe type checking.