SyTen
syten::MPS::TDVP::Worker Class Reference

TDVP worker. More...

#include <tdvp.h>

+ Collaboration diagram for syten::MPS::TDVP::Worker:

Public Member Functions

void calcContrL (Index const where)
 Calculate the new left-contraction on the specified site. More...
 
void calcContrR (Index const where)
 Calculate the new right-contraction on the specified site. More...
 
bool checkSignals () const
 Return false if we must exit due to having received some signal. More...
 
IterativeExit evolveBond (Tensor< 2 > &bond, SDef const prefactor)
 Evolve on a bond, reads/writes to bond argument. More...
 
bool evolveSingle (Timer &timer, SRDef &trunc_error, SRDef &proj_error, SRDef &krylov_error)
 Run a full sweep (left-to-right + right-to-left) of single-site evolutions. More...
 
IterativeExit evolveSite (Index where, SDef const prefactor)
 Evolve a single site, reads/writes to psi directly. More...
 
IterativeExit evolveTwo (Tensor< 4 > &merged, SDef const prefactor, Index const lSite, Index const rSite)
 Evolve two sites, reads/writes to merged argument. More...
 
bool evolveTwoSite (Timer &timer, SRDef &trunc_error, SRDef &proj_error, SRDef &krylov_error)
 Run a full sweep (left-to-right and right-to-left) of two-site evolutions. More...
 
Conf const & get_conf () const
 Get const lvalue ref to internal config, used by Python module. More...
 
State const & get_psi () const
 Get const lvalue ref to internal state, used by Python module. More...
 
State && movePsi ()
 movePsi get access to state after the time evolution has finished; probably invalidates Worker More...
 
Tensor< 2 > normL (Index where)
 Left-normalise tensor on site where and return the left-over bit. More...
 
Tensor< 2 > normR (Index where)
 Right-normalise tensor on site where and return the left-over bit \( \Psi(\textrm{where}) \to U S \Psi(\textrm{where}) \). More...
 
void run (int argc, char **argv)
 Run TDVP. More...
 
 Worker ()=default
 Default ctor. More...
 
 Worker (Operator &&op_, State &&psi_, Conf &&conf_)
 Standard ctor. More...
 

Private Attributes

Conf conf
 configuration More...
 
std::vector< AsyncCached< Tensor< 3 > > > contrL
 contractions of op and state to the left of the current site More...
 
std::vector< AsyncCached< Tensor< 3 > > > contrR
 contractions of op and state to the right of the currens site More...
 
Operator op
 Operator H in exp(-i dt H) More...
 
State psi
 current state More...
 

Detailed Description

TDVP worker.


The documentation for this class was generated from the following files: