This repository has been archived by the owner on Jun 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate topological codes fitters to use retworkx (#552)
This commit migrates the networkx usage in the topological codes fitters module away from networkx to use retworkx instead. This should provide a speedup as retworkx is typically much faster than networkx. But, more importantly this module is the last usage of networkx in qiksit and that causes noticeable import overhead as networkx is slow to import. Moving to retworkx like the rest of Qiskit will remove this overhead.
- Loading branch information
Showing
3 changed files
with
63 additions
and
38 deletions.
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
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/retworkx-requirement-f99e8b468f0d6ca3.yaml
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,6 @@ | ||
--- | ||
upgrade: | ||
- | | ||
The python package ``retworkx`` is now a requirement for installing | ||
qiskit-ignis. It replaces the previous usage of ``networkx`` (which is | ||
no longer a requirement) to get better performance. |
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