seemps.state.Truncation#

class seemps.state.Truncation#

Bases: object

SVD truncation algorithm when splitting tensors.

Attributes

DO_NOT_TRUNCATE

As said, do not truncate. Only eliminate zero singular values.

RELATIVE_SINGULAR_VALUE

tolerance limits the relative absolute value of dropped singular values, as compared to the largest one.

RELATIVE_NORM_SQUARED_ERROR

tolerance limits the norm-2 of the dropped singular values.

ABSOLUTE_SINGULAR_VALUE

tolerance limits the absolute value of dropped singular values.