Skip to main content

vector

Method of ComplexMPS.

vector() -> ComplexMatrix

Convert a Matrix Product State (MPS) to a full state vector representation.

danger

Dense conversion scales exponentially with the number of sites. The resulting dense state vector has length dLd^{L} where dd is the local physical dimension and LL the number of sites. Use only for small systems (typically L30L \leq 30 for d=2d=2).

Returns

A 1D matrix representing the full state vector.