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

Fake backends return simulator=False #9572

Open
nonhermitian opened this issue Feb 11, 2023 · 3 comments
Open

Fake backends return simulator=False #9572

nonhermitian opened this issue Feb 11, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@nonhermitian
Copy link
Contributor

Environment

  • Qiskit Terra version: latest
  • Python version:
  • Operating system:

What is happening?

Fake backends are just wrappers around the Aer simulator. However they themselves do not return simulator=True. This is problematic because there are cases where knowing if the execution is on a simulator, as opposed to a real device, can be used to select methods that are more efficient. Example, using independent (single-qubit) calibrations in M3 vs. the balanced method used on real-hw.

How can we reproduce the issue?

from qiskit.providers.fake_provider import FakeKolkata
backend = FakeKolkata()
backend.configuration().simulator

yields False. As a corollary, on V2 fake backends, there is no configuration, so it is not clear how to determine if a V2 backend is a simulator or not.

What should happen?

Being a simulator, the fake backends should indicate this in the configuration, or wherever the same info is found on V2 backends.

Any suggestions?

No response

@nonhermitian
Copy link
Contributor Author

Any updates on this? It is a constant thorn when working with backends of various kinds

@nonhermitian
Copy link
Contributor Author

nonhermitian commented Oct 30, 2024

Closed by Qiskit/qiskit-ibm-runtime#2005

@yaelbh
Copy link
Contributor

yaelbh commented Nov 4, 2024

This issue has to move to qiskit-ibm-runtime. See a comment that I wrote in the PR: Qiskit/qiskit-ibm-runtime#2005 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants