template<class Block, class Hamiltonian>
PetscErrorCode DMRGBlockContainer< Block, Hamiltonian >::SingleDMRGStep ( Block &  SysBlock,
Block &  EnvBlock,
const PetscInt &  MStates,
Block &  SysBlockOut,
Block &  EnvBlockOut,
PetscBool  do_measurements = PETSC_FALSE 
)
inlineprivate

Performs a single DMRG iteration taking in a system and environment block, adding one site to each and performing a truncation to at most MStates.

Parameters
SysBlockthe old system (left) block
EnvBlockthe old environment (right) block
MStatesthe maximum number of states to keep
SysBlockOutthe new system (left) block
EnvBlockOutthe new environment (right) block
do_measurementswhether to do measurements for this step

Definition at line 1304 of file DMRGBlockContainer.hpp.

This site was generated by Sphinx using Doxygen with a customized theme from doxygen-bootstrapped.