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
Remove remaining code usage deprecated in Qiskit 0.46 (#1384)
This change adjusts for several remaining changes in Qiskit 1.0:
* qiskit.providers.basicaer was removed in Qiskit 1.0 (see
Qiskit/qiskit#11422). Here its use is replaced
with qiskit-aer.
* `qiskit.providers.fake_provider.FakeJob` was removed in Qiskit 1.0
(see Qiskit/qiskit#11376). Here the `FakeJob`
already in `qiskit_experiments.test` is used instead. This update was
missed in f22bb7b which switched the
other `fake_provider` usage.
* Replace `qiskit.provider.FakeProvider` with a custom subclass of
`ProviderV1`. `FakeProvider` was moved out of Qiskit 1.0 to
qiskit-ibm-runtime.
* `calibration/test_rabi.py` was modified to make the data for a test of
bad data worse as the test started fitting the data as good with the
original parameters and qiskit-aer in place of basicaer.
* In the readout mitigation manual, a use of `plot_histogram` was
exchanged for one of `plot_distribution`.
* Guard `FakeBackendV2` import that was removed in Qiskit 1.0. Try to
import `FakeBackendV2` from qiskit-ibm-runtime as well.
Also, this change unpins qiskit which had to be pinned in
f22bb7b until these fixes could be
merged since 0.46.0 was released with deprecation warnings for some of
the usage changed here.
0 commit comments