-
Notifications
You must be signed in to change notification settings - Fork 603
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
Qchem-ops broadcasting support #2726
Conversation
Co-authored-by: Josh Izaac <josh146@gmail.com>
…nsform in device.batch_transform
Co-authored-by: Josh Izaac <josh146@gmail.com>
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.
Thanks @dwierichs, the changes look good but I am curious if such extensions/complications of the functions really beneficial? Do they improve performance? Also, can the new changes become more compact? I see some repetitions that could potentially be factored out to a new function (not sure about this though)?
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.
Thanks for the review @soranjh!
I hope I could answer the questions :)
I now introduced a unifying function for both, the |
Here we adapt the numerical representation
compute_matrix
of the quantum chemistry operations to support parameter broadcasting, in analogy to #2609.