SyTen
chem_helper.cpp File Reference

Implementation of inc/mps/chem_helper.h. More...

#include "chem_helper.h"
#include "inc/mps/operator.h"
#include "inc/tensor/tensor_gen.h"
#include "inc/tensor/tensor_misc.h"
#include "inc/tensor/tensor_operators.h"
#include "lat/mps/fermion.h"
#include <omp.h>
+ Include dependency graph for chem_helper.cpp:

Namespaces

namespace  syten
 Syten namespace.
 
namespace  syten::MPS
 The namespace containing all MPS-related tools, classes and objects.
 

Functions

Tensor< 4 > syten::MPS::ChemHelper::adaptSSOBases (QCDMRG::sso_scale_t const &sso_scale, std::vector< std::string > const &sso_labels, Lattice const &lat)
 Transforms the SSO to have the correct virtual bases. More...
 
Tensor< 4 > syten::MPS::ChemHelper::createLeftDotSSO (Basis const &rightSSOLeftLeg, Tensor< 4 > const &leftSSO, bool const rightOpNumberOdd, Sector const &target)
 
Tensor< 4 > syten::MPS::ChemHelper::createLeftSSO (Basis const &rightSSOLeftLeg, Tensor< 4 > const &leftSSO, bool rightOpNumberOdd)
 Creates a left SSO. More...
 
Tensor< 4 > syten::MPS::ChemHelper::genMPO (QCDMRG::mpo_tensor const &desc, std::vector< std::string > const &sso_labels, Lattice const &lat)
 Construct the real MPO tensor using the description given by QCDMRG toolkit. More...
 
Basis syten::MPS::ChemHelper::leftBasis (Basis const &siteSSOLeftBasis, Basis const &rightSSOLeftBasis)
 Return the left basis of an SSO with an SSO to the right. More...
 
Vec< Sector > syten::MPS::ChemHelper::leftSectors (QCDMRG::mpo_tensor const &desc, std::vector< std::string > const &sso_labels, Lattice const &lat)
 Creates a list of all left Sectors of an MPO. More...
 
Tensor< 4 > syten::MPS::ChemHelper::tensorElem (QCDMRG::tensor_elem_t const &desc, std::vector< std::string > const &sso_labels, Lattice const &lat)
 Construct the real MPO tensor element with the element description. More...
 

Detailed Description

Implementation of inc/mps/chem_helper.h.