SyTen
syten::DMRG::DMRGConfig Struct Reference

Configuration for an entire DMRG run. More...

#include <dmrg.h>

+ Collaboration diagram for syten::DMRG::DMRGConfig:

Public Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int in_version)
 Serialise DMRG configuration to/from a boost archive. More...
 

Public Attributes

SRDef alpha = 1
 current mixing factor More...
 
bool cache = false
 whether to use the HDD cache More...
 
bool complete_l0_contraction = false
 Whether to construct a complete left L_0 contraction. More...
 
ContractSeq contract_seq = ContractSeq::Default
 contraction sequence More...
 
Index currentStage = 0
 current stage in vector of stages More...
 
Index currentSweepsPerStage = 0
 sweeps spent on current stage (excluding current sweep) More...
 
SRDef lastEnergy = NAN
 last energy calculated at end of last iteration More...
 
LBOContractSeq lbo_contract_seq = LBOContractSeq::Default
 lbo contraction sequence More...
 
bool leaveStage = false
 Whether to leave PDMRG::run() after every stage, useful for Python. More...
 
bool log = true
 whether to create permanent log files More...
 
Index numWorkers = 1
 number of workers employed in total More...
 
std::string prefix
 output prefix More...
 
std::vector< Indexskip_sites
 sites to skip during the optimisation. More...
 
std::vector< DMRGStagestages
 staging configuration More...
 
std::string state_filename
 filename in which to save all states saved during the sweep More...
 
SRDef sweepInitialEnergy = NAN
 energy at beginning of this sweep More...
 
SRDef sweepLastInitialEnergy = NAN
 energy at beginning of previous sweep More...
 
SRDef sweepMaxTruncation = 0
 maximal truncation error seen during this sweep (2DMRG only) More...
 
SRDef sweepMinEnergy = 1./0.
 minimal energy seen at beginning of this sweep (2DMRG only) More...
 
Index worker = 0
 segment id of this worker More...
 

Static Public Attributes

static constexpr unsigned int version = 6
 Bump this if the above changes. More...
 

Detailed Description

Configuration for an entire DMRG run.


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