OperatorDense<real>
Class representing a spin-1/2 dense operator. The operator is parametrized with a dense matrix and the site indices. The matrix dimension must be equal to , where is the number of sites the operator acts on.
Factories
operator_dense(const RealMatrix matrix, const List<integer> sites) -> OperatorDense<real>
Returns a spin-1/2 OperatorDense parametrized by the given matrix.
Parameters
- matrix: The matrix parametrizing the operator.
- sites: Vector of site indices where the operator acts.
operator_dense(const RealMatrix matrix, integer site) -> OperatorDense<real>
Returns a spin-1/2 OperatorDense parametrized by the given matrix.
Parameters
- matrix: The matrix parametrizing the operator.
- site: The site index where the operator acts.
Symbols
| Name | Description |
|---|---|
= | Assignment operator for spin-1/2 OperatorDense. |