QMTensors

ElemCo.QMTensorsModule

QMTensors module

This module provides definitions for useful quantum-mechanical tensors.

Exported types and functions

ElemCo.QMTensors.SpinMatrixType
SpinMatrix

A type to store a one-electron matrix (spin aware).

The first matrix corresponds to the alpha electron, and the second matrix is beta. If the matrix is restricted, the beta matrix refers to the alpha matrix.

ElemCo.QMTensors.strict_uppertriangular_rangeMethod
strict_uppertriangular_range(inds::Vararg{Int, N}) where N

Return range for the uppertriangular index (i1 <= i2 <= i3 <= ...) without diagonal (i1 < i2 <= i3 <= ...) for given i2, i3, ...

Internal types and functions