Skip to content

Commit

Permalink
Backend monitor and overview (Qiskit#1231)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
nonhermitian authored Dec 15, 2018
1 parent 5fb4012 commit 49c3778
Show file tree
Hide file tree
Showing 18 changed files with 1,598 additions and 23 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ Added
QuantumCircuit class. (#1172)
- New methods in QuantumCircuit for common circuit metrics:
`size()`, `depth()`, `width()`, `count_ops()`, `num_tensor_factors()` (#1285)
- Added `backend_monitor` and `backend_overview` Jupyter magics,
as well as `plot_coupling_map` (#1231)
- Added a `Layout` object (#1313)
- Added a BasicMapper pass (#1270)
- New `plot_bloch_multivector()` to plot Bloch vectors from a tensored state
Expand Down
Binary file added qiskit/backends/aer/qasm_simulator_cpp
Binary file not shown.
2 changes: 1 addition & 1 deletion qiskit/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
"""

from .compiler import (compile, execute)
from .monitor import job_monitor
from .monitor.job_monitor import job_monitor
10 changes: 9 additions & 1 deletion qiskit/tools/jupyter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@
"""

from IPython import get_ipython # pylint: disable=import-error
from qiskit.tools.visualization._matplotlib import HAS_MATPLOTLIB
from .jupyter_magics import (ProgressBarMagic, StatusMagic)
from .progressbar import HTMLProgressBar, TextProgressBar
from .progressbar import HTMLProgressBar

if HAS_MATPLOTLIB:
from .backend_overview import BackendOverview
from .backend_monitor import BackendMonitor

_IP = get_ipython()
if _IP is not None:
_IP.register_magics(ProgressBarMagic)
_IP.register_magics(StatusMagic)
if HAS_MATPLOTLIB:
_IP.register_magics(BackendOverview)
_IP.register_magics(BackendMonitor)
Loading

0 comments on commit 49c3778

Please sign in to comment.