seemps.state.mps_tensor_product#
- seemps.state.mps_tensor_product(mps_list: list[TypeAliasForwardRef('~seemps.state.MPS')], mps_order: Literal['A', 'B'] = 'A', strategy: TypeAliasForwardRef('~seemps.state.Strategy') | None = None, simplify_steps: bool = False) MPS[source]#
Returns the tensor product of a list of MPS, with the sites arranged according to the specified MPS order.
- Parameters:
- mps_list
list[MPS] The list of MPS objects to multiply.
- mps_order
MPSOrder, default=”A” The order in which to arrange the resulting MPS (‘A’ or ‘B’).
- strategy
Strategy,optional The strategy to use when multiplying the MPS. If None, the tensor product is not simplified.
- simplify_stepsbool, default=False
Whether to simplify the intermediate steps with strategy (if provided) or simplify at the end.
- mps_list
- Returns:
- result
MPS|CanonicalMPS The resulting MPS from the tensor product of the input list.
- result