-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ Library | |
Subarchitectures | ||
Synthesis | ||
SynthesisResults | ||
Visualization |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Visualization | ||
=========================== | ||
|
||
All visualization functionality is bundled in the sub-module :code:`mqt.qmap.visualization`. | ||
|
||
Search graph visualization | ||
############################ | ||
|
||
The recommended way to visualize search graphs of a mapping process is via a :code:`SearchVisualizer` object, which can be passed to the :code:`compile` function when mapping a circuit to enable data logging during mapping, after which this data can be visualized by calling the method :code:`visualize_search_graph` of the :code:`SearchVisualizer` object. | ||
Closing the :code:`SearchVisualizer` object will cleanup the data logged during mapping, which will however also be done automatically when the python process terminates (if not custom data logging path is used). | ||
|
||
.. note:: | ||
:code:`visualize_search_graph` returns an IPython display object and therefore requires to be executed in a jupyter notebook or jupyter lab environment. | ||
|
||
.. currentmodule:: mqt.qmap.visualization | ||
.. autoclass:: SearchVisualizer |