Helper to variationally truncate a T3NS. More...
#include <var_trunc.h>
Collaboration diagram for syten::T3N::VarationalTrunc:Classes | |
| struct | Position |
| Positions of different objects. More... | |
Public Member Functions | |
| SRDef | run () |
| Does the truncation and returns the error. More... | |
| VarationalTrunc (State &psi, Truncation const &trunc, State::DropNorm const dropN) | |
| Constructor. More... | |
Private Types | |
| typedef syten::T3N::Tree::Tree< AsyncCached< STensor > > | Contraction |
| Containing the contractions. More... | |
Private Member Functions | |
| void | build_branchDescendantContr (LegType const direction) |
| Computes contraction towards direction. More... | |
| void | build_branchRootContr () |
| Branching contraction. More... | |
| void | build_descendantContr (LegType const direction) |
| Computes decendant contraction for given node. More... | |
| void | build_leftContr () |
| Physical contraction. More... | |
| void | build_physContr (LegType const comp) |
| Physical contraction. More... | |
| void | build_rightContr () |
| Physical contraction. More... | |
| void | build_rootContr () |
| Computes root contraction for given node. More... | |
| void | init_contr_rec () |
| Inititialises contractions tree to root node. More... | |
| void | update_2phys_branch_down () |
| Updates two physical nodes with a branching node in between. More... | |
| void | update_2phys_branch_right () |
| Updates two physical nodes with a branching node in between. More... | |
| void | update_2phys_branch_up () |
| Updates two physical nodes with a branching node in between. More... | |
| void | update_2phys_down () |
| Updates two neighbouring physical nodes. More... | |
| void | update_2phys_up () |
| Updates two neighbouring physical nodes. More... | |
| void | update_branching (LegType const direction) |
| Does not update but only normalises network. More... | |
| void | update_node (LegType const direction) |
| Updates the current node into the given direction. More... | |
| void | update_physical (LegType const direction) |
| Calls necessary functions. More... | |
| void | update_rec () |
| Initialises recursive updating. More... | |
Private Attributes | |
| Contraction | contr |
| The actual contractions. More... | |
| bool const | do_cache |
| Will cache if this is true. More... | |
| State::DropNorm const | drop |
| Drops norm. More... | |
| SRDef const | initial_norm |
| Initial norm. More... | |
| State const | input |
| Compressed state. More... | |
| Position | position |
| Current position. More... | |
| State & | state |
| The state to be truncated. More... | |
| Truncation | trunc |
| Truncation. More... | |
| SRDef | trunc_err = 0. |
| Truncation error during sweep. More... | |
Helper to variationally truncate a T3NS.