Hi
I'm confused as to how the system knows what i and j should be (like nearest neighbor, next nearest, etc) for a particular model, since the bond-operators just go from i to j.
Also, when there are wild cards in parameters, e.g., mu# in the boson Hubbard Hamiltonian, where are the different types defined? Do I need to define a new lattice type to allow for spatially varying mu, e.g.?
Thanks Deepak
Hi Deepak,
Please take a look at the documentation. The bond and site type of a bond or site operator (or the wildcard as in mu#) refer to the corresponding site or bond type in the lattice. To change from 2 to 10 sites you will indeed have to write a new lattice definition where 2 sites have one type (e.g. 0) and the other 8 sites have another type (e.g. 1).
Matthias Troyer
On Jan 19, 2013, at 4:56 PM, Deepak Iyer deepak.g.iyer@gmail.com wrote:
Hi
I'm confused as to how the system knows what i and j should be (like nearest neighbor, next nearest, etc) for a particular model, since the bond-operators just go from i to j.
Also, when there are wild cards in parameters, e.g., mu# in the boson Hubbard Hamiltonian, where are the different types defined? Do I need to define a new lattice type to allow for spatially varying mu, e.g.?
Thanks Deepak
Ok great. I figured as much, but I wanted to make sure there wasn't some simpler way to do it that I missed.
Thanks a lot for the prompt responses. Deepak
On Sat, Jan 19, 2013 at 7:38 PM, Matthias Troyer troyer@phys.ethz.chwrote:
Hi Deepak,
Please take a look at the documentation. The bond and site type of a bond or site operator (or the wildcard as in mu#) refer to the corresponding site or bond type in the lattice. To change from 2 to 10 sites you will indeed have to write a new lattice definition where 2 sites have one type (e.g. 0) and the other 8 sites have another type (e.g. 1).
Matthias Troyer
On Jan 19, 2013, at 4:56 PM, Deepak Iyer deepak.g.iyer@gmail.com wrote:
Hi
I'm confused as to how the system knows what i and j should be (like
nearest neighbor, next nearest, etc) for a particular model, since the bond-operators just go from i to j.
Also, when there are wild cards in parameters, e.g., mu# in the boson
Hubbard Hamiltonian, where are the different types defined? Do I need to define a new lattice type to allow for spatially varying mu, e.g.?
Thanks Deepak
comp-phys-alps-users@lists.phys.ethz.ch