seemps.operators.MPOList.apply#

method

MPOList.apply(state, strategy=None, simplify=None)[source]#

Implement multiplication A @ state between a matrix-product operator A and a matrix-product state state.

Parameters:
stateMPS | MPSSum

Transformed state.

strategyStrategy, optional

Truncation strategy, defaults to DEFAULT_STRATEGY

simplifybool, optional

Whether to simplify the state after the contraction. Defaults to strategy.get_simplify_flag()

Returns:
CanonicalMPS

The result of the contraction.