Replies: 6 comments 3 replies
-
Hi @ec147,
Right now there is no concrete plan to implement improved estimators in triqs/cthyb. In case you are only interested in improved self-energies consider taking a look at: https://arxiv.org/abs/2310.01266 . Here, we showed how to leverage DLR + plus the measurement of high frequency moments: https://triqs.github.io/cthyb/latest/guide/high_freq_moments.html to achieve better noise suppression than standard improved estimators and the same noise level as symmetric improved estimators. I am currently working on a release version of the functionality within triqs for this, and I am happy to share a beta version of it. For the symmetric improved estimators we would require first a worm sampling algo in cthyb.
As far as I know there is no way to initialize the startup configuration in MC right now and it is empty in the beginning @Wentzell @parcollet please correct me if I am wrong. Maybe you can also answer the second question regarding the density matrix. Best, P.S. these questions are more qualified for a discussion. So far I do not see any obvious issue. So please consider next time to open this in a discussion instead. |
Beta Was this translation helpful? Give feedback.
-
Dear @ec147, Thank you for reaching out and for your interest in the TRIQS software.
CTHyb samples the partition function.
I am not sure I understand the question. The configurations always contain hybridization events (c, cdag operators) at random time points chosen from the full interval [0,beta]
I agree on this point, I converted this to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Dear @ec147, Let me try to reply on the (many-body) density matrix question.
We currently do not use time-translational invariance when sampling the density matrix. We simply accumulate the entire product of atomic propagators and sandwiched operators (combined with the hybridization function determinant). I think this amounts to the first case that you call "only looking at the configuration at As you point out, one could "split" the matrix products of atomic propagators and operators at any other time @ec147 do you have any insights on this? Cheers, Hugo |
Beta Was this translation helpful? Give feedback.
-
interaction_energy.pdf Thank you all for your replies.
Yes, this is exactly what I mean, @HugoStrand. In order to sample the density matrix, you could wrap around any arbitrary time You could do this for several Besides TRIQS, I am using a segment solver, and all our quantities (number of electrons, double occupancies, configurations) are sampled by taking a continuous average over [0, However, you really piqued my curiosity about the benefits of this, since I have actually never done any formal test to compare both these techniques. So I just did a self-consistent DFT+DMFT calculation with my segment solver and plotted the interaction energy (computed from the double occupancies directly sampled from my solver) and the number of electrons (also directly sampled from my solver) along the DFT+DMFT iterations using both sampling techniques. Both calculations are done with the exact same number of sweeps and the exact same parameters of course. You can see the drastic improvement obtained by time-averaging. I have indicated the standard deviations, and you can see this is an order of magnitude smaller when time-averaging. The two plots are attached (I am sorry for the horrible format ; for technical reasons, I could not directly give you the original file and I had to print it and then scan it). Now I realize that to you, I am just a random Internet weirdo, but you can easily verify my claim within a few minutes using your unpublished segment solver. I hope this will motivate you to at least look that up, and (hopefully) implement this in TRIQS.
I have read your article @the-hampel, and I have a few questions. In fig 3, you plot the self-energies computed with improved estimators, symmetric improved estimators and constrained residual minimization using 10^8 sweeps, and compare them to a reference self-energy computed from directly sampled Legendre coefficients, using 10^11 sweeps (if I understand correctly). You show that you get a similar noise level as a symmetric improved estimator, which is really impressive. But what about Legendre and 10^8 sweeps ? This would mean that the best techniques right now to reduce the noise levels are (by decreased order of efficiency): cRM ~ sIE > iE > Dyson equation ? How does direct sampling of Legendre compare to those ? Do you have any insight on that ? If cRM is truly the best technique out there, I would be really interested in getting a beta version of it.
Basically, what I am trying to do with TRIQS/CTHYB is getting a 1 meV precision on free energy for a 3d system (thus with 10 orbitals, accounting for spin), in the rotationally invariant picture. I am really close on getting that, but I am still encountering a lot of issues. I was trying to compare my results with those that K. Haule obtained using his own CTQMC solver from embedded DMFT, and he told me that he routinely manage to get this accuracy with merely 500 CPUs, while I struggle to get this accuracy with 10x more CPUs using TRIQS. So I was trying to understand what is so magical about his CTQMC, and the three points I mentioned in my initial comment were the main differences I could spot. For instance, he clearly states in his article (https://journals.aps.org/prb/abstract/10.1103/PhysRevB.75.155113) that he samples the time-average of his operators to get improved accuracy. Just know that there is at least one guy out there who would be VERY interested in getting a solution to these three points. PS: I am sorry, from now on I will post in the discussion thread in order to ask my questions. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have never claimed that Legendre sampling was perfect. However, on top of filtering some noise, it also provides an analytical Fourier transform and thus removes any aliasing due to the binning error. In practice, even by taking a large number of
Yes, but you compare self-energies. I was talking about the sampling of the density matrix, which is crucial to get a clean energy (which is what I'm interested in). Besides, I do not know whether time invariance is taken into account in w2dynamics to sample the observables.
In the system K. Haule studied and that I am trying to compare with, restricting the Fock space is out of question. All the states have non-negligible probabilities. Even though, I have tried removing the least likely states with By proposing that you implement time invariance and the possibility of starting a Monte-Carlo run from a previous configuration, I was merely trying to give you a feedback of what one of your TRIQS users need. I thought this was the purpose of this github thread. Personally, I do not understand why you are so reluctant about implementing features which would only require a few days work and would drastically improve the accuracy and calculation time, but I cannot force you. Now, since, again, I critically need these features for my work, I was thinking about implementing them by myself. I do not get the feeling that you would be willing to cooperate with me for that, but in the case you are, I would appreciate a few answers. So let me reiterate my questions:
Thanks |
Beta Was this translation helpful? Give feedback.
-
This is not at all what I am asking, and apologies if this is the feeling you got from my comment. I know that you are all working on different projects. I was simply expecting either "Thanks for the feedback, this is has been noted and we will think about it for future releases", or "Thanks for the feedback, but this cannot be done at the moment because we are working on other projects (or other reasons)".
Indeed, I misunderstood you. Regarding the sampling of G(
Yes, precisely. This is the continuous time average I was talking about. I am sure you have a good reason for doing all this, especially since you state in an old TRIQS documentation that this allows to take into account very important contributions for the density matrix, but I am just trying to understand. Best |
Beta Was this translation helpful? Give feedback.
-
Hi,
Just some quick questions about TRIQS/CT-HYB:
Again, all of this would help me massively. All of these issues are really impeding my work.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions