pennylane_calculquebec.utility.debug.counts_to_probs#
- pennylane_calculquebec.utility.debug.counts_to_probs(counts: dict) list[float]#
converts counts into probabilities
- Parameters:
counts (dict) – the results of a circuit execution as counts
- Returns:
probabilities for a circuit
- Return type:
list[float]