Skip to content

Automate getting fake backend#113

Open
ashsaki wants to merge 2 commits into
Qiskit:mainfrom
ashsaki:saki/fake-backend
Open

Automate getting fake backend#113
ashsaki wants to merge 2 commits into
Qiskit:mainfrom
ashsaki:saki/fake-backend

Conversation

@ashsaki

@ashsaki ashsaki commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Previously, we used to get a FakeBackend object from a name using a hand-written and large dictionary named STR_TO_IBM_FAKE_BACKEND. When a new FakeBackend is added to qiskit-ibm-runtime, we need to update this hard-coded dictionary manually. Also, it is prone to typos and rather large.

This PR replaces the hard-coded fake backend dictionary with an automated appraoch. In the new approach, we gather available fake backend from their source qiskit-ibm-runtime (or qiskit in case someone is still benchmarking a very old <= 1.0 version of qiskit).

Aslo, now it supports setting the fake backend name in two formats: Both fake_torino or actual object name FakeTorino are supported in the default.conf.

@ashsaki
ashsaki requested a review from nonhermitian July 16, 2026 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant