YangyangTan's picture
README: observables as in arXiv:2607.08505, autocorrelation table, citation
f66ff65 verified
|
Raw History Blame
5.42 kB
---
license: cc-by-4.0
pretty_name: phi^4 lattice configurations near the critical point, 2D and 3D
tags:
- physics
- lattice-field-theory
- monte-carlo
- phase-transition
- critical-point
size_categories:
- 10K<n<100K
---
# φ⁴ lattice configurations near the critical point
Monte Carlo configurations of the scalar φ⁴ theory on periodic lattices of volume V = L^D with action
$$S[\phi] = \sum_x \Big[-2\kappa \sum_{\mu=1}^{D} \phi_x \phi_{x+\hat\mu} + \phi_x^2 + \lambda\big(\phi_x^2-1\big)^2\Big]$$
| D | κ | λ | κ_c | L | configurations per L | total size |
|---|---|---|---|---|---|---|
| 2 | 0.2705 | 0.022 | 0.27088 | 16, 32, 64, 128 | 10240 | 1.8 GB |
| 3 | 0.1923 | 0.9 | 0.19225 | 16, 32, 64, 128 | 2560 | 49 GB |
κ_c is the critical point estimated from Binder-cumulant crossings in the reference below.
## Files
```
2D/phi4_2D_L16_kappa0.2705_lambda0.022.npy (10240, 16, 16) 21 MB
2D/phi4_2D_L32_kappa0.2705_lambda0.022.npy (10240, 32, 32) 84 MB
2D/phi4_2D_L64_kappa0.2705_lambda0.022.npy (10240, 64, 64) 336 MB
2D/phi4_2D_L128_kappa0.2705_lambda0.022.npy (10240, 128, 128) 1342 MB
3D/phi4_3D_L16_kappa0.1923_lambda0.9.npy (2560, 16, 16, 16) 84 MB
3D/phi4_3D_L32_kappa0.1923_lambda0.9.npy (2560, 32, 32, 32) 671 MB
3D/phi4_3D_L64_kappa0.1923_lambda0.9.npy (2560, 64, 64, 64) 5369 MB
3D/phi4_3D_L128_kappa0.1923_lambda0.9.npy (2560, 128, 128, 128) 42950 MB
```
Each array holds the float64 field values φ_x. Axis 0 runs over configurations in
Monte Carlo order and the remaining axes are the periodic lattice directions. The
configurations were generated with Fourier-accelerated HMC combined with Wolff cluster
updates. The 3D L = 128 file consists of ten independent chains of 256 configurations,
concatenated along axis 0.
## Download
```bash
pip install -U huggingface_hub
# everything, 51 GB
hf download phi4-generative/phi4-critical-configs --repo-type dataset --local-dir phi4-critical-configs
# 2D only, 1.8 GB
hf download phi4-generative/phi4-critical-configs --repo-type dataset --local-dir phi4-critical-configs --include "2D/*"
# a single file
hf download phi4-generative/phi4-critical-configs --repo-type dataset --local-dir phi4-critical-configs --include "3D/*L64*"
```
```python
import numpy as np
from huggingface_hub import hf_hub_download
f = hf_hub_download("phi4-generative/phi4-critical-configs",
"3D/phi4_3D_L32_kappa0.1923_lambda0.9.npy", repo_type="dataset")
phi = np.load(f, mmap_mode="r") # (2560, 32, 32, 32)
phibar = phi.mean(axis=(1, 2, 3)) # zero mode of each configuration
```
## Autocorrelation
Every chain starts from a random field. One sampler iteration is one HMC trajectory
followed by Wolff cluster flips. τ_int is the integrated autocorrelation time of the
stored sequence in units of stored configurations, so 0.5 means consecutive
configurations are uncorrelated.
| D | L | chains × configurations | warm-up iterations | stored every | HMC acceptance | τ_int(\|φ̄\|) | τ_int(S) |
|---|---|---|---|---|---|---|---|
| 2 | 16 | 1 × 10240 | 2000 | 5th iteration | 0.77 | 0.53 | 0.56 |
| 2 | 32 | 1 × 10240 | 2000 | 5th iteration | 0.78 | 0.58 | 0.60 |
| 2 | 64 | 1 × 10240 | 2000 | 5th iteration | 0.78 | 0.64 | 0.66 |
| 2 | 128 | 1 × 10240 | 2000 | 5th iteration | 0.79 | 0.69 | 0.79 |
| 3 | 16 | 1 × 2560 | 2000 | 10th iteration | 0.77 | 0.60 | 0.55 |
| 3 | 32 | 1 × 2560 | 2000 | 10th iteration | 0.80 | 0.53 | 0.54 |
| 3 | 64 | 1 × 2560 | 2000 | 10th iteration | 0.75 | 0.78 | 0.88 |
| 3 | 128 | 10 × 256 | 2000 per chain | 10th iteration | 0.77 | 0.74 | 0.74 |
## Observables
With the zero mode φ̄ = V⁻¹ Σ_x φ_x of each configuration,
$$\chi = V\big(\langle\bar\phi^2\rangle - \langle|\bar\phi|\rangle^2\big), \qquad U_L = 1 - \frac{\langle\bar\phi^4\rangle}{3\langle\bar\phi^2\rangle^2}, \qquad \kappa_2^{(\mathrm{site})} = \frac{1}{V}\sum_x\langle\phi_x^2\rangle .$$
The action density ⟨S⟩/V omits the field-independent constant λ. Errors are jackknife
over 64 blocks of consecutive configurations.
2D, κ = 0.2705, λ = 0.022
| L | ⟨\|φ̄\|⟩ | χ | U_L | κ₂^(site) | ⟨S⟩/V |
|---|---|---|---|---|---|
| 16 | 0.8149(26) | 22.99(30) | 0.5524(18) | 1.5215(29) | 0.38758(49) |
| 32 | 0.7147(25) | 64.28(83) | 0.5672(16) | 1.4698(19) | 0.39297(26) |
| 64 | 0.6019(26) | 211.8(30) | 0.5551(20) | 1.4400(11) | 0.39619(18) |
| 128 | 0.4446(23) | 771.6(69) | 0.4815(27) | 1.41936(61) | 0.398604(90) |
3D, κ = 0.1923, λ = 0.9
| L | ⟨\|φ̄\|⟩ | χ | U_L | κ₂^(site) | ⟨S⟩/V |
|---|---|---|---|---|---|
| 16 | 0.2119(24) | 43.38(92) | 0.4681(65) | 0.62329(34) | −0.12466(49) |
| 32 | 0.1497(14) | 171.7(36) | 0.4721(64) | 0.61929(11) | −0.11846(16) |
| 64 | 0.1125(12) | 641(15) | 0.5032(48) | 0.617963(58) | −0.116385(81) |
| 128 | 0.09725(87) | 2372(73) | 0.5658(35) | 0.617684(26) | −0.116003(38) |
## Reference
The ensembles follow the setup of
```bibtex
@article{Tan:2026ibs,
author = "Tan, Yang-yang and Aarts, Gert and Habibi, Diaa E. and Lucini, Biagio and Wang, Lingxiao",
title = "{Diffusion Models for Sampling Near Criticality in Lattice Field Theories}",
eprint = "2607.08505",
archivePrefix = "arXiv",
primaryClass = "hep-lat",
reportNumber = "RIKEN-iTHEMS-Report-26",
month = "7",
year = "2026"
}
```