ALPS MPS Codes
Reference documentation.
|
#include "dmrg/models/model.h"
#include "dmrg/models/lattice.h"
#include "utils/traits.hpp"
#include "dmrg/block_matrix/block_matrix.h"
#include "dmrg/block_matrix/multi_index.h"
#include "dmrg/mp_tensors/reshapes.h"
#include "dmrg/mp_tensors/mpo_manip.h"
#include "dmrg/mp_tensors/compression.h"
#include "dmrg/models/generate_mpo/utils.hpp"
#include <vector>
#include <set>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | exp_mpo_maker< Matrix, SymmGroup > |
Functions | |
template<typename T > | |
std::vector< std::vector < term_descriptor< T > > > | separate_hamil_terms (std::vector< term_descriptor< T > > const &hamil_terms) |
template<class Matrix , class SymmGroup > | |
block_matrix< Matrix, SymmGroup > | term2block (typename Matrix::value_type const &scale, block_matrix< Matrix, SymmGroup > const &op1, Index< SymmGroup > const &phys1_i, block_matrix< Matrix, SymmGroup > const &op2, Index< SymmGroup > const &phys2_i) |
template<class Matrix , class SymmGroup > | |
std::vector< block_matrix < Matrix, SymmGroup > > | hamil_to_blocks (Lattice const &lat, Model< Matrix, SymmGroup > const &model) |
template<class Matrix , class SymmGroup > | |
MPO< Matrix, SymmGroup > | make_exp_mpo (Lattice const &lat, Model< Matrix, SymmGroup > const &model, std::vector< term_descriptor< typename Matrix::value_type > > const &hamil_terms, typename Matrix::value_type const &alpha=1) |
std::vector<block_matrix<Matrix, SymmGroup> > hamil_to_blocks | ( | Lattice const & | lat, |
Model< Matrix, SymmGroup > const & | model | ||
) |
Definition at line 130 of file te_utils.hpp.
MPO<Matrix, SymmGroup> make_exp_mpo | ( | Lattice const & | lat, |
Model< Matrix, SymmGroup > const & | model, | ||
std::vector< term_descriptor< typename Matrix::value_type > > const & | hamil_terms, | ||
typename Matrix::value_type const & | alpha = 1 |
||
) |
Definition at line 331 of file te_utils.hpp.
std::vector<std::vector<term_descriptor<T> > > separate_hamil_terms | ( | std::vector< term_descriptor< T > > const & | hamil_terms | ) |
Definition at line 49 of file te_utils.hpp.
block_matrix<Matrix, SymmGroup> term2block | ( | typename Matrix::value_type const & | scale, |
block_matrix< Matrix, SymmGroup > const & | op1, | ||
Index< SymmGroup > const & | phys1_i, | ||
block_matrix< Matrix, SymmGroup > const & | op2, | ||
Index< SymmGroup > const & | phys2_i | ||
) |
Definition at line 119 of file te_utils.hpp.