Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Merge e6c1c30 into 459a04a
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 committed Aug 15, 2023
2 parents 459a04a + e6c1c30 commit a57d885
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions qiskit_ibm_provider/jupyter/dashboard/backend_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def make_backend_widget(backend_item: BackendWithProviders) -> wid.HBox:
Returns:
The widget with backend information.
"""
backend = backend_item
backend_providers = backend_item._instance
backend = backend_item.backend
backend_providers = backend_item.providers

status = backend.status()
config = backend.configuration()
Expand Down
4 changes: 3 additions & 1 deletion qiskit_ibm_provider/jupyter/dashboard/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ def _get_backends(self) -> None:
ibm_backends = {}
for backend in self.provider.backends():
if not backend.configuration().simulator:
ibm_backends[backend.name] = backend
ibm_backends[backend.name] = BackendWithProviders(
backend=backend, providers=[backend._instance]
)

self.backend_dict = ibm_backends

Expand Down

0 comments on commit a57d885

Please sign in to comment.