Skip to main content

+

Symbol of ComplexMPS.

(const ComplexMPS lhs + const ComplexMPS rhs) -> ComplexMPS

Compute the sum of two Matrix Product States (quantum states) with Complex values.

Parameters

  • lhs: Left-hand side value.
  • rhs: The right-hand side Matrix Product State.

Returns

A new MPS representing the sum of the two input states.