Skip to content

Commit

Permalink
t1, t2 as lists to work w/ env sampling
Browse files Browse the repository at this point in the history
  • Loading branch information
Farquhar13 committed Jul 15, 2024
1 parent 844b99e commit 51f90df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/relaqs/api/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def sample_noise_parameters(t1_t2_noise_file=None, detuning_noise_file=None):
else:
detunings = get_single_qubit_detuning(QUANTUM_NOISE_DATA_DIR + detuning_noise_file)

return t1_list, t2_list, detunings
return list(t1_list), list(t2_list), detunings

def do_inferencing(alg, n_episodes_for_inferencing, quantum_noise_file_path):
"""
Expand Down

0 comments on commit 51f90df

Please sign in to comment.