https://github.com/entron/snake-dmrg
Raw File
Tip revision: 5581575de60596a13ea45e4ac96e981b761d95c0 authored by Cheng Guo on 18 March 2015, 18:47:37 UTC
Update README.md
Tip revision: 5581575
dmrg.h
#ifndef DMRG_H
#define DMRG_H

#include "SuperChain.h"

namespace snake
{

namespace physics
{

class DMRG{
public:
    DMRG();
    ~DMRG();
    void mkdir();
    /// Caculate the average value of onsite operator;
    void CalN();

protected:
    int m_NewLeftL;
    int m_NewRightL;
    std::vector<snake::math::GQN> m_TargetGQN;
    int m_ChainLength;
    int m_KeptStatesNum;
    SuperChain *m_SuperChain;
};

}
}
#endif
back to top