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

Backend monitor and overview #1231

Merged
merged 85 commits into from
Dec 15, 2018
Merged

Backend monitor and overview #1231

merged 85 commits into from
Dec 15, 2018

Conversation

nonhermitian
Copy link
Contributor

@nonhermitian nonhermitian commented Nov 7, 2018

Fixes #994

Summary

These are Jupyter magics that gives the overview of all the backends that have been loaded using IBMQ.load_accounts() (backend_overview) or a detailed view of a single backend (backend_monitor). The backend_overview updates automatically, while the monitor is currently static. Additionally, there is a plot_coupling_map function in the visualization module.

Overview

overview

Monitor

monitor1

monitor2

monitor3

monitor4

monitor5

Details and comments

Things to do:

  • The coupling map drawer needs a better way of handling the required equal aspect ratio.
  • The figure size used in the monitor is hacked (backend specific) because of the above issue.
  • The coupling map drawer should probably be moved elsewhere as its usefulness goes beyond this PR.
  • Need to verify that the upper bound on the pending jobs correctly extends itself if the number of jobs goes above the default 50.
  • The background function update_backend_info should gracefully handle a status check not working, and should probably terminate if none of the backends are responding (i.e there is no network connection to anything).(Each backend_widget has a is_alive attr, added just for this purpose)
  • Allow for changing the status check interval via a magic arg.
  • The mpl_data is the physical layout of a device on a grid. This should be something that the backend returns.
  • Make the damn linter happy.

@nonhermitian nonhermitian merged commit 8384f89 into Qiskit:master Dec 15, 2018
@jaygambetta
Copy link
Member

man @nonhermitian were you watching this in real time.

@ajavadia ajavadia mentioned this pull request Dec 15, 2018
lia-approves pushed a commit to edasgupta/qiskit-terra that referenced this pull request Jul 30, 2019
* Fix parallezation in transpile.compile

* Revert "Fix parallezation in transpile.compile"

This reverts commit 98e78d0.

* remove oops files

* Initial commit for backend_monitor

* fix coupling map plotter

* forgot to delete line

* column labels never move

* updates

* fix lint

* fix module docs

* more lint fixes

* more lint

* linting broke my style

* fix TextProgress Bar moved to jupyter folder

* updates

* fix plotting issue

* add type check

* fix typo

* fix noise plots for symmetric gate_maps

* fix style

* fix missing docstring

* whitespace

* fix circular import caused by circuits now using visuals

* fix test

* need to check HAS_MATPLOTLIB now

* add new test notebook

* fix path setting

* do not need path setting

* updates

* look for ci env

* fix

* fix least_busy sort

* impliment Diego's fix

* fix lint

* call it an error map

* add to changelog

* alignment fixes

* fix overview

* lint

* fix notebooks

* text based backend overview

* lint fix

* import fixes

* updates

* add test

* add backend_monitor

* fix for ibmq_qasm_sim and test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement It's working, but needs polishing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding a backend_overview
4 participants