Skip to content

Commit

Permalink
Enabling 64bit to have good accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
alonkukl committed Jul 1, 2024
1 parent cef123a commit 076bc7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_single_leg_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from random import randint
from random import sample

import jax
import jax.numpy as jnp
import pytest
from bqskit.ir.gates import CXGate
Expand All @@ -15,6 +16,9 @@
from qfactorjax.unitarymatrixjax import UnitaryMatrixJax


jax.config.update('jax_enable_x64', True)


@pytest.mark.parametrize(
'num_qubits, N',
[(randint(2, 7), randint(3, 10)) for _ in range(6)],
Expand Down

0 comments on commit 076bc7b

Please sign in to comment.