*
Symbol of RealMPS.
Overloads
| Name | Description |
|---|---|
(const RealMPS lhs * real scalar) -> RealMPS | Scalar multiplication of an Matrix Product State (MPS) with Real values. |
(const RealMPS lhs * integer scalar) -> RealMPS | Scalar multiplication of an Matrix Product State (MPS) with Real values. |
(const RealMPS lhs * real scalar) -> RealMPS
Scalar multiplication of an Matrix Product State (MPS) with Real values.
warning
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- lhs: Left-hand side value.
- scalar: The scalar value to multiply by.
Returns
A new MPS with all tensors scaled by the scalar.
(const RealMPS lhs * integer scalar) -> RealMPS
Scalar multiplication of an Matrix Product State (MPS) with Real values.
warning
Repeated use of this operation can make the numerics unstable, leading to poor accuracy.
Parameters
- lhs: Left-hand side value.
- scalar: The scalar value to multiply by.
Returns
A new MPS with all tensors scaled by the scalar.