evanberkowitz / two-dimensional-gasses

Let's crush it
0 stars 0 forks source link

Secondary observables #54

Closed evanberkowitz closed 1 year ago

evanberkowitz commented 1 year ago

Currently @observable puts observables into the GrandCanonical ensemble.

However, some observables can only be computed bootstrap-by-bootstrap. In particular, observables with disconnected pieces, such as correlations of density fluctuations,

    < n_a n_b > – < n_a > < n_b >

The simple < averages > are called primary observables in Monte Carlo errors with less errors, while (general, nonlinear) functions of primary observables are called derived quantities.

It would be good to have a way to add derived quantities to bootstrap averages in the same way that we add observables to the GrandCanonical ensemble. Perhaps a @derived or @secondary?

evanberkowitz commented 1 year ago

When #56 is merged into master this may be closed.