StatMech
|
ManyBodySpinSpace \(\mathcal{H}\) defined by \(\mathcal{H} \coloneqq \mathcal{H}_{\mathrm{loc}}^{\otimes L}\), where. More...
#include <HilbertSpace.hpp>
Public Member Functions | |
__host__ __device__ | ManyBodySpaceBase (int systemSize, LocSpace_t const &locSpace) |
Constructor1. | |
__host__ __device__ | ManyBodySpaceBase (int systemSize, LocSpace_t &&locSpace) |
Constructor2. | |
template<typename... Args> | |
__host__ __device__ | ManyBodySpaceBase (int systemSize, Args... args) |
Constructor3. | |
__host__ __device__ | ManyBodySpaceBase ()=default |
Default constructor. | |
__host__ __device__ | ManyBodySpaceBase (ManyBodySpaceBase const &other) |
Copy constructor. | |
__host__ __device__ | ManyBodySpaceBase (ManyBodySpaceBase &&other) |
Move constructor. | |
__host__ __device__ | ~ManyBodySpaceBase ()=default |
Destructor. | |
Operator overloads | |
__host__ __device__ ManyBodySpaceBase & | operator= (ManyBodySpaceBase const &other)=delete |
Copy assignment operator (deleted) | |
__host__ __device__ Derived & | operator= (ManyBodySpaceBase &&other) |
Move assignment operator. | |
__host__ __device__ bool | operator== (ManyBodySpaceBase const &other) const |
Equality operator. | |
__host__ __device__ LocSpace_t const & | locSpace () const |
__host__ __device__ int | sysSize () const |
__host__ __device__ int | dimLoc () const |
__host__ __device__ int | locState (int state, int pos) const |
__host__ Derived const & | printInString (int basisNum) const |
Print a basis state specified by the input (basisNum) in a string of integers. | |
__host__ __device__ Eigen::RowVectorXi | ordinalToConfig (int basisNum) const |
template<class EigenDerived > | |
__host__ __device__ int | configToOrdinal (Eigen::DenseBase< EigenDerived > &config) const |
Parity operation | |
__host__ __device__ int | reverse (int state) const |
Reverse the input state. | |
__host__ __device__ Vector_t const & | parityPair () const |
__host__ __device__ int | parityPair (int state) const |
__host__ __device__ void | computeParityPair () const |
![]() | |
__host__ __device__ int | dim () const |
__host__ __device__ bool | operator== (HilbertSpace const &other) const |
Protected Types | |
using | Vector_t = Eigen::VectorX< int > |
Protected Attributes | |
int | m_systemSize = 0 |
LocSpace_t | m_locSpace |
int | m_transEqDim = -1 |
Vector_t | m_transEqClassRep |
Vector_t | m_transPeriod |
Vector_t | m_stateToTransEqClass |
Vector_t | m_parityPair |
Private Types | |
using | LocSpace_t = typename HilbertSpaceTraits< Derived >::LocalSpace |
Private Attributes | |
struct cudaFuncAttributes | attr |
bool | gotKernelAttribute = false |
Translation operation | |
__host__ __device__ int | translate (int state, int trans) const |
Translate the input state to the left by one. | |
template<class EigenDerived > | |
__host__ __device__ int | translate (int state, int trans, Eigen::DenseBase< EigenDerived > &work) const |
__host__ __device__ int | transEqDim () const |
__host__ __device__ Vector_t const & | transEqClassRep () const |
__host__ __device__ int | transEqClassRep (int id) const |
__host__ __device__ int | transEqClassRep (int id, int trans) const |
__host__ __device__ Vector_t const & | transPeriod () const |
__host__ __device__ int | transPeriod (int id) const |
__host__ __device__ Vector_t const & | stateToTransEqClass () const |
__host__ __device__ int | stateToTransEqClass (int state) const |
__host__ __device__ int | stateToTransPeriod (int state) const |
__host__ __device__ void | computeTransEqClass () const |
void | setTransEqDim_kernel (ManyBodySpaceBase *, int) |
void | copyTransEqClass_kernel (ManyBodySpaceBase *, int *, int *) |
ManyBodySpinSpace \(\mathcal{H}\) defined by \(\mathcal{H} \coloneqq \mathcal{H}_{\mathrm{loc}}^{\otimes L}\), where.
int | |
Container |
|
private |
|
protected |
|
inline |
Constructor1.
systemSize | |
locSpace |
|
inline |
Constructor2.
systemSize | |
locSpace |
|
inline |
Constructor3.
Args | Types of arguments for a constructor of LocSpace_t |
systemSize | |
args | Arguments for a constructor of LocSpace_t |
|
default |
Default constructor.
|
inline |
Copy constructor.
other |
|
inline |
Move constructor.
other |
|
default |
Destructor.
__host__ __device__ void ManyBodySpaceBase< Derived >::computeParityPair |
__host__ void ManyBodySpaceBase< Derived >::computeTransEqClass |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Move assignment operator.
other |
|
delete |
Copy assignment operator (deleted)
other |
|
inline |
Equality operator.
other |
|
inline |
|
inline |
|
inline |
|
inline |
Print a basis state specified by the input (basisNum) in a string of integers.
basisNum |
|
inline |
Reverse the input state.
[in] | state | |
[in] | trans |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Translate the input state to the left by one.
[in] | state | |
[in] | trans |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
private |
|
mutableprivate |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
mutableprotected |