Skip to main content

-=

Symbol of ComplexMPS.

(ComplexMPS lhs -= const ComplexMPS rhs) -> ComplexMPS​

In-place subtraction of two Matrix Product States (MPS) with Complex values.

Subtracts the right-hand side MPS from 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 subtract.

Returns​

Reference to the modified MPS.