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 correctly report themselves as simulators #2005

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions qiskit_ibm_runtime/fake_provider/fake_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ def _get_conf_dict_from_json(self) -> dict:
conf_dict = self._load_json(self.conf_filename) # type: ignore
decode_backend_configuration(conf_dict)
conf_dict["backend_name"] = self.backend_name
# Set simulator to True cause config comes from real system and has it False
conf_dict["simulator"] = True
return conf_dict

def _set_props_dict_from_json(self) -> None:
Expand Down
Loading