template<class Block, class Hamiltonian>
PetscErrorCode DMRGBlockContainer< Block, Hamiltonian >::GetTruncation ( const KronBlocks_t KronBlocks,
const Vec &  gsv_r,
const PetscInt &  MStates,
BasisTransformation BT_L,
BasisTransformation BT_R 
)
inlineprivate

Obtain the rotation matrix for the truncation step from the ground state vector.

Parameters
KronBlocksContext for quantum numbers aware Kronecker product
gsv_rReal part of the superblock ground state vector
MStatesthe maximum number of states to keep
BT_Lbasis transformation context for the system (left) block
BT_Rbasis transformation context for the environment (right) block

Definition at line 1656 of file DMRGBlockContainer.hpp.

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