StatMech
|
Translation invariant sector of a many-body Hilbert space. More...
#include <TransSector.hpp>
Public Types | |
using | TotalSpace = ManyBodySpinSpace |
![]() | |
using | TotalSpace = TotalSpace_ |
using | Scalar = ScalarType_ |
using | Real = typename Eigen::NumTraits< ScalarType_ >::Real |
Public Member Functions | |
__host__ __device__ | TransSector (int k, ManyBodySpinSpace const &mbHSpace) |
Construct a TransSector object from a ManyBodySpinSpace object. | |
__host__ __device__ | TransSector (int k=0, int systemSize=0, int dimLoc=0) |
Default constructor. | |
__host__ __device__ int | momentum () const |
__host__ __device__ int | rep (int j, int trans=0) const |
__host__ __device__ int | period (int j) const |
![]() | |
__host__ __device__ | SubSpace (TotalSpace const &totalSpace) |
Construct a SubSpace object by copying totalSpace to its member variable (m_totalSpace) | |
__host__ __device__ | SubSpace (TotalSpace &&totalSpace) |
Construct a SubSpace object by moving totalSpace to its member variable (m_totalSpace) | |
__host__ __device__ | SubSpace ()=default |
Default constructor. | |
__host__ __device__ | SubSpace (SubSpace const &other)=default |
Copy constructor. | |
template<typename Scalar_ > | |
__host__ __device__ | SubSpace (SubSpace< TotalSpace_, Scalar_ > const &other) |
__host__ __device__ | SubSpace (SubSpace &&other)=default |
Move constructor. | |
__host__ __device__ | ~SubSpace ()=default |
Destructor. | |
__host__ __device__ SubSpace & | operator= (SubSpace const &other) |
Copy assignment operator. | |
__host__ __device__ SubSpace & | operator= (SubSpace &&other) |
Move assignment operator. | |
__host__ __device__ bool | operator== (SubSpace const &other) const |
Equality operator. | |
__host__ __device__ Matrix_t & | basis () |
__host__ __device__ Matrix_t const & | basis () const |
__host__ __device__ TotalSpace const & | totalSpace () const |
__host__ __device__ int | dimTot () const |
![]() | |
__host__ __device__ int | dim () const |
__host__ __device__ bool | operator== (HilbertSpace const &other) const |
Private Attributes | |
int | m_momentum |
Additional Inherited Members | |
![]() | |
using | Matrix_t = SparseCompressed< Scalar > |
using | Matrix_t = Eigen::SparseMatrix< Scalar > |
![]() | |
TotalSpace | m_totalSpace |
Matrix_t | m_basisStates |
Translation invariant sector of a many-body Hilbert space.
Scalar_t | |
int | |
Matrix |
using TransSector< RealType >::TotalSpace = ManyBodySpinSpace |
__host__ __device__ TransSector< RealType >::TransSector | ( | int | k, |
ManyBodySpinSpace const & | mbHSpace | ||
) |
Construct a TransSector object from a ManyBodySpinSpace object.
k | |
mbHSpace |
|
inline |
Default constructor.
k | |
systemSize | |
dimLoc |
|
inline |
|
inline |
|
inline |
|
private |