-
Notifications
You must be signed in to change notification settings - Fork 36
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
No backprop devices #61
Conversation
This reverts commit b2a082c.
Codecov Report
@@ Coverage Diff @@
## master #61 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 3
Lines 54 54
=========================================
Hits 54 54
Continue to review full report at Codecov.
|
Didn't seem to fix the windows wheel :( |
This reverts commit e410e3b.
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 getting onto this so quickly @antalszava! Before merging, don't forget to update the changelog.
Co-authored-by: Josh Izaac <josh146@gmail.com>
Context
As
lighting.qubit
inherits fromdefault.qubit
, it also inherits thepassthru_devices
entry of thedevice.capabilities
dictionary.This, however, may lead to unexpected behaviour, as the QNode in PennyLane attempts to get a device with the best differentiation method available. Therefore, even without specifying a differentiation method, we may get a
default.qubit.autograd
device.Changes
Removes the
passthru_devices
entry ofdevice.capabilities
.