full name: tenpy.linalg.charges
Meta-data about the charge of a tensor.
Save the charge data associated to a leg of a tensor.
A LegPipe combines multiple legs of a tensor to one.
Basic definitions of a charge.
This module contains implementations for handling the quantum numbers (“charges”) of
The contents of this module are imported in
so you usually don’t need to import this module in your application.
A detailed introduction to np_conserved can be found in Charge conservation with np_conserved.
In this module, some functions have the python decorator
Functions with this decorator are replaced by the ones written in Cython, implemented in
For further details, see the definition of
- tenpy.linalg.charges.QTYPE = <class 'numpy.int64'>¶
Numpy data type for the charges.