seemps.state.MPSSum.delete_zero_components#

method

MPSSum.delete_zero_components()[source]#

Compute the norm-squared of the linear combination of weights and states and eliminate states that are zero or have zero weight.