operator_dense
Overloads
| Name | Description |
|---|---|
operator_dense(const ComplexMatrix matrix, integer site) -> SpinHalfOperator | Returns a spin-1/2 OperatorDense parametrized by the given matrix. |
operator_dense(const RealMatrix matrix, integer site) -> SpinHalfOperator | Returns a spin-1/2 OperatorDense parametrized by the given matrix. |
operator_dense(const RealMatrix matrix, const List<integer> sites) -> SpinHalfOperator | Returns a spin-1/2 OperatorDense parametrized by the given matrix. |
operator_dense(const ComplexMatrix matrix, const List<integer> sites) -> SpinHalfOperator | Returns a spin-1/2 OperatorDense parametrized by the given matrix. |
operator_dense(const ComplexMatrix matrix, integer site) -> SpinHalfOperator
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.
operator_dense(const RealMatrix matrix, integer site) -> SpinHalfOperator
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.
operator_dense(const RealMatrix matrix, const List<integer> sites) -> SpinHalfOperator
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 ComplexMatrix matrix, const List<integer> sites) -> SpinHalfOperator
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.