Skip to main content

*

Symbol of RealMPO.

Overloads

NameDescription
(const RealMPO lhs * const RealMPS mps) -> RealMPSCompute the exact product of an MPO (operator) with an MPS (state). 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 MPOs (operators). 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 * const RealMPS mps) -> RealMPS

Compute the exact product of an MPO (operator) with an MPS (state). 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 MPOs (operators). 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.