Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hmunozb committed Sep 19, 2024
1 parent 3378094 commit 4cf5522
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def test_tts(n_vars: int):
30,
1.0,
3.5,
n_repetitions=201)
n_repetitions=101)

bench_tts = raw_to_tts(bench, gap_key='energy_gap', ptgt=0.9)
bench_tts_samps = tts_boots(bench_tts, 50, 0.9)
Expand Down
2 changes: 1 addition & 1 deletion tests/tests_qubo_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def test_sequential_sweep_simulation_qubo(n_vars: int):

# Fix temperature
betas = np.array([10], dtype=dtype)
beta = np.arange(1)
beta_idx = np.arange(1)
# Get initial state
states = np.random.randint(2, size=(1, n_vars)).astype(dtype)

Expand Down

0 comments on commit 4cf5522

Please sign in to comment.