Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Make experiment.device_components() output more readable #873

Closed
jyu00 opened this issue Feb 1, 2021 · 0 comments · Fixed by #945
Closed

Make experiment.device_components() output more readable #873

jyu00 opened this issue Feb 1, 2021 · 0 comments · Fixed by #945
Assignees
Labels
type: enhancement Existing functionality improvement

Comments

@jyu00
Copy link
Collaborator

jyu00 commented Feb 1, 2021

What is the expected enhancement?

Today provider.experiment.device_components() just returns a list of dictionary. Each entry in the dictionary has the format of {'backend_name': 'ibmq_athens', 'type': 'Q0', 'uuid': '...'}. This output can be difficult to understand when the number of components is large. A better format could be
{'backend_name': 'ibmq_athens', 'qubits': ['Q0', 'Q1', ....], 'resonators': ['R0', 'R1', ...]}

@jyu00 jyu00 added the type: enhancement Existing functionality improvement label Feb 1, 2021
@jyu00 jyu00 self-assigned this Jun 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: enhancement Existing functionality improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant