Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DilhanM committed Jun 1, 2024
1 parent bd06643 commit eba9c15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
9 changes: 5 additions & 4 deletions Production/noisy_simulations_array_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
for num_res in num_res_arr:
for shots in shots_arr:
for alpha in alpha_arr:
if count == match:
NSP.noisy_simulation(num_rot, num_res, shots, alpha, p_arr)
break
count += 1
for p in p_arr:
if count == match:
NSP.noisy_simulation(num_rot, num_res, shots, alpha, p)
break
count += 1


5 changes: 1 addition & 4 deletions Production/noisy_simulations_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,7 @@ def callback(quasi_dists, parameters, energy):



# %%
import pandas as pd
import numpy as np
from matplotlib import pyplot as plt




Expand Down

0 comments on commit eba9c15

Please sign in to comment.