*
Overloads
| Name | Description |
|---|---|
(const complex lhs * const State rhs) -> State | Multiplies a constant coefficient by a quantum state. |
(const complex lhs * const ComplexPolynomial rhs) -> ComplexPolynomial | Scalar multiplication operator for Polynomial objects. |
(complex lhs * const ComplexMPS scalar) -> ComplexMPS | Scalar multiplication of an Matrix Product State (MPS) with Complex values. |
(complex lhs * const ComplexMPO scalar) -> ComplexMPO | Scalar multiplication of an Matrix Product Operator (MPO) with Complex values. |
(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 real lhs * const RealPolynomial rhs) -> RealPolynomial | Scalar multiplication operator for Polynomial objects. |
(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 complex lhs * const PauliSum sum) -> PauliSum | Multiplies a PauliSum by a complex scalar. |
(const complex lhs * const Operator rhs) -> Operator | Multiplies complex scalar by an operator. |
(const real lhs * const Operator rhs) -> Operator | Multiplies real scalar by an operator. |
(const real lhs * const PauliSum sum) -> PauliSum | Multiplies a PauliSum by a real scalar. |
(const integer lhs * const Operator rhs) -> Operator | Multiplies integer scalar by an operator. |
(const integer lhs * const PauliSum sum) -> PauliSum | Multiplies a PauliSum by an integer scalar. |
(const integer lhs * const State rhs) -> State | Multiplies a constant coefficient by a quantum state. |
(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. |
(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 ComplexPolynomial rhs) -> ComplexPolynomial
Scalar multiplication operator for Polynomial objects.
Parameters
- rhs: The Polynomial operand.
(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.
(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.
(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.
(const real lhs * const RealPolynomial rhs) -> RealPolynomial
Scalar multiplication operator for Polynomial objects.
Parameters
- rhs: The Polynomial operand.
(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 complex lhs * const PauliSum sum) -> PauliSum
Multiplies a PauliSum by a complex scalar.
Parameters
- sum: The PauliSum to multiply.
Returns
The scaled PauliSum
(const complex lhs * const Operator rhs) -> Operator
Multiplies complex scalar by an operator.
Parameters
- rhs: The operator.
(const real lhs * const Operator rhs) -> Operator
Multiplies real scalar by an operator.
Parameters
- rhs: The operator.
(const real lhs * const PauliSum sum) -> PauliSum
Multiplies a PauliSum by a real scalar.
Parameters
- sum: The PauliSum to multiply.
Returns
The scaled PauliSum
(const integer lhs * const Operator rhs) -> Operator
Multiplies integer scalar by an operator.
Parameters
- rhs: The operator.
(const integer lhs * const PauliSum sum) -> PauliSum
Multiplies a PauliSum by an integer scalar.
Parameters
- sum: The PauliSum to multiply.
Returns
The scaled PauliSum
(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.
(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.