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

Allow users to update fake backends with latest data #1707

Closed
jyu00 opened this issue May 23, 2024 · 1 comment · Fixed by #1740 or #1777
Closed

Allow users to update fake backends with latest data #1707

jyu00 opened this issue May 23, 2024 · 1 comment · Fixed by #1740 or #1777
Assignees
Labels
enhancement New feature or request

Comments

@jyu00
Copy link
Collaborator

jyu00 commented May 23, 2024

What is the expected feature or enhancement?

When we introduced local testing mode, we encouraged people to use fake backends corresponding to the real target backend they will ultimately use. Fake backends were originally designed to be used completely offline, and their data files (such as backend properties) are never updated once created. This means the noise model of a fake backend can be very different from its real counterpart.

Some users requested that we provide a way to pull the latest backend files, so the noise model would better represent the real systems.

Acceptance criteria

  • Add a refresh() method to fake backend that'd pull the latest backend data files from its real counterpart, if one still exists. It'd need to take a service parameter since we need an account to access the real backend.
@jyu00 jyu00 added the enhancement New feature or request label May 23, 2024
@jyu00 jyu00 added this to the Local testing mode MVP2 milestone May 23, 2024
@ptristan3 ptristan3 self-assigned this May 27, 2024
@kt474 kt474 modified the milestones: Local testing mode MVP2, 0.25.0 Jun 18, 2024
@jyu00
Copy link
Collaborator Author

jyu00 commented Jun 18, 2024

I'm re-opening this because the PR doesn't actually "refresh" the existing backend target if it's already constructed (see my comments in the PR).

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
3 participants