-
Notifications
You must be signed in to change notification settings - Fork 575
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
Update the device argument to the qnode
decorator
#1969
Conversation
Changes to having a `device` argument instead of `dev`. The reason is that having the argument be called `dev` doesn't provide backwards compatibility. (See [failing QML demonstration](https://github.com/PennyLaneAI/qml/runs/4367411103?check_suite_focus=true#step:8:2501) here.)
Hello. You may have forgotten to update the changelog!
|
Codecov Report
@@ Coverage Diff @@
## master #1969 +/- ##
=======================================
Coverage 98.81% 98.81%
=======================================
Files 226 226
Lines 17348 17348
=======================================
Hits 17143 17143
Misses 205 205
Continue to review full report at Codecov.
|
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.
Good catch @antalszava!
Changes to having a
device
argument instead ofdev
. The reason is that having the argument be calleddev
doesn't provide backwards compatibility. (See failing QML demonstration here that failed because@qml.qnode(device=dev)
.)