-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix RZX builder rescaled amplitude #8031
Fix RZX builder rescaled amplitude #8031
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 2309370174
💛 - Coveralls |
releasenotes/notes/fix-rzx-builder-pulse-amp-ba5c876ddea17c41.yaml
Outdated
Show resolved
Hide resolved
@Mergifyio requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
* Fix RZX builder rescale amplitude bug * Update releasenotes/notes/fix-rzx-builder-pulse-amp-ba5c876ddea17c41.yaml Co-authored-by: Jake Lishman <jake@binhbar.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 829f232)
* Fix RZX builder rescale amplitude bug * Update releasenotes/notes/fix-rzx-builder-pulse-amp-ba5c876ddea17c41.yaml Co-authored-by: Jake Lishman <jake@binhbar.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit 829f232) Co-authored-by: Naoki Kanazawa <nkanazawa1989@gmail.com>
* Fix RZX builder rescale amplitude bug * Update releasenotes/notes/fix-rzx-builder-pulse-amp-ba5c876ddea17c41.yaml Co-authored-by: Jake Lishman <jake@binhbar.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Summary
This PR fixes a bug that RZX builder passes return rescaled pulse amplitude in the parameter expression type that results in this pulse visualization. @nbronn
Details and comments
theta
is a value that is provided by circuit node, which is not typecasted to float after the value assignment. Thus computed CR amp becomes parameter expression without explicit typecast.