GQCP
|
#include <UTransformation.hpp>
Public Member Functions | |
bool | isUnitary (const double threshold) const |
UTransformation< Scalar > | inverse () const |
![]() | |
SpinResolvedBase (const Of &alpha, const Of &beta) | |
SpinResolvedBase (const std::vector< Of > &both) | |
SpinResolvedBase (const std::array< Of, 2 > &both) | |
SpinResolvedBase (const std::initializer_list< Of > &both) | |
const Of & | alpha () const |
Of & | alpha () |
const Of & | beta () const |
Of & | beta () |
const Of & | component (const Spin sigma) const |
Of & | component (const Spin sigma) |
![]() | |
UTransformation< _Scalar > | transformed (const Transformation &T) const override |
![]() | |
virtual Type | transformed (const Transformation &T) const =0 |
virtual void | transform (const Transformation &T) |
virtual Type | rotated (const Transformation &U) const |
void | rotate (const Transformation &U) |
![]() | |
UTransformation< _Scalar > | rotated (const JacobiRotationType &jacobi_rotation) const override |
![]() | |
virtual T | rotated (const JacobiRotationType &jacobi_rotation) const =0 |
void | rotate (const JacobiRotationType &jacobi_rotation) |
Static Public Member Functions | |
static UTransformation< Scalar > | FromRestricted (const RTransformation< Scalar > &T) |
static UTransformation< Scalar > | Identity (const size_t dim_alpha, const size_t dim_beta) |
static UTransformation< Scalar > | Identity (const size_t dim) |
static UTransformation< Scalar > | Random (const size_t dim) |
static UTransformation< Scalar > | RandomUnitary (const size_t dim) |
![]() | |
static Derived | FromEqual (const Of &equal) |
A type that encapsulates transformation matrices for the alpha- and beta-parts of spin-orbital bases.
_Scalar | The scalar type used for a transformation coefficient: real or complex. |
using GQCP::UTransformation< _Scalar >::ComponentType = typename SpinResolvedBase<UTransformationComponent<Scalar>, Self>::Of |
using GQCP::UTransformation< _Scalar >::Scalar = _Scalar |
using GQCP::UTransformation< _Scalar >::Self = UTransformation<Scalar> |
using GQCP::UTransformation< _Scalar >::Transformation = UTransformation<Scalar> |
|
inlinestatic |
Create an UTransformation from an RTransformation, leading to transformations for both spin components that are equal.
T | The transformation that is equal for both the alpha and the beta spin-orbitals. |
UTransformation
corresponding to the given RTransformation
.
|
inlinestatic |
Create an identity UTransformation.
dim | The dimension of the alpha and beta spin-orbitals. |
|
inlinestatic |
Create an identity UTransformation.
dim_alpha | The number of alpha spin-orbitals. |
dim_beta | The number of beta spin-orbitals. |
|
inline |
|
inline |
threshold | The threshold used for checking unitarity. |
|
inlinestatic |
Create a random UTransformation
.
dim | The number of alpha or beta spin-orbitals (equal). |
UTransformation
.
|
inlinestatic |
Create a random unitary UTransformation
.
dim | The number of alpha or beta spin-orbitals (equal). |
UTransformation
.