Skip to main content

>>

Symbol of Operator.

Overloads

NameDescription
(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 >> State rhs) -> StateApplies an operator to a state vector, modifying it in-place.

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