seemps.truncate.simplify#
- seemps.truncate.simplify(state, strategy=<seemps.state.core.Strategy object>, direction=1, guess=None)[source]#
Simplify an MPS state transforming it into another one with a smaller bond dimension, sweeping until convergence is achieved.
- Parameters:
- state
MPS
|MPSSum
State to approximate.
- strategy
Strategy
Truncation strategy. Defaults to SIMPLIFICATION_STRATEGY.
- direction{ +1, -1 }
Initial direction for the sweeping algorithm.
- guess
MPS
A guess for the new state, to ease the optimization.
- state
- Returns:
CanonicalMPS
Approximation \(\xi\) to the state.