It is n ot a question of finding the ground state, which the code does, but the real question is that you have to find out is what model that other code implemented. After that you can code the same model in ALPS and we can help you with that.



On 28 Sep 2014, at 20:26, hamid mosadegh <hamid.mosadegh@gmail.com> wrote:

Thanks for your attention.

I try to find the local density of fermions in the ground state of the extended Hubbard model using DMRG with OBC
for L=40 , U=0 and V=4 ( density.txt file) but the  local density in the ground state must be as localdens.dat file (calculated using the other code). I think that a potential on boundary must be added to evaluate local density in the ground state with OBC.



On Sun, Sep 28, 2014 at 6:26 PM, Matthias Troyer <troyer@phys.ethz.ch> wrote:
Why would you like to add that?

I don't understand that you need to add a term to find the ground state, since you will find the ground state of whatever model you put in.

On 27 Sep 2014, at 21:22, hamid mosadegh <hamid.mosadegh@gmail.com> wrote:

> Dear all
>
> It seems that we must put a potential on boundary to obtain the ground state using DMRG.
> How i can add a term as V/2*(n(1)+n(L)) to fermion model in models.xml
>
> Thanks
>
>
>
> --
> H. Mosadeq
> Shahr-e-Kord University (SKU),
> Shahr-e-Kord , Iran
>




--
H. Mosadeq
Shahr-e-Kord University (SKU),
Shahr-e-Kord , Iran

<n_U0V4><localdens.dat>