ALPS MPS Codes
Reference documentation.
|
#include "dmrg/mp_tensors/mps.h"
#include "dmrg/mp_tensors/mpo.h"
#include "dmrg/mp_tensors/special_mpos.h"
#include "dmrg/mp_tensors/contractions.h"
#include "dmrg/utils/utils.hpp"
#include "utils/traits.hpp"
Go to the source code of this file.
Typedefs | |
typedef std::vector< std::pair < std::vector< std::string > , std::vector< double > > > | entanglement_spectrum_type |
Functions | |
template<class Matrix , class SymmGroup > | |
std::vector< Boundary< Matrix, SymmGroup > > | left_mpo_overlaps (MPS< Matrix, SymmGroup > const &mps, MPO< Matrix, SymmGroup > const &mpo) |
template<class Matrix , class SymmGroup > | |
std::vector< Boundary< Matrix, SymmGroup > > | right_mpo_overlaps (MPS< Matrix, SymmGroup > const &mps, MPO< Matrix, SymmGroup > const &mpo) |
template<class Matrix , class SymmGroup > | |
double | expval (MPS< Matrix, SymmGroup > const &mps, MPO< Matrix, SymmGroup > const &mpo, int d) |
template<class Matrix , class SymmGroup > | |
double | expval (MPS< Matrix, SymmGroup > const &mps, MPO< Matrix, SymmGroup > const &mpo, bool verbose=false) |
template<class Matrix , class SymmGroup > | |
std::vector< typename MPS < Matrix, SymmGroup > ::scalar_type > | multi_expval (MPS< Matrix, SymmGroup > const &mps, MPO< Matrix, SymmGroup > const &mpo) |
template<class Matrix , class SymmGroup > | |
MPS< Matrix, SymmGroup > ::scalar_type | norm (MPS< Matrix, SymmGroup > const &mps) |
template<class Matrix , class SymmGroup > | |
MPS< Matrix, SymmGroup > ::scalar_type | overlap (MPS< Matrix, SymmGroup > const &mps1, MPS< Matrix, SymmGroup > const &mps2) |
template<class Matrix , class SymmGroup > | |
std::vector< typename MPS < Matrix, SymmGroup > ::scalar_type > | multi_overlap (MPS< Matrix, SymmGroup > const &mps1, MPS< Matrix, SymmGroup > const &mps2) |
template<class Matrix , class SymmGroup > | |
std::vector< double > | calculate_bond_renyi_entropies (MPS< Matrix, SymmGroup > &mps, double n, std::vector< int > *measure_es_where=NULL, entanglement_spectrum_type *spectra=NULL) |
template<class Matrix , class SymmGroup > | |
std::vector< double > | calculate_bond_entropies (MPS< Matrix, SymmGroup > &mps) |
template<class Matrix , class SymmGroup > | |
MPS< Matrix, SymmGroup > ::scalar_type | dm_trace (MPS< Matrix, SymmGroup > const &mps, Index< SymmGroup > const &phys_psi) |
template<class Matrix , class SymmGroup > | |
void | fix_density (MPS< Matrix, SymmGroup > &mps, std::vector< block_matrix< Matrix, SymmGroup > > const &dens_ops, std::vector< std::vector< double > > const &dens) |
typedef std::vector< std::pair<std::vector<std::string>, std::vector<double> > > entanglement_spectrum_type |
Definition at line 183 of file mps_mpo_ops.h.
std::vector<double> calculate_bond_entropies | ( | MPS< Matrix, SymmGroup > & | mps | ) |
Definition at line 252 of file mps_mpo_ops.h.
std::vector<double> calculate_bond_renyi_entropies | ( | MPS< Matrix, SymmGroup > & | mps, |
double | n, | ||
std::vector< int > * | measure_es_where = NULL , |
||
entanglement_spectrum_type * | spectra = NULL |
||
) |
Definition at line 186 of file mps_mpo_ops.h.
MPS<Matrix, SymmGroup>::scalar_type dm_trace | ( | MPS< Matrix, SymmGroup > const & | mps, |
Index< SymmGroup > const & | phys_psi | ||
) |
Definition at line 258 of file mps_mpo_ops.h.
double expval | ( | MPS< Matrix, SymmGroup > const & | mps, |
MPO< Matrix, SymmGroup > const & | mpo, | ||
int | d | ||
) |
Definition at line 72 of file mps_mpo_ops.h.
double expval | ( | MPS< Matrix, SymmGroup > const & | mps, |
MPO< Matrix, SymmGroup > const & | mpo, | ||
bool | verbose = false |
||
) |
Definition at line 86 of file mps_mpo_ops.h.
void fix_density | ( | MPS< Matrix, SymmGroup > & | mps, |
std::vector< block_matrix< Matrix, SymmGroup > > const & | dens_ops, | ||
std::vector< std::vector< double > > const & | dens | ||
) |
Definition at line 291 of file mps_mpo_ops.h.
std::vector<Boundary<Matrix, SymmGroup> > left_mpo_overlaps | ( | MPS< Matrix, SymmGroup > const & | mps, |
MPO< Matrix, SymmGroup > const & | mpo | ||
) |
Definition at line 41 of file mps_mpo_ops.h.
std::vector<typename MPS<Matrix, SymmGroup>::scalar_type> multi_expval | ( | MPS< Matrix, SymmGroup > const & | mps, |
MPO< Matrix, SymmGroup > const & | mpo | ||
) |
Definition at line 104 of file mps_mpo_ops.h.
std::vector<typename MPS<Matrix, SymmGroup>::scalar_type> multi_overlap | ( | MPS< Matrix, SymmGroup > const & | mps1, |
MPS< Matrix, SymmGroup > const & | mps2 | ||
) |
Definition at line 154 of file mps_mpo_ops.h.
MPS<Matrix, SymmGroup>::scalar_type norm | ( | MPS< Matrix, SymmGroup > const & | mps | ) |
Definition at line 120 of file mps_mpo_ops.h.
MPS<Matrix, SymmGroup>::scalar_type overlap | ( | MPS< Matrix, SymmGroup > const & | mps1, |
MPS< Matrix, SymmGroup > const & | mps2 | ||
) |
Definition at line 136 of file mps_mpo_ops.h.
std::vector<Boundary<Matrix, SymmGroup> > right_mpo_overlaps | ( | MPS< Matrix, SymmGroup > const & | mps, |
MPO< Matrix, SymmGroup > const & | mpo | ||
) |
Definition at line 57 of file mps_mpo_ops.h.