# Wavefunction.pretty_print_probabilities¶

Wavefunction.pretty_print_probabilities(decimal_digits=2)[source]

TODO: This doesn’t seem like it is named correctly…

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.

Return type
Returns

A dict with outcomes as keys and probabilities as values.