Skip to main content

*

Symbol of RealMPO.

Overloads

NameDescription
(const RealMPO lhs * integer scalar) -> RealMPOScalar multiplication of an Matrix Product Operator (MPO) with Real values.
(const RealMPO lhs * real scalar) -> RealMPOScalar multiplication of an Matrix Product Operator (MPO) with Real values.
(const RealMPO lhs * const RealMPS mps) -> RealMPSCompute the exact product of a Matrix Product Operator (MPO) with a Matrix Product State (MPS). Applies the quantum operator represented by the MPO to the quantum state represented by the MPS, yielding a new MPS in the same Hilbert space. Both the MPO and MPS must have the same number of sites and physical dimension.
(const RealMPO lhs * const RealMPO rhs) -> RealMPOCompute the exact product of two Matrix Product Operators (MPO). Composes two quantum operators represented as Matrix Product Operators, Both MPOs must have the same number of sites and physical dimension. The resulting MPO represents A^B^\hat{A} \hat{B}, the composition of the two operators, with Real values.

(const RealMPO lhs * integer scalar) -> RealMPO

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

A new MPO with all tensors scaled by the scalar.

(const RealMPO lhs * real scalar) -> RealMPO

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

A new MPO with all tensors scaled by the scalar.

(const RealMPO lhs * const RealMPS mps) -> RealMPS

Compute the exact product of a Matrix Product Operator (MPO) with a Matrix Product State (MPS). Applies the quantum operator represented by the MPO to the quantum state represented by the MPS, yielding a new MPS in the same Hilbert space. Both the MPO and MPS must have the same number of sites and physical dimension.

Parameters

  • lhs: Left-hand side value.
  • mps: The Matrix Product State (MPS) representing the input quantum state.

Returns

A new MPS representing O^ψ\hat{O} \ket{\psi}, the result of applying the operator to the state.

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

Compute the exact product of two Matrix Product Operators (MPO). Composes two quantum operators represented as Matrix Product Operators, Both MPOs must have the same number of sites and physical dimension. The resulting MPO represents A^B^\hat{A} \hat{B}, the composition of the two operators, with Real values.

Parameters

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

Returns

A new MPO representing the product A^B^\hat{{A}} \hat{{B}} of the two input operators.