Skip to main content

/

Symbol of ComplexMPS.

Overloads​

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

(const ComplexMPS lhs / integer scalar) -> ComplexMPS​

Scalar division 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 divide by.

Returns​

A new MPS with all tensors divided by the scalar.

(const ComplexMPS lhs / real scalar) -> ComplexMPS​

Scalar division 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 divide by.

Returns​

A new MPS with all tensors divided by the scalar.

(const ComplexMPS lhs / complex scalar) -> ComplexMPS​

Scalar division 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 divide by.

Returns​

A new MPS with all tensors divided by the scalar.