Represents the full CTM surrounding the entire unit cell. More...
#include <ctm.h>
Public Member Functions | |
MemoryUsage::MemorySize | allocSize () const |
MemoryUsage support. More... | |
Tensor< 2 > & | blc () |
returns bottom left corner tensor More... | |
Tensor< 2 > const & | blc () const |
returns bottom left corner tensor More... | |
Vec< Cached< Tensor< 3 > > > & | br () |
vector of bottom rung tensors More... | |
Vec< Cached< Tensor< 3 > > > const & | br () const |
vector of bottom rung tensors More... | |
Tensor< 3 > & | br (int i) |
tensor on bottom rung, indexed from left, -1: last tensor More... | |
Tensor< 3 > const & | br (int i) const |
tensor on bottom rung, indexed from left, -1: last tensor More... | |
Vec< Basis > & | brb () |
vector of bottom rung single-layer bases More... | |
Vec< Basis > const & | brb () const |
vector of bottom rung single-layer bases More... | |
Basis & | brb (int i) |
single-layer bassis used to construct the fused double-layer basis of the bottom rung tensor on position i More... | |
Basis const & | brb (int i) const |
single-layer bassis used to construct the fused double-layer basis of the bottom rung tensor on position i More... | |
Tensor< 2 > & | brc () |
returns bottom right corner tensor More... | |
Tensor< 2 > const & | brc () const |
returns bottom right corner tensor More... | |
Index | getMaxBlocksize () const |
Returns the maximal block size in the CTM (along the outer ring, i.e. More... | |
Index | getMaxStates () const |
Returns the maximal reduced bond dimension in the CTM (along the outer ring, i.e. More... | |
Index | getMaxTotalStates () const |
Returns the maximal total bond dimension in the CTM (along the outer ring, i.e. More... | |
void | grow (State const &psi, Truncation const trunc) |
Grows the CTM in each direction once. More... | |
void | grow_b (State const &psi, Truncation const trunc) |
Grows the CTM to the bottom/forwards, including an entire unit cell. More... | |
void | grow_l (State const &psi, Truncation const trunc) |
Grows the CTM to the left, including an entire unit cell. More... | |
void | grow_r (State const &psi, Truncation const trunc) |
Grows the CTM to the right, including an entire unit cell. More... | |
void | grow_t (State const &psi, Truncation const trunc) |
Grows the CTM to the top/backwards, including an entire unit cell. More... | |
SDef | hnorm () const |
Calculates the "horizontal" norm of the CTM obtained by contracting top and bottom rung. More... | |
void | init (State const &psi) |
Initialises the CTM by placing a chain of state tensors connected over the outer indices. More... | |
void | init_vac (State const &psi) |
Initialises the CTM by placing a series of identities (χ=1). More... | |
Vec< Cached< Tensor< 3 > > > & | lr () |
vector of left rung tensors More... | |
Vec< Cached< Tensor< 3 > > > const & | lr () const |
vector of left rung tensors More... | |
Tensor< 3 > & | lr (int i) |
tensor on left rung, indexed from bottom, -1: last tensor More... | |
Tensor< 3 > const & | lr (int i) const |
tensor on left rung, indexed from bottom, -1: last tensor More... | |
Vec< Basis > & | lrb () |
vector of left rung single-layer bases More... | |
Vec< Basis > const & | lrb () const |
vector of left rung single-layer bases More... | |
Basis & | lrb (int i) |
single-layer bassis used to construct the fused double-layer basis of the left rung tensor on position i More... | |
Basis const & | lrb (int i) const |
single-layer bassis used to construct the fused double-layer basis of the left rung tensor on position i More... | |
Vec< Cached< Tensor< 3 > > > & | rr () |
vector of right rung tensors More... | |
Vec< Cached< Tensor< 3 > > > const & | rr () const |
vector of right rung tensors More... | |
Tensor< 3 > & | rr (int i) |
tensor on right rung, indexed from bottom, -1: last tensor More... | |
Tensor< 3 > const & | rr (int i) const |
tensor on right rung, indexed from bottom, -1: last tensor More... | |
Vec< Basis > & | rrb () |
vector of right rung single-layer bases More... | |
Vec< Basis > const & | rrb () const |
vector of right rung single-layer bases More... | |
Basis & | rrb (int i) |
single-layer bassis used to construct the fused double-layer basis of the right rung tensor on position i More... | |
Basis const & | rrb (int i) const |
single-layer bassis used to construct the fused double-layer basis of the right rung tensor on position i More... | |
template<typename Archive > | |
void | serialize (Archive &ar, const unsigned int in_version) |
Boost serialisation. More... | |
Tensor< 2 > & | tlc () |
returns top-left corner tensor More... | |
Tensor< 2 > const & | tlc () const |
returns top-left corner tensor More... | |
Vec< Cached< Tensor< 3 > > > & | tr () |
vector of top rung tensors More... | |
Vec< Cached< Tensor< 3 > > > const & | tr () const |
vector of top rung tensors More... | |
Tensor< 3 > & | tr (int i) |
tensor on top rung, indexed from left, -1: last tensor More... | |
Tensor< 3 > const & | tr (int i) const |
tensor on top rung, indexed from left, -1: last tensor More... | |
Vec< Basis > & | trb () |
vector of top rung single-layer bases More... | |
Vec< Basis > const & | trb () const |
vector of top rung single-layer bases More... | |
Basis & | trb (int i) |
single-layer bassis used to construct the fused double-layer basis of the top rung tensor on position i More... | |
Basis const & | trb (int i) const |
single-layer bassis used to construct the fused double-layer basis of the top rung tensor on position i More... | |
Tensor< 2 > & | trc () |
returns top-right corner tensor More... | |
Tensor< 2 > const & | trc () const |
returns top-right corner tensor More... | |
SDef | vnorm () const |
Calculates the "vertical" norm of the CTM obtained by contracting left and right rung. More... | |
Public Attributes | |
Cached< Tensor< 2 > > | bot_left |
bottom left corner More... | |
Cached< Tensor< 2 > > | bot_right |
bottom right corner More... | |
Vec< Cached< Tensor< 3 > > > | brung |
bottom rung, indexed right-to-left More... | |
Vec< Basis > | brungb |
single-layer bases which were fused into the double-layer merged legs on the bottom rung More... | |
int | depth {0} |
depth of the unit cell. More... | |
Vec< Cached< Tensor< 3 > > > | lrung |
left rung, indexed bottom-to-top More... | |
Vec< Basis > | lrungb |
single-layer bases which were fused into the double-layer merged legs on the left rung More... | |
Vec< Cached< Tensor< 3 > > > | rrung |
right rung, indexed bottom-to-top More... | |
Vec< Basis > | rrungb |
single-layer bases which were fused into the double-layer merged legs on the right rung More... | |
Cached< Tensor< 2 > > | top_left |
top left corner More... | |
Cached< Tensor< 2 > > | top_right |
top right corner More... | |
Vec< Cached< Tensor< 3 > > > | trung |
top rung, indexed left-to-right More... | |
Vec< Basis > | trungb |
single-layer bases which were fused into the double-layer merged legs on the top rung More... | |
int | width {0} |
width of the unit cell. More... | |
Static Public Attributes | |
static constexpr int | version {1} |
version for boost serialisation More... | |
Represents the full CTM surrounding the entire unit cell.