TRIQS / triqs

a Toolbox for Research on Interacting Quantum Systems
https://triqs.github.io
GNU General Public License v3.0
139 stars 72 forks source link

Prototype for report measurements #842

Closed hmenke closed 2 years ago

Wentzell commented 2 years ago

@hmenke Thank you for the PR! I added changes as we discussed.

Wentzell commented 2 years ago

@parcollet Could you have a quick look at these changes?

hmenke commented 2 years ago

Currently mc.run is private so there is no way to pass do_measure = true to the warmup.

Wentzell commented 2 years ago

Currently mc.run is private so there is no way to pass do_measure = true to the warmup.

What about calling instead warmup and/or accumulate?

hmenke commented 2 years ago

warmup hardcodes do_measure=false and accumulate writes "Accumulating..." to stdout.

EDIT: See also our current integration with CT-INT https://github.com/hmenke/ctint/commit/a18720a4da9f5dbbd5ac288ac6a3667c4f3df793

Wentzell commented 2 years ago

I have updated the PR to expose the run function in the public interface.