GraceQ/MPS2
A high-performance matrix product state algorithms library based on GraceQ/tensor
|
Vector of the local Hilbert spaces of the system. More...
#include <site_vec.h>
Public Types | |
using | TenT = GQTensor< TenElemT, QNT > |
Public Member Functions | |
SiteVec (const size_t N, const Index< QNT > &local_hilbert_space) | |
Create a system with N identical sites. More... | |
SiteVec (const IndexVec< QNT > &local_hilbert_spaces) | |
Create a sites vector using a vector of arbitrary Indexes. More... | |
SiteVec (const SiteVec &site_vec) | |
The copy constructor. More... | |
SiteVec< TenElemT, QNT > & | operator= (const SiteVec &rhs) |
Copy a SiteVec. More... | |
Public Attributes | |
size_t | size |
The size of the SiteVec, i.e. the size of the system. | |
IndexVec< QNT > | sites |
Local Hilbert spaces represented by a vector of Index with OUT direction. | |
std::vector< TenT > | id_ops |
Identity operators on each site. | |
Vector of the local Hilbert spaces of the system.
TenT | The type of tensor used in the system. |
|
inline |
Create a system with N identical sites.
N | Total number of sites (> 0) of the system. |
local_hilbert_space | Local (on-site) Hilbert space represented by a Index. |
|
inline |
Create a sites vector using a vector of arbitrary Indexes.
local_hilbert_spaces | Local (on-site) Hilbert spaces on the each site. |
|
inline |
|
inline |