Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
astralcai committed Aug 26, 2024
1 parent addad41 commit ae42aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_gradients.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def test_gradient_with_custom_operator(qvm, compiler):

def func(x, y):
"""Reference QNode"""
qml.BasisState(np.array([1, 1], requires_grad=False), wires=0)
qml.BasisState(np.array([1, 1], requires_grad=False), wires=[0, 1])
qml.RY(x, wires=0)
qml.RX(y, wires=1)
qml.PSWAP(np.array(0.432, requires_grad=False), wires=[0, 1])
Expand Down

0 comments on commit ae42aca

Please sign in to comment.