Skip to content

Commit

Permalink
QubitDevice is now imported from pennylane.devices (#122)
Browse files Browse the repository at this point in the history
* Fix deprecated import path

* pin packaging version

* unpin PL version for docs

* unpin autoray version
  • Loading branch information
astralcai authored Sep 16, 2024
1 parent b81f6e9 commit e5beee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
alabaster==0.7.12
appdirs==1.4.4
autograd==1.4
autoray==0.3.2
autoray
Babel==2.10.3
cachetools==5.2.0
certifi==2023.7.22
Expand All @@ -15,9 +15,9 @@ MarkupSafe==2.1.1
networkx==2.6.0
ninja==1.10.2.3
numpy==1.22.4
packaging>=24
PennyLane==0.24.0
PennyLane-Lightning==0.24.0
packaging>22.0
PennyLane
PennyLane-Lightning
Pygments==2.15.0
pyparsing==3.0.9
python-dateutil==2.8.2
Expand Down
3 changes: 2 additions & 1 deletion pennylane_ionq/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

import numpy as np

from pennylane import QubitDevice, DeviceError
from pennylane import DeviceError
from pennylane.devices import QubitDevice

from .api_client import Job, JobExecutionError
from ._version import __version__
Expand Down

0 comments on commit e5beee9

Please sign in to comment.