diff --git a/app/utils/helper_functions.py b/app/utils/helper_functions.py index e5c6c5d..8c6d509 100644 --- a/app/utils/helper_functions.py +++ b/app/utils/helper_functions.py @@ -17,7 +17,7 @@ def array_to_dict(counts_array: list, n_qubits: int): dict = {} for i, e in enumerate(counts_array): # Remove all counts da occur less than once -> this drastically decreases the number of total counts - if (e >= 1): + if e >= 1: dict["{:0{}b}".format(i, n_qubits)] = e return dict