qiskit/releasenotes/notes/0.45/decimals_for_sampler-5aaa56...

8 lines
290 B
YAML

---
upgrade:
- |
The :class:`~.QuasiDistribution` values might include floating-point errors.
``QuasiDistribution.__repr__`` rounds using :meth:`numpy.round`
and the parameter ``ndigits`` can be manipulated with the
class attribute ``__ndigits__``. The default is ``15``.