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

Fix deprecated import path for QubitDevice #584

Merged
merged 1 commit into from
Sep 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading