Skip to content

Commit

Permalink
fix bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
weinbe58 committed Apr 6, 2024
1 parent 0294881 commit fcafb4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bloqade/task/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def generate_counts(bitstring):
output = np.unique(bitstring, axis=0, return_counts=True)

count_list = [
("".join(map(str, bitstring)), count)
("".join(map(str, bitstring)), int(count))
for bitstring, count in zip(*output)
]
count_list.sort(key=lambda x: x[1], reverse=True)
Expand Down

0 comments on commit fcafb4c

Please sign in to comment.