seemps.state.MPS#

class seemps.state.MPS(data, error=0)[source]#

MPS (Matrix Product State) class.

This implements a bare-bones Matrix Product State object with open boundary conditions. The tensors have three indices, A[α,d,β], where α,β are the internal labels and d is the physical state of the given site.

Parameters:
dataIterable[Tensor3]

Sequence of three-legged tensors A[α,si,β]. The dimensions are not verified for consistency.

errorfloat, default=0.0

Accumulated truncation error in the previous tensors.