Skip to content

Commit

Permalink
Fix deprecated import path for QubitDevice (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
astralcai authored Sep 16, 2024
1 parent ebe7d90 commit 907e79a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pennylane_qiskit/qiskit_device_legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
from qiskit.converters import circuit_to_dag, dag_to_circuit
from qiskit.providers import Backend, BackendV2, QiskitBackendNotFoundError

from pennylane import QubitDevice, DeviceError
from pennylane import DeviceError
from pennylane.devices import QubitDevice
from pennylane.measurements import SampleMP, CountsMP, ClassicalShadowMP, ShadowExpvalMP

from .converter import QISKIT_OPERATION_MAP
Expand Down

0 comments on commit 907e79a

Please sign in to comment.