Skip to main content

+=

Symbol of RealMPS.

(RealMPS lhs += const RealMPS rhs) -> RealMPS

In-place addition of two Matrix Product States (MPS) with Real values.

Adds the right-hand side MPS to the left-hand side MPS, modifying the left operand in-place.

Parameters

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

Returns

Reference to the modified MPS.