GQCP
|
#include <GTransformation.hpp>
Public Types | |
using | Scalar = _Scalar |
![]() | |
using | Scalar = _Scalar |
using | DerivedTransformation = GTransformation< _Scalar > |
using | Self = SimpleTransformation< Scalar, DerivedTransformation > |
using | JacobiRotationType = JacobiRotation |
using | OrbitalRotationGeneratorType = typename OrbitalRotationGeneratorTraits< DerivedTransformation >::OrbitalRotationGenerators |
![]() | |
using | Transformation = typename BasisTransformableTraits< Type >::Transformation |
![]() | |
using | JacobiRotationType = typename JacobiRotatableTraits< T >::JacobiRotationType |
Public Member Functions | |
GTransformation (const SquareMatrix< Scalar > &T) | |
GTransformation (const SquareMatrix< Scalar > &T, const size_t K_alpha, const size_t K_beta) | |
MatrixX< Scalar > | alpha () const |
MatrixX< Scalar > | beta () const |
MatrixX< Scalar > | component (const Spin sigma) const |
![]() | |
SimpleTransformation (const SquareMatrix< Scalar > &T) | |
SimpleTransformation (const OrbitalRotationGeneratorType &kappa) | |
size_t | numberOfOrbitals () const |
size_t | dimension () const |
const SquareMatrix< Scalar > & | matrix () const |
DerivedTransformation | adjoint () const |
DerivedTransformation | inverse () const |
bool | isUnitary (const double threshold=1.0e-12) const |
DerivedTransformation | transformed (const DerivedTransformation &T) const override |
DerivedTransformation | rotated (const JacobiRotationType &jacobi_rotation) 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) |
![]() | |
virtual T | rotated (const JacobiRotationType &jacobi_rotation) const =0 |
void | rotate (const JacobiRotationType &jacobi_rotation) |
Static Public Member Functions | |
static GTransformation< Scalar > | FromRestricted (const RTransformation< Scalar > &r_transformation) |
static GTransformation< Scalar > | FromUnrestricted (const UTransformation< Scalar > &u_transformation) |
static GTransformation< Scalar > | Identity (const size_t K_alpha, const size_t K_beta) |
![]() | |
static DerivedTransformation | FromJacobi (const JacobiRotation &jacobi_rotation, const size_t dim) |
static DerivedTransformation | Identity (const size_t dim) |
static DerivedTransformation | Random (const size_t dim) |
static DerivedTransformation | RandomUnitary (const size_t dim) |
static DerivedTransformation | Zero (const size_t dim) |
Additional Inherited Members | |
![]() | |
SquareMatrix< Scalar > | T |
A 'general' basis transformation, i.e. a general, full-spinor basis transformation where the transformation mixes the alpha- and beta components of the two-component spinors.
In general, we adopt the convention outlined in (https://gqcg-res.github.io/knowdes/spinor-transformations.html), where the new orbitals' coefficients can be found in the respective column of the related transformation matrix.
_Scalar | The scalar type used for a transformation coefficient: real or complex. |
using GQCP::GTransformation< _Scalar >::Scalar = _Scalar |
|
inline |
Construct a GTransformation
from the transformation matrix that it encapsulates.
T | The transformation matrix that collects the expansion coefficients of the new basis (vectors) in the old basis as columns. |
|
inline |
Construct a GTransformation
from the transformation matrix that it encapsulates, where the number of basis functions used for the expansion of the alpha components may differ from the number of basis functions for the beta components.
T | The transformation matrix that collects the expansion coefficients of the new basis (vectors) in the old basis as columns. |
K_alpha | The number of basis functions that are used for the expansion of the alpha components. |
K_beta | The number of basis functions that are used for the expansion of the beta components. |
|
inline |
|
inline |
|
inline |
sigma | Alpha or beta. |
|
inlinestatic |
Convert an RTransformation
into its generalized counterpart.
r_transformation | The restricted transformation. |
GTransformation
that corresponds to the RTransformation
.
|
inlinestatic |
Convert an UTransformation
into its generalized counterpart.
u_transformation | The unrestricted transformation. |
GTransformation
that corresponds to the UTransformation
.
|
inlinestatic |
Construct an identity transformation related to different number of alpha and beta atomic spinors.