Skip to content

Commit

Permalink
update benchmark scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-aws committed Jul 26, 2024
1 parent 4f0496f commit 9042472
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/py/Benchmarks/gaussian_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

for i in range(1100):
start_time = timeit.default_timer()
r.DiscreteGaussianSample(sigma_num, sigma_denom)
r.DiscreteGaussianSample(sigma_num, sigma_denom, 7)
elapsed = timeit.default_timer() - start_time
vmc.append(elapsed)

Expand Down
2 changes: 1 addition & 1 deletion docs/py/Benchmarks/gaussian_diagrams.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
title_ibm_dpl = 'IBM-DPL, Sigma = ' + str(sigma)

for _ in range(100000):
vmc_data.append(r.DiscreteGaussianSample(sigma_num, sigma_denom))
vmc_data.append(r.DiscreteGaussianSample(sigma_num, sigma_denom, 7))
ibm_dgdp_data.append(discretegauss.sample_dgauss(sigma_squared, rng))
ibm_dpl_data.append(g.randomise(0))

Expand Down

0 comments on commit 9042472

Please sign in to comment.