A class which does an entanglement based reordering. More...
#include <reordering.h>
Public Member Functions | |
Index | distance (Index const i, Index const j) |
Distance between physical nodes. More... | |
Vec< Index > | getOptimalOrder () |
Returns optimal order. More... | |
void | reorder () |
Do the actual reordering. More... | |
Reordering (State &state_, Vec< Operator > &hamiltonians_, TrafoConf const &conf_, Truncation truncation_=Truncation()) | |
Constructor. More... | |
void | transform (Vec< DenseTensor< 2 > > &Us) const |
Transforms the Us for rotating the creators & annihilators. More... | |
void | transform (Vec< Operator > &obs) const |
Rotates observables. More... | |
void | weightCenter () |
Weight centering. More... | |
void | weightCenteredOrder () |
Shift the weight to the center. More... | |
Private Attributes | |
TrafoConf const & | conf |
Contains all parameters. More... | |
DenseTensor< 2, SRDef > | distance_matrix |
Distance matrix. More... | |
Vec< Operator > & | hs |
The Hamiltonians. More... | |
DenseTensor< 2, SRDef > | I |
Mututal information matrix. More... | |
std::map< Vec< Index >, Index, InverseMapSorter > | inverse_map |
Inverse map. More... | |
std::map< Index, Tree::Position > | map |
Mapping. More... | |
Vec< Index > | optimal_order |
Optimal order. More... | |
Index | size |
Systemsize. More... | |
State & | state |
The state. More... | |
Truncation | truncation |
State truncation. More... | |
A class which does an entanglement based reordering.