qiskit/releasenotes/notes/1.1/spo-to-matrix-26445a791e24f...

9 lines
432 B
YAML

---
features:
- |
The performance of :meth:`.SparsePauliOp.to_matrix` has been greatly improved for both dense and
sparse forms. By default, both will now take advantage of threaded parallelism available on
your system, subject to the ``RAYON_NUM_THREADS`` environment variable. You can temporarily
force serial execution using the new ``force_serial`` Boolean argument to
:meth:`~.SparsePauliOp.to_matrix`.