Skip to content

Commit

Permalink
unpin numpy and fix BasisState test (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
timmysilv committed Sep 27, 2023
1 parent f4b7472 commit c1e17e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
@@ -1,4 +1,4 @@
numpy>=1.21,<1.24
numpy>=1.21
networkx>=2.5,<3.0
pennylane>=0.32
pyquil>=3.0.0,<4.0.0
Expand Down
2 changes: 1 addition & 1 deletion tests/test_gradients.py
Expand Up @@ -14,7 +14,7 @@ def test_simulator_qvm_default_agree(tol, qvm, compiler):
dev2 = qml.device("rigetti.wavefunction", wires=w)
dev3 = qml.device("rigetti.qvm", device="9q-square-qvm", shots=5000)

in_state = np.zeros([w], requires_grad=False)
in_state = np.zeros([w], dtype=np.int64, requires_grad=False)
in_state[0] = 1
in_state[1] = 1

Expand Down

0 comments on commit c1e17e5

Please sign in to comment.