Skip to content

Commit fea59ed

Browse files
committed
Update requirements
1 parent 1a55555 commit fea59ed

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
numpy>=1.14.0,<2.0.0
22
scipy>=1.1.0,<2.0.0
3-
twisted>=20.3.0,<21.0.0
4-
networkx>=2.2,<3.0
5-
click>=7.0,<8.0
3+
twisted>=24.0.0
4+
networkx>=3.0,<4.0
5+
click>=8.0,<9.0
66
daemons>=1.3.0,<2.0.0
7-
netqasm>=0.8.2,<0.9.0
7+
netqasm>=1.0.0

simulaqron/toolbox/stabilizer_states.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ def find_SQC_equiv_graph_state(self, return_operations=False):
844844
# Spp is now in the form of (I,Gamma) where Gamma is the adj mat of the Graph
845845
# SQC equivalent to the stabilizer state.
846846
adj_mat = Spp.to_array()[:, n : 2 * n]
847-
G = nx.from_numpy_matrix(adj_mat)
847+
G = nx.from_numpy_array(adj_mat)
848848

849849
if return_operations:
850850
return G, operations

test_requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
flake8>=3.6.0,<4.0.0
2+
pytest >=7.1, <8.0

0 commit comments

Comments
 (0)