The helper class for construction of the one orbital reduced density matrix. More...
#include <rdm.h>
Inheritance diagram for syten::T3N::RDMs::OrbRDM:
Collaboration diagram for syten::T3N::RDMs::OrbRDM:Public Member Functions | |
| void | construct () |
| Actually constructs the RDM. More... | |
| void | construct (Tree::Position const i, Tree::Position const j) |
| Only construct one RDM. More... | |
| STensor const & | getRDM () const & |
| Return a reference to the first RDM. More... | |
| STensor const & | getRDM (Index const i) const & |
| Return a reference to a requested RDM. More... | |
| STensor const & | getRDM (Index const i, Index const j) const & |
| Return a reference to a requested RDM. More... | |
| STensor | moveRDM () |
| Returns the RDM as rvalue. More... | |
| STensor | moveRDM (Index const i) |
| Returns the RDM as rvalue. More... | |
| STensor | moveRDM (Index const i, Index const j) |
| Returns the RDM as rvalue. More... | |
| OrbRDM (State &psi_) | |
| Constructor. More... | |
| OrbRDM (State &psi_, std::vector< Index > const &sites_) | |
| Constructor. More... | |
Public Member Functions inherited from syten::T3N::RDMs::RDM | |
| virtual void | construct ()=0 |
| Every RDM needs to specify how it's constructed. More... | |
| auto const & | getInverseMap () const |
| Get access to the reversed ordering. More... | |
| auto const & | getMap () const |
| Get access to the ordering. More... | |
| RDM (State &psi_) | |
| Constructor. More... | |
Static Public Member Functions | |
| static STensor | contract_locals (T3NTensor const &site) |
| Construct helper function, which actually glues together the tensor for 1rdm. More... | |
| static STensor | contract_locals (Vec< State::cPtr > const &sites, Vec< LegType > const &path) |
| Construct helper function, which actually glues together the tensor for 2rdm. More... | |
Private Member Functions | |
| STensor & | element () |
| Non-const overload. More... | |
| STensor const & | element () const |
| Returns the first element. More... | |
| STensor & | element (Index const i, Index const j) |
| Non-const overload. More... | |
| STensor const & | element (Index const i, Index const j) const |
| Returns the vector index for given site indices. More... | |
| void | twoSite_rec (Tree::Position const &second_pos) |
| Recursive helper function. More... | |
| void | twoSiteRight_rec (Tree::Position const &second_pos, LegType const cameFrom) |
| Recursive helper function. More... | |
Static Private Member Functions | |
| static void | checkValidity (STensor const &t) |
| Checks that argument is a valid density matrix. More... | |
Private Attributes | |
| STensor | contr |
| Stores the contractions. More... | |
| Vec< STensor > | rdms |
| The actual RDMs. More... | |
Additional Inherited Members | |
Public Attributes inherited from syten::T3N::RDMs::RDM | |
| Index const | branching_size |
| Index const | physical_size |
| Index const | total_size |
| Total size of the system, stored locally. More... | |
| bool | verbose_output = true |
| Print the progress or not. More... | |
Protected Member Functions inherited from syten::T3N::RDMs::RDM | |
| void | init_map_rec (State::cPtrc ptr, Tree::Position &pos_, Index &counter) |
| Initialises the mappings recursively. More... | |
Protected Attributes inherited from syten::T3N::RDMs::RDM | |
| std::map< Vec< Index >, Index > | inverse_map |
| Inverse mapping. More... | |
| std::map< Index, Vec< Index > > | map |
| Mapping. More... | |
| State::Ptr | node |
| Position as Ptr. More... | |
| Tree::Position | pos |
| Position as vector. More... | |
| State & | psi |
| The state. More... | |
The helper class for construction of the one orbital reduced density matrix.