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

Adding a backend_overview #994

Closed
jaygambetta opened this issue Oct 1, 2018 · 3 comments · Fixed by #1231
Closed

Adding a backend_overview #994

jaygambetta opened this issue Oct 1, 2018 · 3 comments · Fixed by #1231
Assignees
Labels
type: feature request New feature or request
Milestone

Comments

@jaygambetta
Copy link
Member

jaygambetta commented Oct 1, 2018

I think it is important to be able to view the backend status. I find myself writing this code lots

for backend in [IBMQ.backends(), Aer.backends()]:
     print(backend.status())

and even this is not enough. I would like to be able to have a terminal or a section of my Juypiter (or even app) telling me continually the backend status.

I would like to write something like

backend_monitor([IBMQ, Aer,...])

and this makes an output for me like

{'pending_jobs': 10, 'name': 'ibmqx4', 'operational': True}
{'pending_jobs': 8, 'name': 'ibmqx5', 'operational': False}
{'pending_jobs': 0, 'name': 'ibmqx2', 'operational': False}
{'pending_jobs': 54, 'name': 'ibmq_16_melbourne', 'operational': True}
{'pending_jobs': 0, 'name': 'ibmq_qasm_simulator', 'operational': True}
{'name': 'qasm_simulator', 'operational': True, 'pending_jobs': 0}
{'name': 'qasm_simulator_py', 'operational': True, 'pending_jobs': 0}
{'name': 'statevector_simulator', 'operational': True, 'pending_jobs': 0}
{'name': 'statevector_simulator_py', 'operational': True, 'pending_jobs': 0}
{'name': 'unitary_simulator', 'operational': True, 'pending_jobs': 0}
{'name': 'clifford_simulator', 'operational': True, 'pending_jobs': 0}

I think we need to add 'provider': 'IBMQ' (also add this to the spec) and "status_msg": "This is a status message" where the status_msg is set by the backend controller (down for maintence, retireded)...

I think this should continue until I quit it, but this we can discuss more. Like the job_monitor it should live in wrapper or tools. I still need @delapuente to convince me what the difference is

@jaygambetta
Copy link
Member Author

This will need to also have for IBMQ hub, group and project

@delapuente delapuente added the type: feature request New feature or request label Oct 2, 2018
@jaygambetta
Copy link
Member Author

@nonhermitian can we link this to the other issue

@jaygambetta
Copy link
Member Author

#994
@nonhermitian can we make sure there is also a script that is called backend_monitor that calls the jypter and also the script

@jaygambetta jaygambetta changed the title Adding a backend_monitor Adding a backend_overview Nov 14, 2018
@jaygambetta jaygambetta assigned nonhermitian and unassigned atilag Nov 14, 2018
@jaygambetta jaygambetta added this to the 0.7 milestone Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants