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

#include <G1DM.hpp>

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

Public Types

using Scalar = _Scalar
 
- Public Types inherited from GQCP::Simple1DM< _Scalar, G1DM< _Scalar > >
using Scalar = _Scalar
 
using DerivedDM = G1DM< _Scalar >
 
using Self = Simple1DM< Scalar, DerivedDM >
 
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 G1DM< ScalarFromSpinResolved (const SpinResolved1DM< Scalar > &D)
 

Additional Inherited Members

- Public Member Functions inherited from GQCP::Simple1DM< _Scalar, G1DM< _Scalar > >
 Simple1DM (const SquareMatrix< Scalar > &D)
 
 Simple1DM ()
 
const SquareMatrix< Scalar > & matrix () const
 
SquareMatrix< Scalar > & matrix ()
 
size_t numberOfOrbitals () const
 
double norm () 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::G1DM< _Scalar >

A type used to represent a one-electron general(ized) density matrix, i.e. the full spinor two-component one-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::G1DM< _Scalar >::Scalar = _Scalar

Member Function Documentation

◆ FromSpinResolved()

template<typename _Scalar >
static G1DM< Scalar > GQCP::G1DM< _Scalar >::FromSpinResolved ( const SpinResolved1DM< Scalar > &  D)
inlinestatic

Create a G1DM from a SpinResolved1DM.

Parameters
DThe spin-resolved 1-DM.
Returns
A G1DM created from a SpinResolved1DM.

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