Skip to main content

+

Symbol of StateVector.

(const StateVector lhs + const StateVector rhs) -> StateVector

Adds two state vectors.

Returns a new state vector resulting from the addition of the two input state vectors.

Parameters

  • lhs: Left-hand side value.
  • rhs: Right-hand side state vector.