Skip to content

Commit

Permalink
Count -> 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cynocracy authored Aug 6, 2021
1 parent 81ad5e0 commit ae7d24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cirq-ionq/cirq_ionq/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def counts(self, key: Optional[str] = None) -> Counter[int]:
'circuit that produced these results.'
)
for bit_value in self.ordered_results():
result[cirq.big_endian_bits_to_int(bit_value)] += count
result[cirq.big_endian_bits_to_int(bit_value)] += 1
return result

def measurement_dict(self) -> Dict[str, Sequence[int]]:
Expand Down

0 comments on commit ae7d24a

Please sign in to comment.