Skip to content
This repository was archived by the owner on Aug 19, 2023. It is now read-only.

Use Terra's FakeBackend in benchmarks#1480

Merged
jakelishman merged 2 commits into
Qiskit:masterfrom
jakelishman:use-terra-fake-backends
Apr 21, 2022
Merged

Use Terra's FakeBackend in benchmarks#1480
jakelishman merged 2 commits into
Qiskit:masterfrom
jakelishman:use-terra-fake-backends

Conversation

@jakelishman
Copy link
Copy Markdown
Member

Summary

Originally the benchmark suite created its own fake backends to avoid
noise if Terra were to add new snapshots. The current old backends
use BaseBackend and BaseJob, which is the legacy interface that has
just been removed from mainline Terra, causing the benchmark suite to
fail to import.

The three fake backends in use are all either decommissioned machines
that will have no further updates, or a dummy machine not based on real
hardware (and so should not need to be updated). Since it's unlikely
that noise will come into the benchmarks from Terra now, it's suitable
just to use the Terra-provided ones.

Details and comments

Needed to fix the current import failures within the benchmark suite due to Qiskit/qiskit#7886.

Originally the benchmark suite created its own fake backends to avoid
noise if Terra were to add new snapshots.  The current old backends
use `BaseBackend` and `BaseJob`, which is the legacy interface that has
just been removed from mainline Terra, causing the benchmark suite to
fail to import.

The three fake backends in use are all either decommissioned machines
that will have no further updates, or a dummy machine not based on real
hardware (and so should not need to be updated).  Since it's unlikely
that noise will come into the benchmarks from Terra now, it's suitable
just to use the Terra-provided ones.
@jakelishman jakelishman requested a review from mtreinish April 21, 2022 17:31
@jakelishman jakelishman merged commit 8a36cba into Qiskit:master Apr 21, 2022
@jakelishman jakelishman deleted the use-terra-fake-backends branch April 21, 2022 22:54
jakelishman added a commit to jakelishman/qiskit-terra that referenced this pull request Aug 1, 2023
Originally the benchmark suite created its own fake backends to avoid
noise if Terra were to add new snapshots.  The current old backends
use `BaseBackend` and `BaseJob`, which is the legacy interface that has
just been removed from mainline Terra, causing the benchmark suite to
fail to import.

The three fake backends in use are all either decommissioned machines
that will have no further updates, or a dummy machine not based on real
hardware (and so should not need to be updated).  Since it's unlikely
that noise will come into the benchmarks from Terra now, it's suitable
just to use the Terra-provided ones.
jakelishman added a commit to jakelishman/qiskit-terra that referenced this pull request Aug 11, 2023
Originally the benchmark suite created its own fake backends to avoid
noise if Terra were to add new snapshots.  The current old backends
use `BaseBackend` and `BaseJob`, which is the legacy interface that has
just been removed from mainline Terra, causing the benchmark suite to
fail to import.

The three fake backends in use are all either decommissioned machines
that will have no further updates, or a dummy machine not based on real
hardware (and so should not need to be updated).  Since it's unlikely
that noise will come into the benchmarks from Terra now, it's suitable
just to use the Terra-provided ones.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants