Skip to main content

*=

Symbol of RealMPS.

Overloads

NameDescription
(RealMPS lhs *= integer scalar) -> RealMPSIn-place scalar multiplication of an Matrix Product State (MPS) with Real values.
(RealMPS lhs *= real scalar) -> RealMPSIn-place scalar multiplication of an Matrix Product State (MPS) with Real values.

(RealMPS lhs *= integer scalar) -> RealMPS

In-place scalar multiplication of an Matrix Product State (MPS) with Real values.

warning

Repeated use of this operation can make the numerics unstable, leading to poor accuracy.

Parameters

  • lhs: Left-hand side value.
  • scalar: The scalar value to multiply by.

Returns

Reference to the modified MPS.

(RealMPS lhs *= real scalar) -> RealMPS

In-place scalar multiplication of an Matrix Product State (MPS) with Real values.

warning

Repeated use of this operation can make the numerics unstable, leading to poor accuracy.

Parameters

  • lhs: Left-hand side value.
  • scalar: The scalar value to multiply by.

Returns

Reference to the modified MPS.