Skip to content

Commit

Permalink
♻️📝 do not run search space visualization as part of docs build
Browse files Browse the repository at this point in the history
given how the output was never displayed correctly anyways, this might as well be removed from the docs. That way, we do not need graphviz as well.

Signed-off-by: burgholzer <[email protected]>
  • Loading branch information
burgholzer committed Jan 22, 2025
1 parent 6fbee31 commit c719797
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions docs/Mapping.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -265,36 +265,6 @@
"\n",
"qc_mapped_w_teleport.draw(output=\"mpl\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"### Visualizing search graphs\n",
"\n",
"For deeper insight into a specific mapping process one can visualize the search graphs generated during heuristic mapping."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"from mqt.qmap import compile # noqa: A004\n",
"from mqt.qmap.visualization import SearchVisualizer\n",
"\n",
"visualizer = SearchVisualizer()\n",
"qc_mapped, res = compile(qc, arch, method=\"heuristic\", visualizer=visualizer)\n",
"visualizer.visualize_search_graph()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"There exist a wide range of customizations for these visualizations. Please refer to the [reference documentation](library/Visualization.rst) for more information."
]
}
],
"metadata": {
Expand Down

0 comments on commit c719797

Please sign in to comment.