Skip to main content

*

Symbol of ComplexMPO.

Overloads

NameDescription
(const ComplexMPO lhs * const ComplexMPO rhs) -> ComplexMPOCompute 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 Complex values.
(const ComplexMPO lhs * const ComplexMPS mps) -> ComplexMPSCompute 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 ComplexMPO lhs * const ComplexMPO rhs) -> ComplexMPO

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 Complex 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.

(const ComplexMPO lhs * const ComplexMPS mps) -> ComplexMPS

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.