seemps.state.CanonicalMPS#

class seemps.state.CanonicalMPS(data, center=None, normalize=None, strategy=<seemps.state.core.Strategy object>, is_canonical=False, **kwdargs)[source]#

Canonical MPS class.

This implements a Matrix Product State object with open boundary conditions, that is always on canonical form with respect to a given site. The tensors have three indices, A[α,i,β], where α,β are the internal labels and i is the physical state of the given site.

Parameters:
dataIterable[Tensor3]

A set of tensors that will be orthogonalized. It can be an MPS state.

centerint, optional

The center for the canonical form. Defaults to the first site center = 0.

normalizebool, optional

Whether to normalize the state to compensate for truncation errors. Defaults to the value set by strategy.

strategyStrategy, optional

The truncation strategy for the orthogonalization and later algorithms. Defaults to DEFAULT_STRATEGY.