ALPS MPS Codes
Reference documentation.
|
#include <mps.h>
Public Types | |
typedef std::size_t | size_t |
typedef data_t::size_type | size_type |
typedef data_t::value_type | value_type |
typedef data_t::iterator | iterator |
typedef data_t::const_iterator | const_iterator |
typedef MPSTensor< Matrix, SymmGroup >::scalar_type | scalar_type |
Public Member Functions | |
MPS () | |
MPS (size_t L) | |
MPS (size_t L, mps_initializer< Matrix, SymmGroup > &init) | |
size_t | size () const |
size_t | length () const |
Index< SymmGroup > const & | site_dim (size_t i) const |
Index< SymmGroup > const & | row_dim (size_t i) const |
Index< SymmGroup > const & | col_dim (size_t i) const |
value_type const & | operator[] (size_t i) const |
value_type & | operator[] (size_t i) |
void | resize (size_t L) |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | const_begin () const |
const_iterator | const_end () const |
iterator | begin () |
iterator | end () |
size_t | canonization (bool=false) const |
void | canonize (size_t center, DecompMethod method=DefaultSolver()) |
void | normalize_left () |
void | normalize_right () |
void | move_normalization_l2r (size_t p1, size_t p2, DecompMethod method=DefaultSolver()) |
void | move_normalization_r2l (size_t p1, size_t p2, DecompMethod method=DefaultSolver()) |
std::string | description () const |
template<class OtherMatrix > | |
truncation_results | grow_l2r_sweep (MPOTensor< Matrix, SymmGroup > const &mpo, Boundary< OtherMatrix, SymmGroup > const &left, Boundary< OtherMatrix, SymmGroup > const &right, std::size_t l, double alpha, double cutoff, std::size_t Mmax) |
template<class OtherMatrix > | |
truncation_results | grow_r2l_sweep (MPOTensor< Matrix, SymmGroup > const &mpo, Boundary< OtherMatrix, SymmGroup > const &left, Boundary< OtherMatrix, SymmGroup > const &right, std::size_t l, double alpha, double cutoff, std::size_t Mmax) |
Boundary< Matrix, SymmGroup > | left_boundary () const |
Boundary< Matrix, SymmGroup > | right_boundary () const |
void | apply (block_matrix< Matrix, SymmGroup > const &, size_type) |
void | apply (block_matrix< Matrix, SymmGroup > const &, block_matrix< Matrix, SymmGroup > const &, size_type) |
Friends | |
void | swap (MPS &a, MPS &b) |
typedef data_t::const_iterator MPS< Matrix, SymmGroup >::const_iterator |
typedef MPSTensor<Matrix, SymmGroup>::scalar_type MPS< Matrix, SymmGroup >::scalar_type |
typedef data_t::value_type MPS< Matrix, SymmGroup >::value_type |
MPS< Matrix, SymmGroup >::MPS | ( | size_t | L, |
mps_initializer< Matrix, SymmGroup > & | init | ||
) |
void MPS< Matrix, SymmGroup >::apply | ( | block_matrix< Matrix, SymmGroup > const & | , |
size_type | |||
) |
void MPS< Matrix, SymmGroup >::apply | ( | block_matrix< Matrix, SymmGroup > const & | , |
block_matrix< Matrix, SymmGroup > const & | , | ||
size_type | |||
) |
|
inline |
size_t MPS< Matrix, SymmGroup >::canonization | ( | bool | search = false | ) | const |
void MPS< Matrix, SymmGroup >::canonize | ( | std::size_t | center, |
DecompMethod | method = DefaultSolver() |
||
) |
Definition at line 147 of file mps.hpp.
|
inline |
|
inline |
std::string MPS< Matrix, SymmGroup >::description | ( | ) | const |
|
inline |
truncation_results MPS< Matrix, SymmGroup >::grow_l2r_sweep | ( | MPOTensor< Matrix, SymmGroup > const & | mpo, |
Boundary< OtherMatrix, SymmGroup > const & | left, | ||
Boundary< OtherMatrix, SymmGroup > const & | right, | ||
std::size_t | l, | ||
double | alpha, | ||
double | cutoff, | ||
std::size_t | Mmax | ||
) |
Definition at line 212 of file mps.hpp.
truncation_results MPS< Matrix, SymmGroup >::grow_r2l_sweep | ( | MPOTensor< Matrix, SymmGroup > const & | mpo, |
Boundary< OtherMatrix, SymmGroup > const & | left, | ||
Boundary< OtherMatrix, SymmGroup > const & | right, | ||
std::size_t | l, | ||
double | alpha, | ||
double | cutoff, | ||
std::size_t | Mmax | ||
) |
Definition at line 233 of file mps.hpp.
Boundary< Matrix, SymmGroup > MPS< Matrix, SymmGroup >::left_boundary | ( | ) | const |
Definition at line 253 of file mps.hpp.
void MPS< Matrix, SymmGroup >::move_normalization_l2r | ( | size_t | p1, |
size_t | p2, | ||
DecompMethod | method = DefaultSolver() |
||
) |
Definition at line 167 of file mps.hpp.
void MPS< Matrix, SymmGroup >::move_normalization_r2l | ( | size_t | p1, |
size_t | p2, | ||
DecompMethod | method = DefaultSolver() |
||
) |
Definition at line 190 of file mps.hpp.
void MPS< Matrix, SymmGroup >::normalize_left | ( | ) |
Definition at line 124 of file mps.hpp.
void MPS< Matrix, SymmGroup >::normalize_right | ( | ) |
Definition at line 134 of file mps.hpp.
MPS< Matrix, SymmGroup >::value_type const & MPS< Matrix, SymmGroup >::operator[] | ( | size_t | i | ) | const |
MPS< Matrix, SymmGroup >::value_type & MPS< Matrix, SymmGroup >::operator[] | ( | size_t | i | ) |
Boundary< Matrix, SymmGroup > MPS< Matrix, SymmGroup >::right_boundary | ( | ) | const |
Definition at line 266 of file mps.hpp.
|
friend |
Definition at line 105 of file mps.h.