Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fake backends more like IBMBackend #1605

Open
jyu00 opened this issue Apr 11, 2024 · 2 comments
Open

Make fake backends more like IBMBackend #1605

jyu00 opened this issue Apr 11, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@jyu00
Copy link
Collaborator

jyu00 commented Apr 11, 2024

What is the expected feature or enhancement?

The fake backends in this repo are meant to represent IBM backends and be similar to IBMBackend. In addition to inheriting BackendV2, IBMBackend also has a number of additional methods that should be added to fake backends. Note that this update only needs to apply to V2 fake backends (since we are deprecating V1).

Acceptance criteria

  • Add additional IBMBackend methods to V2 fake backends, including
    • service (this should return QiskitRuntimeLocalService
    • properties, defaults, configuration
    • status
    • check_faulty
@jyu00 jyu00 added the enhancement New feature or request label Apr 11, 2024
@jyu00 jyu00 added this to the Local testing mode MVP2 milestone Apr 11, 2024
@HuangJunye
Copy link
Contributor

This would be great. I am excited to see this development! Another thing came to my mind that is related to this is the ability to update calibration. The current implementation of fake backends uses hard coded snapshot of calibration results and I have seen many users didn't know that and use fake backends to benchmark their real experiment. The current approach to get the latest calibration for simulation is AerSimualtor.from_backend(real_backend). If fake backend inherits IBMBackend perhaps this is an opportunity to get the latest calibration results (or even better, get calibration results of a certain date, close to the date user performed experiments).

@HuangJunye
Copy link
Contributor

Just randomly came across a user trying to create a fake backend with latest calibration results by monkey patching with calibration results downloaded from IQP computer resource page: https://egrettathula.wordpress.com/2023/01/10/refreshable-fake-backends/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants