pennylane_calculquebec.utility.debug.probs_to_counts#
- pennylane_calculquebec.utility.debug.probs_to_counts(probs: list, count: int) dict[str, int]#
turns probabilities into counts
- Parameters:
probs (list) – the probability distribution
count (int) – the amount of shots
- Returns:
the counts
- Return type:
dict[str, int]