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:
- state
MPS
|MPSSum
Transformed state.
- strategy
Strategy
,optional
Truncation strategy, defaults to DEFAULT_STRATEGY
- simplifybool,
optional
Whether to simplify the state after the contraction. Defaults to strategy.get_simplify_flag()
- state
- Returns:
CanonicalMPS
The result of the contraction.