-
Notifications
You must be signed in to change notification settings - Fork 615
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
Remove top-level access to Device
, QubitDevice
and QutritDevice
#6537
Remove top-level access to Device
, QubitDevice
and QutritDevice
#6537
Conversation
This reverts commit 6c8ac27.
…tDevice`-and-`QutritDevice`
I guess my autoblack over the init files messed up something. Do not merge before fix |
…tDevice`-and-`QutritDevice`
…tDevice`-and-`QutritDevice`
…tDevice`-and-`QutritDevice`
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6537 +/- ##
==========================================
- Coverage 99.30% 99.29% -0.01%
==========================================
Files 454 454
Lines 43269 43267 -2
==========================================
- Hits 42967 42964 -3
- Misses 302 303 +1 ☔ View full report in Codecov by Sentry. |
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.
Many of our type hints and documentation are outdated, we shouldn't just replace all mentions of pennylane.Device
with pennylane.devices.LegacyDevice
because that would be inaccurate. Unless something is exclusively referring to a LegacyDevice
(there shouldn't be many of them anymore), we should use pennylane.devices.Device
.
This reverts commit e578ba8.
…tDevice`-and-`QutritDevice`
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
…`QutritDevice`' of https://github.com/PennyLaneAI/pennylane into Remove-top-level-access-to-`Device`,-`QubitDevice`-and-`QutritDevice`
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
…tDevice`-and-`QutritDevice`
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.
❤️
…tDevice`-and-`QutritDevice`
**Title:** Remove QubitDevice warnings, which will be removed in the 0.40PL **Summary:** as title **Relevant references:** #PennyLaneAI/pennylane#6537 **Possible Drawbacks:** None **Related GitHub Issues:**
Context:
In previous cycle the access to the three legacy devices has already been deprecated:
Here we would like to remove them.
Description of the Change:
qml.Device
,qml.QubitDevice
andqml.QutritDevice
entirely from pennylane repoBenefits:
Fin the depr cycle
Possible Drawbacks:
Downstreaming incompatibility. Would be fixed in the corresponding pr's
Related GitHub Issues:
Related Shortcut Stories:
[sc-77502]