Skip to main content

*=

Symbol of ComplexMPO.

Overloads

NameDescription
(ComplexMPO lhs *= const ComplexMPO rhs) -> ComplexMPOIn-place product of two Matrix Product Operators (quantum operators) with Complex values. Composes two quantum operators represented as Matrix Product Operators.
(ComplexMPO lhs *= complex scalar) -> ComplexMPOIn-place scalar multiplication of an Matrix Product Operator (MPO) with Complex values.
(ComplexMPO lhs *= real scalar) -> ComplexMPOIn-place scalar multiplication of an Matrix Product Operator (MPO) with Complex values.
(ComplexMPO lhs *= integer scalar) -> ComplexMPOIn-place scalar multiplication of an Matrix Product Operator (MPO) with Complex values.

(ComplexMPO lhs *= const ComplexMPO rhs) -> ComplexMPO

In-place product of two Matrix Product Operators (quantum operators) with Complex values. Composes two quantum operators represented as Matrix Product Operators.

Computes the product of two MPOs in-place, storing the result A^B^\hat{A} \hat{B} in the left operand, where A is the left-hand side and B is the right-hand side.

Parameters

  • lhs: Left-hand side value.
  • rhs: The right-hand side Matrix Product Operator (second operator to compose).

Returns

Reference to the modified MPO.

(ComplexMPO lhs *= complex scalar) -> ComplexMPO

In-place scalar multiplication of an Matrix Product Operator (MPO) 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 MPO.

(ComplexMPO lhs *= real scalar) -> ComplexMPO

In-place scalar multiplication of an Matrix Product Operator (MPO) 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 MPO.

(ComplexMPO lhs *= integer scalar) -> ComplexMPO

In-place scalar multiplication of an Matrix Product Operator (MPO) 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 MPO.