seemps.truncate.simplify_mpo.simplify_mpo#

seemps.truncate.simplify_mpo.simplify_mpo(operator, strategy=<seemps.state.core.Strategy object>, direction=1, guess=None, mpo_strategy=<seemps.state.core.Strategy object>)[source]#

Simplify an MPO state transforming it into another one with a smaller bond dimension, sweeping until convergence is achieved.

Parameters:
operatorUnion[MPO, MPOList, MPOSum]

MPO to simplify. If given as MPOList or MPOSum, it is joined to MPO before the simplification.

strategyStrategy, default=SIMPLIFICATION_STRATEGY

Truncation strategy to use in the simplification routine.

directionint, default=1

Initial direction for the sweeping algorithm.

guessMPS, optional

Guess for the new state, to ease the optimization.

mpo_strategyStrategy, default=DEFAULT_STRATEGY

Strategy of the resulting MPO.

Returns:
MPO

Approximation O to the operator.