Skip to main content

*=

Symbol of RealMPO.

Overloads

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

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

In-place product of two Matrix Product Operators (quantum operators) with Real 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.

(RealMPO lhs *= real scalar) -> RealMPO

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

(RealMPO lhs *= integer scalar) -> RealMPO

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