Skip to main content

compress

Method of RealMPS.

compress(real tol) -> void

Compress the MPS by truncating the bond dimensions based on truncation options. Reduces the bond dimension according to the specified error measure and tolerance with Real values.

Parameters

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