Skip to main content

compress

Method of ComplexMPS.

compress(real tol) -> void

Compress the Matrix Product State (MPS) by truncating the bond dimensions based on truncation options. Reduces the bond dimension according to the specified error measure and tolerance with Complex values.

Parameters

  • tol: Error tolerance of the lossy compression process. Worst possible overall error is approximately N_sites*tol.