You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
User reported that importing a fake backend would trigger this deprecation warning:
venv/lib/python3.11/site-packages/qiskit_ibm_runtime/fake_provider/backends/algiers/__init__.py:15: in <module>
from .fake_algiers import FakeAlgiers
venv/lib/python3.11/site-packages/qiskit_ibm_runtime/fake_provider/backends/algiers/fake_algiers.py:18: in <module>
from qiskit_ibm_runtime.fake_provider import fake_backend
venv/lib/python3.11/site-packages/qiskit_ibm_runtime/fake_provider/fake_backend.py:34: in <module>
from qiskit.providers.fake_provider.utils.json_decoder import (
venv/lib/python3.11/site-packages/qiskit/providers/fake_provider/__init__.py:94: in <module>
from .fake_backend import FakeBackend
venv/lib/python3.11/site-packages/qiskit/providers/fake_provider/fake_backend.py:22: in <module>
from qiskit.providers.models import BackendProperties
venv/lib/python3.11/site-packages/qiskit/providers/models/__init__.py:80: in __getattr__
warnings.warn(
E DeprecationWarning: qiskit.providers.models is deprecated since Qiskit 1.2 and will be removed in Qiskit 2.0. With the removal of Qobj, there is no need for these schema-conformant objects. If you still need to use them, it could be because you are using a BackendV1, which is also deprecated in favor of BackendV2.
Looks like when we ported the backend model classes we didn't also port the decoders:
User reported that importing a fake backend would trigger this deprecation warning:
Looks like when we ported the backend model classes we didn't also port the decoders:
qiskit-ibm-runtime/qiskit_ibm_runtime/fake_provider/fake_backend.py
Lines 34 to 38 in 3a69811
We should already have these decoders in qiskit-ibm-runtime, since we need to decode backend data from the server.
The text was updated successfully, but these errors were encountered: