# Wavefunction.pretty_print_probabilities¶

Wavefunction.pretty_print_probabilities(decimal_digits=2)[source]

Prints outcome probabilities, ignoring all outcomes with approximately zero probabilities (up to a certain number of decimal digits) and rounding the probabilities to decimal_digits.

Parameters: decimal_digits (int) – The number of digits to truncate to. A dict with outcomes as keys and probabilities as values. dict