The helper class for the construction of the one particle reduced density matrix. More...
#include <rdm.h>
Public Types | |
typedef std::vector< std::array< std::string, 2 > > | SSOList |
The type containing a list of SSOs. More... | |
Public Member Functions | |
void | construct () |
Actually constructs the RDM. More... | |
DenseTensor< 2, SDef > const & | getRDM (Index const which) const |
Returns a reference to a requested RDM. More... | |
DenseTensor< 2, SDef > | moveRDM (Index const which) |
Returns the RDM as rvalue. More... | |
std::vector< DenseTensor< 2, SDef > > | moveRDMs () |
Returns the RDMs as rvalue. More... | |
OneParticleRDM (State &psi_, Lattice const &lat, SSOList const &opPairs) | |
Constructor taking an MPS, a lattice and some operators and storing everything. More... | |
DenseTensor< 2, SDef > | sumOverSpins () const |
Takes the full RDM and sums over the spins. More... | |
Public Member Functions inherited from syten::MPS::RDMs::RDM | |
virtual void | construct ()=0 |
Every RDM needs to specify how it's constructed. More... | |
RDM (State &psi_) | |
Constructor. More... | |
Private Attributes | |
Lattice const & | lat |
The lattice. More... | |
Index const | numberOfRDMs |
Number of RDMs stored locally. More... | |
Vec< DenseTensor< 2, SDef > > | rdms |
The actual RDMs. More... | |
SSOList | ssoList |
A copy of the single site tensors. More... | |
Additional Inherited Members | |
Public Attributes inherited from syten::MPS::RDMs::RDM | |
bool | verbose_output = true |
Print the progress or not. More... | |
Protected Attributes inherited from syten::MPS::RDMs::RDM | |
State & | psi |
The state. More... | |
Index const | size |
Total size of the system, stored locally. More... | |
The helper class for the construction of the one particle reduced density matrix.