-
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 TensoredOp.to_matrix
with global coefficients
#9404
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:
|
TensoredOp.to_matrix
TensoredOp.to_matrix
with global coefficients
Pull Request Test Coverage Report for Build 3969315247
💛 - Coveralls |
* Fix TensoredOp.to_matrix * added reno * remove redundant size chec Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit dc8e232)
* Fix TensoredOp.to_matrix * added reno * remove redundant size chec Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> (cherry picked from commit dc8e232) Co-authored-by: Julien Gacon <gaconju@gmail.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Summary
Fixes #9398.
Details and comments
As the author of #9398 correctly pointed out, this is the analogous error fixed in #9283, where the global coefficient was multiplied with the matrix once per element in the tensored expression, when it should only be applied once.