Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/source/visualization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,24 @@ If flow or gflow exist, the tool take them into account and show the information

This modules provides functions to format patterns and flows.

``complex_to_str``, ``statevec_to_str``, and ``density_matrix_to_str`` format
concrete numeric amplitudes and matrix elements. They do not support symbolic
parameters such as :class:`~graphix.parameter.Placeholder`; substitute
parameters before calling these functions, or use ``str(...)`` on the
statevector or density matrix object for a raw representation.

.. currentmodule:: graphix.pretty_print

.. autoclass:: OutputFormat

.. autofunction:: angle_to_str

.. autofunction:: complex_to_str

.. autofunction:: statevec_to_str

.. autofunction:: density_matrix_to_str

.. autofunction:: command_to_str

.. autofunction:: pattern_to_str
Expand Down
Loading
Loading