Helper object to construct PP Lattice. More...
#include <proj_purification.h>
Public Member Functions | |
Lattice const & | operator() () const |
Returns purified lattice. More... | |
Purifier (Lattice const &lat_, std::vector< Index > const &purify_types_, bool const insert_branch_, std::vector< std::string > const &ca_ops_={}) | |
Construct. More... | |
Private Member Functions | |
void | construct_purified_pair (Lattice::Types::Ptr &n, Lattice::Types::cPtrc o) |
Copies node and puts bath node in place. More... | |
void | purify_types_rec (Lattice::Types::Ptr n, Lattice::Types::cPtrc o) |
Recursive helper function. More... | |
Private Attributes | |
std::set< Index > | bath_types |
List of all bath types. More... | |
Vec< std::string > const | ca_ops |
Balancing operators. More... | |
bool const | insert_branch |
Insert a branching node between the physical and the bath site. More... | |
Lattice | l |
Purified lattice. More... | |
Lattice const & | lat |
Lattice. More... | |
std::vector< Index > | new_pos |
Positions in the different trees. More... | |
std::vector< Index > | old_pos |
std::map< Index, Index > | purified_bath_types |
List of all physicals which have already been purified. More... | |
std::set< Index > | purify_types |
Sites with this type will be purified. More... | |
std::vector< Basis > | siteBases |
All bases. More... | |
Lattice::Types | siteTypes |
The new topology to be constructed. More... | |
Lattice::Types | topo |
Old topology. More... | |
Helper object to construct PP Lattice.