Skip to content

Commit

Permalink
remove bad mottonen state prep test
Browse files Browse the repository at this point in the history
  • Loading branch information
albi3ro committed Jan 13, 2025
1 parent 1c627e1 commit 9c7ea17
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,11 +417,13 @@ def circuit(state):


@pytest.mark.jax
@pytest.mark.parametrize("shots, atol", [(None, 0.005), (1000000, 0.1)])
def test_jacobians_with_and_without_jit_match(shots, atol, seed):
def test_jacobians_with_and_without_jit_match(seed):
"""Test that the Jacobian of the circuit is the same with and without jit."""
import jax

shots = None
atol = 0.005

dev = qml.device("default.qubit", shots=shots, seed=seed)
dev_no_shots = qml.device("default.qubit", shots=None)

Expand Down

0 comments on commit 9c7ea17

Please sign in to comment.