Hi,Matthias

I mean if I want to program myself, but not using ALPS, is there a general way to realize the conservation of particle number?  (For I find this function in ALPS is really easy to use, so I am wondering how you guys program it. But, what I really need is a workable and general way to solve this problem when coding.)

Bo-Nan


2013/5/4 <comp-phys-alps-users-request@lists.phys.ethz.ch>
Send Comp-phys-alps-users mailing list submissions to
        comp-phys-alps-users@lists.phys.ethz.ch

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.phys.ethz.ch/listinfo/comp-phys-alps-users
or, via email, send a message with subject or body 'help' to
        comp-phys-alps-users-request@lists.phys.ethz.ch

You can reach the person managing the list at
        comp-phys-alps-users-owner@lists.phys.ethz.ch

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Comp-phys-alps-users digest..."


Today's Topics:

   1. Re: conservation of particle number in ALPS (Matthias Troyer)


----------------------------------------------------------------------

Message: 1
Date: Fri, 3 May 2013 08:30:16 -0400
From: Matthias Troyer <troyer@phys.ethz.ch>
To: comp-phys-alps-users@lists.phys.ethz.ch
Subject: Re: [ALPS-users] conservation of particle number in ALPS
Message-ID: <CE903F1B-5580-48A9-A2D1-BC08083F3491@phys.ethz.ch>
Content-Type: text/plain; charset=iso-8859-1

Hi Bo-Nan,

what do you mean by " how to do it in your source code "?

Matthias

On May 2, 2013, at 1:54 AM, Bo-Nan JIANG <bonanjiang@gmail.com> wrote:

> Hi,all
>
> Though it is really easy to realize the conservation of particle number in ALPS when doing DMRG, I am wondering how to do it in your source code (for example C++ or fortran) or the scheme of it. Any tips? Thanks a lot!
>
> Bo-Nan
>
> --
> Stay foolish,Stay hungry.



End of Comp-phys-alps-users Digest, Vol 86, Issue 2
***************************************************



--
Stay foolish,Stay hungry.