Skip to content
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

Replace qml.QubitDevice with qml.devices.QubitDevice #195

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

Alex-Preciado
Copy link
Contributor

@Alex-Preciado Alex-Preciado commented Sep 17, 2024

pennylane.QubitDevice has been deprecated as of PennyLane v0.39. This PR ensures that QubitDevice is now imported from pennylane.devices instead.

This PR is a followup to #194 where some of these changes seem to have been overlooked.

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.42%. Comparing base (725ef8f) to head (212c8ee).
Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #195   +/-   ##
=======================================
  Coverage   99.42%   99.42%           
=======================================
  Files           8        8           
  Lines         350      350           
=======================================
  Hits          348      348           
  Misses          2        2           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Alex-Preciado Alex-Preciado changed the title replace qml.QubitDevice with qml.devices.QubitDevice Replace qml.QubitDevice with qml.devices.QubitDevice Sep 17, 2024
@astralcai
Copy link
Contributor

This PR is a followup to #194 where some of these changes seem to have been overlooked.

Oooooooops 😅

@astralcai astralcai merged commit 4668f36 into master Sep 17, 2024
9 checks passed
@astralcai astralcai deleted the use-devices-QubitDevice branch September 17, 2024 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants