C++ ________________________________ From: comp-phys-alps-users-bounces@lists.phys.ethz.ch [comp-phys-alps-users-bounces@lists.phys.ethz.ch] on behalf of Matthias Troyer [troyer@phys.ethz.ch] Sent: Sunday, 25 March, 2012 10:48:56 AM To: comp-phys-alps-users@lists.phys.ethz.ch Subject: Re: [ALPS-users] help
Which code are you using?
On 23 Mar 2012, at 02:37, #ABDUL MALEK BIN RAZALI# wrote:
Hi,
I am using the honeycomb lattice and boson hubbard model from the alps library on vispython. I wish to measure the staggered structure factor given by the equation
S = 1/N * Summation [ e(i)e(j) <n(i)n(j)> ]
where e(i) = 1 or -1 for i on sublattice A(B) in terms of density-density correlations. I know that alps measure the density structure factor using wave vectors. How can i make alps measure the structure factor given above ?
Regards, Mike