seemps.state.Strategy#

class seemps.state.Strategy#

Bases: object

MPS and MPO simplification strategies.

Parameters:
simplifyint

Method to simplify a tensor network. Defaults to Simplification.DO_NOT_SIMPLIFY.

methodint

Method to split tensors. Defaults to Truncation.RELATIVE_NORM_SQUARED_ERROR.

tolerancefloat

Tolerance when splitting tensors. Defaults to DEFAULT_TOLERANCE

simplification_tolerancefloat

Tolerance when simplifying a tensor network. Defaults ot DEFAULT_TOLERANCE.

max_bond_dimensionint

Maximum bond dimension when simplifying a tensor network. Defaults to MAX_BOND_DIMENSION.

normalizebool

Whether to normalize the tensor network after simplification.

max_sweepsint

Maximum number of sweeps for the variational simplification methods. Default is 16.

classmethod __new__(*args, **kwargs)#