mps-0.0.0 MatrixProductStatesinC++
Matrix product states

## Namespaces

mps
Namespace for classes and algorithms related to Matrix Product States, DMRG and similar methods.

## Detailed Description

A Matrix Product State (MPS) represents a 1D quantum state made of N sites, particles or spins. Each site has a tensor associated to it, so that the whole state may be written as a contraction of these tensors

Each of the tensors in this product may be different and have different sizes. The indices denote the physical state of the k-th site. The indices have no direct physical interpretation. However, the larger the these indices can be, the more accurately we can approximate arbitrary states using the previous representation. Finally, in problems with open boundary conditions, the index need only have size 1.

From the point of view of the programmer, a MPS is just a collection of tensors. The user is allowed to put and retrieve the tensor associated to the k-th site using get(k) or set(k,A), where A is the new tensor. Each tensor typically has three indices and is organized as A(a,i,b), where a and b are the and from the previous formula, and i is the phyisical degree of freedom.

Other operations, such as orthogonalize() or orthonormalize() are related to the Algorithms algorithms for evolution and computation of ground states.

Finally, since the MPS are actually vectors, one can compute the norm(), a scalar product with scprod(), expected values with correlation(), or obtain a vector that represents the same state with to_basis().