You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on getting mVMC to work for a two-dimensional Hubbard model, and I wanted to include doublon-holon factors in the variational ansatz. As this is not automatically included in standard mode, I need to create all the .def files in order to be able to work in expert mode. However, I am stuck trying to make the 4-site dh4.def file. My understanding is that in such a .def file you should have a list of 6 numbers, indicating:
1st number: the site i
2nd-5th number: the l-th neighboring sites (for example, assuming a 4x4 lattice with PBC and i=0, if we consider only up to next nearest-neighboring sites, there will be two choices for these numbers: for l=0 they will be [1,3,4,12] and for l=1[5,7,13,15])
6th number: an index indicating the variational parameter
This all sounds reasonable, however I am left with a few questions that I cannot seem to resolve. The parameters are different depending on how many holons there are if site i is a doublon (indexed by m in Eq.(25) of Tahara et al.). Furthermore, there should be different parameters depending on whether site i is a doublon or holon (this is not explicit in the above reference but you make clear the distinction in your tutorial). My question is, how do we make sense of this in the .def file? My idea was to repeat the site indices for all these different parameters. For example, say we have parameters for 0 <= m <= 4 nearest-neighbor holons, and the same for doublons, then for site i=0 I will add to the .def file:
The first 5 lines will account for different parameters according to the number m IF site 0 is a doublon, and similarly for the last 5 lines IF site 0 is a holon. Similarly, I do the same for next-nearest neighbors for paramters indices going from 10 to 19.
However this convention seems a bit strange to me and indeed if I try to run the code, dh4.def returns an error, specifically error: dh4.def (Broken file or Not exist).
Could you help me in trying to understand how to build this .def file correctly? What am I missing?
Thanks a lot for your help.
Kind regards,
Giorgio
The text was updated successfully, but these errors were encountered:
We apologize for the delay in our reply.
Judging from your input file, it seems that the way you have specified NDoublonHolon4siteIdx and sixth columns after the header is incorrect.
Sorry, but the definition of Ndh4 in the manual is misleading.
Ndh4 is not the total number of variational parameters of DH4, but the number of type t in Eq. (58) in the paper.
(The number of variational parameters of DH4 is 10 Ndh4.)
And on 6th column of the input file, the index of type should be specified, not the index of variational parameters of DH4. For example, if Ndh4=2, 0 or 1 can be written on the 6th column.
2nd-5th number: the l-th neighboring sites (for example, assuming a 4x4 lattice with PBC and i=0, if we consider only up to next nearest-neighboring sites, there will be two choices for these numbers: for l=0 they will be [1,3,4,12] and for l=1 [5,7,13,15])
Right. If you want to optimize DH4 for l=0 and l=1 independently, you should set Ndh4=2.
The DH4 for l=0 (l=1) is specified as the type index t=0 (t=1).
For your reference, I have attached a sample file of DH4 for Ndh4=1.
If you want to make the input for Ndh4=2, you add lines for t=1, for example "0 5 7 13 15 1" after the header.
Dear mVMC developers,
I am working on getting mVMC to work for a two-dimensional Hubbard model, and I wanted to include doublon-holon factors in the variational ansatz. As this is not automatically included in standard mode, I need to create all the .def files in order to be able to work in expert mode. However, I am stuck trying to make the 4-site dh4.def file. My understanding is that in such a .def file you should have a list of 6 numbers, indicating:
i
l
-th neighboring sites (for example, assuming a 4x4 lattice with PBC and i=0, if we consider only up to next nearest-neighboring sites, there will be two choices for these numbers: forl=0
they will be[1,3,4,12]
and forl=1
[5,7,13,15]
)This all sounds reasonable, however I am left with a few questions that I cannot seem to resolve. The parameters are different depending on how many holons there are if site
i
is a doublon (indexed bym
in Eq.(25) of Tahara et al.). Furthermore, there should be different parameters depending on whether sitei
is a doublon or holon (this is not explicit in the above reference but you make clear the distinction in your tutorial). My question is, how do we make sense of this in the .def file? My idea was to repeat the site indices for all these different parameters. For example, say we have parameters for0 <= m <= 4
nearest-neighbor holons, and the same for doublons, then for sitei=0
I will add to the .def file:The first 5 lines will account for different parameters according to the number
m
IF site 0 is a doublon, and similarly for the last 5 lines IF site 0 is a holon. Similarly, I do the same for next-nearest neighbors for paramters indices going from 10 to 19.However this convention seems a bit strange to me and indeed if I try to run the code, dh4.def returns an error, specifically
error: dh4.def (Broken file or Not exist)
.Could you help me in trying to understand how to build this .def file correctly? What am I missing?
Thanks a lot for your help.
Kind regards,
Giorgio
The text was updated successfully, but these errors were encountered: