Hello,
Recently I am trying to understand how the hybridization qmc solver is implemented. In line 89 of the file hybmain.cpp, I noticed that the function "collect_result" is called and the returned stuff is assigned to a variable called"results".
I know "results" is an "alps::results_type<hybridization>::type" object, aka an accumulator. What I don't understand is its data structure (how elements are stored and how to access them). For example, I find the usage of "results["Sign"]", "results[order_name.str()]", etc in hybevaluate.cpp confusing, because it doesn't seem to me that the accumulator stores information in the std::map type. Can someone explain it to me or point me to relevant documentation (if any), please?
Thanks.
Sincerely, Leo (Fang Yao-Lung) Duke Physics
comp-phys-alps-users@lists.phys.ethz.ch