Skip to main content

*

Symbol of ComplexMPS.

Overloads

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

(const ComplexMPS lhs * integer scalar) -> ComplexMPS

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

A new MPS with all tensors scaled by the scalar.

(const ComplexMPS lhs * real scalar) -> ComplexMPS

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

A new MPS with all tensors scaled by the scalar.

(const ComplexMPS lhs * complex scalar) -> ComplexMPS

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

A new MPS with all tensors scaled by the scalar.