28 #ifndef TWOSITETENSOR_H
29 #define TWOSITETENSOR_H
43 template<
class Matrix,
class SymmGroup>
63 template<
class Matrix_,
class SymmGroup_>
64 friend std::ostream& operator<<(std::ostream&, TwoSiteTensor<Matrix_, SymmGroup_>
const &);
87 template<
class Archive>
void load(Archive & ar);
88 template<
class Archive>
void save(Archive & ar)
const;
Index< SymmGroup > const & site_dim() const
definition of the TwoSiteTensor class
void swap_with(TwoSiteTensor &b)
Index< SymmGroup > const & row_dim() const
MPSTensor< Matrix, SymmGroup > make_mps() const
void save(Archive &ar) const
declaration of block_matrix class
void make_right_paired() const
block_matrix< Matrix, SymmGroup > & data()
MultiIndex< SymmGroup >::set_id set_id
TwoSiteTensor(MPSTensor< Matrix, SymmGroup > const &mps1, MPSTensor< Matrix, SymmGroup > const &mps2)
include one of the Index class definitions
void make_left_paired() const
Index< SymmGroup > const & col_dim() const
MultiIndex< SymmGroup >::index_id index_id
declaration of the MPSTensor class
functions to operate on TwoSiteTensor
boost::tuple< MPSTensor< Matrix, SymmGroup >, MPSTensor< Matrix, SymmGroup >, truncation_results > split_mps_l2r(std::size_t Mmax, double cutoff) const
declaration of MPOTensor object
algorithms for block_matrix (gemm, svd, etc.)
friend void swap(TwoSiteTensor &a, TwoSiteTensor &b)
boost::tuple< MPSTensor< Matrix, SymmGroup >, MPSTensor< Matrix, SymmGroup >, truncation_results > split_mps_r2l(std::size_t Mmax, double cutoff) const
void make_both_paired() const