*
Overloads
| Name | Description |
|---|---|
(complex lhs * const ComplexMPO scalar) -> ComplexMPO | Scalar multiplication of an Matrix Product Operator (MPO) with Complex values. |
(complex lhs * const ComplexMPS scalar) -> ComplexMPS | Scalar multiplication of an Matrix Product State (MPS) with Complex values. |
(real lhs * const RealMPS scalar) -> RealMPS | Scalar multiplication of an Matrix Product State (MPS) with Real values. |
(real lhs * const ComplexMPS scalar) -> ComplexMPS | Scalar multiplication of an Matrix Product State (MPS) with Complex values. |
(real lhs * const RealMPO scalar) -> RealMPO | Scalar multiplication of an Matrix Product Operator (MPO) with Real values. |
(real lhs * const ComplexMPO scalar) -> ComplexMPO | Scalar multiplication of an Matrix Product Operator (MPO) with Complex values. |
(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. |
(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 integer lhs * const Operator rhs) -> Operator | Multiplies integer scalar by an operator. |
(const integer lhs * const State rhs) -> State | Multiplies a constant coefficient by a quantum state. |
(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 real lhs * const Operator rhs) -> Operator | Multiplies real scalar by an operator. |
(integer lhs * const ComplexMPO scalar) -> ComplexMPO | Scalar multiplication of an Matrix Product Operator (MPO) with Complex values. |
(integer lhs * const RealMPO scalar) -> RealMPO | Scalar multiplication of an Matrix Product Operator (MPO) with Real values. |
(integer lhs * const ComplexMPS scalar) -> ComplexMPS | Scalar multiplication of an Matrix Product State (MPS) with Complex values. |
(integer lhs * const RealMPS scalar) -> RealMPS | Scalar multiplication of an Matrix Product State (MPS) with Real values. |
(complex lhs * const ComplexMPO scalar) -> ComplexMPO
Scalar multiplication of an Matrix Product Operator (MPO) with Complex values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPO with all tensors scaled by the scalar.
(complex lhs * const ComplexMPS scalar) -> ComplexMPS
Scalar multiplication of an Matrix Product State (MPS) with Complex values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPS with all tensors scaled by the scalar.
(real lhs * const RealMPS scalar) -> RealMPS
Scalar multiplication of an Matrix Product State (MPS) with Real values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPS with all tensors scaled by the scalar.
(real lhs * const ComplexMPS scalar) -> ComplexMPS
Scalar multiplication of an Matrix Product State (MPS) with Complex values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPS with all tensors scaled by the scalar.
(real lhs * const RealMPO scalar) -> RealMPO
Scalar multiplication of an Matrix Product Operator (MPO) with Real values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPO with all tensors scaled by the scalar.
(real lhs * const ComplexMPO scalar) -> ComplexMPO
Scalar multiplication of an Matrix Product Operator (MPO) with Complex values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPO with all tensors scaled by the scalar.
(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.
(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 integer lhs * const Operator rhs) -> Operator
Multiplies integer 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 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 real lhs * const Operator rhs) -> Operator
Multiplies real scalar by an operator.
Parameters
- rhs: The operator.
(integer lhs * const ComplexMPO scalar) -> ComplexMPO
Scalar multiplication of an Matrix Product Operator (MPO) with Complex values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPO with all tensors scaled by the scalar.
(integer lhs * const RealMPO scalar) -> RealMPO
Scalar multiplication of an Matrix Product Operator (MPO) with Real values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPO with all tensors scaled by the scalar.
(integer lhs * const ComplexMPS scalar) -> ComplexMPS
Scalar multiplication of an Matrix Product State (MPS) with Complex values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPS with all tensors scaled by the scalar.
(integer lhs * const RealMPS scalar) -> RealMPS
Scalar multiplication of an Matrix Product State (MPS) with Real values.
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- scalar: The scalar value to multiply by.
Returns
A new MPS with all tensors scaled by the scalar.