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
The BackendV2 interface is the next version of the abstract Backend interface used for describing backends in Qiskit. It was introduced in qiskit-terra 0.19.0 and it's now the primary version used for representing backends in provider packages. We
should update Aer's backends AerSimulator, StatevectorSimulator, etc to be based on BackendV2 instead of BackendV1.
The text was updated successfully, but these errors were encountered:
### Summary
This change set updates the `FakeBackend` used by some tests to derive
from `BackendV2` rather than `BackendV1`
### Details and comments
When combined with
[#900](#900) which
updates some calibration tests and
[#1040](#1040) which
updates `T2HahnBackend`, this change results in almost all the tests in
the test suite using `BackendV2`. The remaining tests using a `Backend`
that is not `BackendV2` use the `AerSimulator` which will be updated to
`BackendV2` in the future (tracked in
Qiskit/qiskit-aer#1681). The check for backend
type was performed by merging the calibration and `T2HahnBackend`
branches into this branch and running the tests with
`BaseExperiment.run()`, `BaseExperiment._set_backend()`, and
`Calibrations.from_backend()` updated to error if the `backend` argument
was not `BackendV2` or `AerSimulator` and confirming that all the tests
passed.
What is the expected behavior?
The BackendV2 interface is the next version of the abstract Backend interface used for describing backends in Qiskit. It was introduced in qiskit-terra 0.19.0 and it's now the primary version used for representing backends in provider packages. We
should update Aer's backends
AerSimulator
,StatevectorSimulator
, etc to be based onBackendV2
instead ofBackendV1
.The text was updated successfully, but these errors were encountered: