Skip to main content

>>

Symbol of Operator.

Overloads​

NameDescription
(const Operator lhs >> ComplexMPO mpo) -> ComplexMPOApply a spin-1/2 operator to a Matrix Product Operator (MPO) with Complex values in place.
(const Operator lhs >> ComplexMatrix rhs) -> ComplexMatrixIn-place Operator-vector product operator.
(const Operator lhs >> RealMatrix rhs) -> RealMatrixIn-place Operator-vector product operator.
(const Operator lhs >> RealMPS mps) -> RealMPSApply a spin-1/2 operator to a Matrix Product State (MPS) with Real values in place. If truncation parameters were configured on the MPS, they are used after application.
(const Operator lhs >> RealMPO mpo) -> RealMPOApply a spin-1/2 operator to a Matrix Product Operator (MPO) with Real values in place.
(const Operator lhs >> ComplexMPS mps) -> ComplexMPSApply a spin-1/2 operator to a Matrix Product State (MPS) with Complex values in place. If truncation parameters were configured on the MPS, they are used after application.
(const Operator lhs >> State rhs) -> StateApplies an operator to a state vector, modifying it in-place.

(const Operator lhs >> ComplexMPO mpo) -> ComplexMPO​

Apply a spin-1/2 operator to a Matrix Product Operator (MPO) with Complex values in place.

Parameters​

  • lhs: Left-hand side value.
  • mpo: The Matrix Product Operator (MPO) to modify.

Returns​

Reference to the modified MPO.

(const Operator lhs >> ComplexMatrix rhs) -> ComplexMatrix​

In-place Operator-vector product operator.

Parameters​

  • lhs: Left-hand side value.
  • rhs: The vector to modify.

(const Operator lhs >> RealMatrix rhs) -> RealMatrix​

In-place Operator-vector product operator.

Parameters​

  • lhs: Left-hand side value.
  • rhs: The vector to modify.

(const Operator lhs >> RealMPS mps) -> RealMPS​

Apply a spin-1/2 operator to a Matrix Product State (MPS) with Real values in place. If truncation parameters were configured on the MPS, they are used after application.

Parameters​

  • lhs: Left-hand side value.
  • mps: The Matrix Product State (MPS) to modify.

Returns​

Reference to the modified MPS.

(const Operator lhs >> RealMPO mpo) -> RealMPO​

Apply a spin-1/2 operator to a Matrix Product Operator (MPO) with Real values in place.

Parameters​

  • lhs: Left-hand side value.
  • mpo: The Matrix Product Operator (MPO) to modify.

Returns​

Reference to the modified MPO.

(const Operator lhs >> ComplexMPS mps) -> ComplexMPS​

Apply a spin-1/2 operator to a Matrix Product State (MPS) with Complex values in place. If truncation parameters were configured on the MPS, they are used after application.

Parameters​

  • lhs: Left-hand side value.
  • mps: The Matrix Product State (MPS) to modify.

Returns​

Reference to the modified MPS.

(const Operator lhs >> State rhs) -> State​

Applies an operator to a state vector, modifying it in-place.

Parameters​

  • lhs: Left-hand side value.
  • rhs: The qubit state to be modified.

Returns​

The modified qubit state.