Skip to content

Commit 14e9dc0

Browse files
authored
Add networkx requirement (#2643)
Parital fix for #2638. We've resisted adding this requirement for a while, but `docs/guides/q-ctrl-optimization-solver.ipynb` uses some features of networkx that rustworkx doesn't have (e.g. `random_regular_graph`). It's possible there are suitable replacements, but I don't know enough about the domain or graph theory to work that out. I think this is the best solution for now.
1 parent eb6503a commit 14e9dc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/nb-tester/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ qiskit-addon-aqc-tensor~=0.1.2
1313
qiskit-addon-obp~=0.1.0
1414
scipy~=1.15.2
1515
pyscf~=2.8.0; sys.platform != 'win32'
16+
networkx~=3.4.2

0 commit comments

Comments
 (0)