SyTen
chem_helper.h File Reference

Helper function to translate sparse representation to syten MPO. More...

#include "inc/util/qc/mpo_tensor.h"
#include "inc/util/qc/typedefs.h"
#include "inc/dense/dense_operators.h"
#include "inc/tensor/tensor.h"
#include "inc/tensor/tensor_misc.h"
#include "inc/tensor/tensor_operators.h"
#include "inc/util/pair.h"
#include "inc/util/threads.h"
#include "lattice.h"
#include <vector>
+ Include dependency graph for chem_helper.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 syten
 Syten 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

Helper function to translate sparse representation to syten MPO.