Skip to content

Commit

Permalink
replacing treedraw with walkerlayout and fixing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
EliasLF committed Oct 29, 2023
1 parent 522a8fc commit 972ad92
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 370 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ dependencies = [
"distinctipy>=1.2.2",
"plotly>=5.15.0",
"networkx==2.5",
"walkerlayout==1.0.2",
"ipywidgets>=7.6.5",
]
dynamic = ["version"]
Expand Down Expand Up @@ -164,7 +165,7 @@ explicit_package_bases = true
pretty = true

[[tool.mypy.overrides]]
module = ["qiskit.*", "matplotlib.*"]
module = ["qiskit.*", "matplotlib.*", "networkx.*", "plotly.*", "_plotly_utils.*", "distinctipy.*", "ipywidgets.*", "walkerlayout.*"]
ignore_missing_imports = true


Expand Down
2 changes: 1 addition & 1 deletion src/heuristic/HeuristicMapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ void HeuristicMapper::Node::recalculateFixedCost(
validMappedTwoQubitGates.emplace(q1, q2);
}
}
// 2-qubit-gates not yet mapped next to eachother are handled in the
// 2-qubit-gates not yet mapped next to each other are handled in the
// heuristic
} else {
for (auto& swapNode : swaps) {
Expand Down
341 changes: 0 additions & 341 deletions src/mqt/qmap/visualization/treedraw.py

This file was deleted.

Loading

0 comments on commit 972ad92

Please sign in to comment.