Skip to main content

*=

Symbol of ComplexMPS.

Overloads

NameDescription
(ComplexMPS lhs *= integer scalar) -> ComplexMPSIn-place scalar multiplication of an Matrix Product State (MPS) with Complex values.
(ComplexMPS lhs *= complex scalar) -> ComplexMPSIn-place scalar multiplication of an Matrix Product State (MPS) with Complex values.
(ComplexMPS lhs *= real scalar) -> ComplexMPSIn-place scalar multiplication of an Matrix Product State (MPS) with Complex values.

(ComplexMPS lhs *= integer scalar) -> ComplexMPS

In-place scalar multiplication of an Matrix Product State (MPS) with Complex 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.

(ComplexMPS lhs *= complex scalar) -> ComplexMPS

In-place scalar multiplication of an Matrix Product State (MPS) with Complex 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.

(ComplexMPS lhs *= real scalar) -> ComplexMPS

In-place scalar multiplication of an Matrix Product State (MPS) with Complex 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.