GQCP
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
GQCP::G2DM< _Scalar > Class Template Reference

#include <G2DM.hpp>

Inheritance diagram for GQCP::G2DM< _Scalar >:
Inheritance graph
Collaboration diagram for GQCP::G2DM< _Scalar >:
Collaboration graph

Public Types

using Scalar = _Scalar
 
- Public Types inherited from GQCP::Simple2DM< _Scalar, G2DM< _Scalar > >
using Scalar = _Scalar
 
using DerivedDM = G2DM< _Scalar >
 
using Self = Simple2DM< Scalar, DerivedDM >
 
using OneDM = typename DensityMatrixTraits< DerivedDM >::OneDM
 
using Transformation = typename DensityMatrixTraits< DerivedDM >::Transformation
 
- Public Types inherited from GQCP::BasisTransformable< Type >
using Transformation = typename BasisTransformableTraits< Type >::Transformation
 
- Public Types inherited from GQCP::JacobiRotatable< T >
using JacobiRotationType = typename JacobiRotatableTraits< T >::JacobiRotationType
 
- Public Types inherited from GQCP::CRTP< T >
using Derived = T
 

Static Public Member Functions

static G2DM< ScalarFromSpinResolved (const SpinResolved2DM< Scalar > &d)
 

Additional Inherited Members

- Public Member Functions inherited from GQCP::Simple2DM< _Scalar, G2DM< _Scalar > >
 Simple2DM (const SquareRankFourTensor< Scalar > &d)
 
 Simple2DM ()
 
const SquareRankFourTensor< Scalar > & tensor () const
 
SquareRankFourTensor< Scalar > & tensor ()
 
size_t numberOfOrbitals () const
 
OneDM reduce () const
 
Scalar trace () const
 
DerivedDMoperator+= (const DerivedDM &rhs) override
 
DerivedDMoperator*= (const Scalar &a) override
 
DerivedDM transformed (const Transformation &T) const override
 
DerivedDM rotated (const JacobiRotation &jacobi_rotation) const override
 
- Public Member Functions inherited from GQCP::BasisTransformable< Type >
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)
 
- Public Member Functions inherited from GQCP::JacobiRotatable< T >
virtual T rotated (const JacobiRotationType &jacobi_rotation) const =0
 
void rotate (const JacobiRotationType &jacobi_rotation)
 
- Public Member Functions inherited from GQCP::VectorSpaceArithmetic< T, Scalar >
virtual T & operator+= (const T &rhs)=0
 
virtual T & operator*= (const Scalar &a)=0
 
T & operator-= (const T &rhs)
 
operator- () const
 
- Public Member Functions inherited from GQCP::CRTP< T >
Derivedderived ()
 
const Derivedderived () const
 

Detailed Description

template<typename _Scalar>
class GQCP::G2DM< _Scalar >

A type used to represent a two-electron general(ized) density matrix, i.e. the full spinor two-component two-electron density matrix.

Template Parameters
_ScalarThe scalar type used for a density matrix element: real or complex.

Member Typedef Documentation

◆ Scalar

template<typename _Scalar >
using GQCP::G2DM< _Scalar >::Scalar = _Scalar

Member Function Documentation

◆ FromSpinResolved()

template<typename _Scalar >
static G2DM< Scalar > GQCP::G2DM< _Scalar >::FromSpinResolved ( const SpinResolved2DM< Scalar > &  d)
inlinestatic

Create a G2DM from a SpinResolved2DM.

Parameters
dThe spin-resolved 2-DM.
Returns
A G2DM created from a SpinResolved2DM.

The documentation for this class was generated from the following file: