seemps.state.CanonicalMPS.error#

method

CanonicalMPS.error()#

Upper bound of the accumulated truncation error on this state.

If this quantum state results from N steps in which we have obtained truncation errors \(\delta_i\), this function returns the estimate \(\sum_{i}\delta_i\).

Returns:
float

Upper bound for the actual error when approximating this state.