matrix
Method of ComplexMPO.
matrix() -> ComplexMatrix
Convert an MPO to a full matrix representation.
danger
Dense conversion scales exponentially with the number of sites. The resulting dense operator matrix has shapes where is the local physical dimension and the number of sites. Use only for small systems (typically for ).
Returns
A 2D array representing the full matrix form of the operator.