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
Integrate new device interface with qml.execute
and autograd
#3903
Conversation
Co-authored-by: Matthew Silverman <matthews@xanadu.ai>
Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> Co-authored-by: Romain Moyard <rmoyard@gmail.com>
Co-authored-by: Tom Bromley <49409390+trbromley@users.noreply.github.com> Co-authored-by: Romain Moyard <rmoyard@gmail.com>
…nylane into device_interface
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 @albi3ro! I have left a couple of comments. I think we should separate the execution: better for readability, coverage and testing. Also you should add the QNode test from autograd.
Co-authored-by: Romain Moyard <rmoyard@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.
🥳
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 changes Christina! 🎉
Now that
devices.experimental.DefaultQubit2
is added to master, we need to start integrating it with the workflow.This PR adds support to
qml.execute
for the autograd interface for backprop and gradient transforms. The new device will only be supported with the new return types specification.