This module handles formatting of arrays. Everything in here is for internal use only, except for the set_qitensor_printoptions() and get_qitensor_printoptions() functions.
Bases: object
Format array in HTML. Used for IPython.
Formats array in Latex. Used by both Sage and IPython.
Creates repr for HilbertArray.
Creates string for HilbertArray.
Gets the current qitensor formatting options.
See also: set_qitensor_printoptions()
Formats python scalar for latex.
Formats Sage scalar for latex.
Sets print options for qitensor.
Any options passed the None value won’t be changed.
Parameters: |
|
---|
qitensor also makes use of the suppress and precision options from numpy.set_printoptions.
See also: get_qitensor_printoptions()
Sets good printing options for IPython QTconsole.
Formats Sympy scalar for latex.