Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mbeisel committed Sep 22, 2022
1 parent 4d389ea commit 6103d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/helper_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6103d13

Please sign in to comment.