*
Overloads
| Name | Description |
|---|---|
(const complex lhs * const Operator rhs) -> Operator | Multiplies complex scalar by an operator. |
(const complex lhs * const State rhs) -> State | Multiplies a constant coefficient by a quantum state. |
(const complex lhs * const Polynomial<complex> rhs) -> Polynomial<complex> | Scalar multiplication operator for Polynomial objects. |
(const real lhs * const Operator rhs) -> Operator | Multiplies real scalar by an operator. |
(const integer lhs * const State rhs) -> State | Multiplies a constant coefficient by a quantum state. |
(const integer lhs * const Operator rhs) -> Operator | Multiplies integer scalar by an operator. |
(const real lhs * const Polynomial<real> rhs) -> Polynomial<real> | Scalar multiplication operator for Polynomial objects. |
(const real lhs * const State rhs) -> State | Multiplies a constant coefficient by a quantum state. |
(const bool lhs * const State rhs) -> State | Multiplies a constant coefficient by a quantum state. |
(const complex lhs * const Operator rhs) -> Operator
Multiplies complex scalar by an operator.
Parameters
- rhs: The operator.
(const complex lhs * const State rhs) -> State
Multiplies a constant coefficient by a quantum state.
Returns a new quantum state resulting from the multiplication of the given state by the coefficient.
Parameters
- rhs: The quantum state.
(const complex lhs * const Polynomial<complex> rhs) -> Polynomial<complex>
Scalar multiplication operator for Polynomial objects.
Parameters
- rhs: The Polynomial operand.
(const real lhs * const Operator rhs) -> Operator
Multiplies real scalar by an operator.
Parameters
- rhs: The operator.
(const integer lhs * const State rhs) -> State
Multiplies a constant coefficient by a quantum state.
Returns a new quantum state resulting from the multiplication of the given state by the coefficient.
Parameters
- rhs: The quantum state.
(const integer lhs * const Operator rhs) -> Operator
Multiplies integer scalar by an operator.
Parameters
- rhs: The operator.
(const real lhs * const Polynomial<real> rhs) -> Polynomial<real>
Scalar multiplication operator for Polynomial objects.
Parameters
- rhs: The Polynomial operand.
(const real lhs * const State rhs) -> State
Multiplies a constant coefficient by a quantum state.
Returns a new quantum state resulting from the multiplication of the given state by the coefficient.
Parameters
- rhs: The quantum state.
(const bool lhs * const State rhs) -> State
Multiplies a constant coefficient by a quantum state.
Returns a new quantum state resulting from the multiplication of the given state by the coefficient.
Parameters
- rhs: The quantum state.