Skip to content
Skills Library
Science & research · Learning & explanation

monte-carlo-computational-methods

/monte-carlo-computational-methods

Use stochastic and advanced computational methods in physics: Monte Carlo integration, Metropolis algorithm, Ising simulation, molecular dynamics, path-integral MC, lattice gauge theory, DFT, tensor networks, machine learning for physics. Use for sampling, simulations of many-body and statistical systems.

Licence
MIT
Last repository change
16.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 16.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use stochastic and advanced computational methods in physics: Monte Carlo integration, Metropolis algorithm, Ising simulation, molecular dynamics, path-integral MC, lattice gauge theory, DFT, tensor networks, machine learning for physics. Use for sampling, simulations of many-body and statistical systems.

Original author description

Use stochastic and advanced computational methods in physics: Monte Carlo integration, Metropolis algorithm, Ising simulation, molecular dynamics, path-integral MC, lattice gauge theory, DFT, tensor networks, machine learning for physics. Use for sampling, simulations of many-body and statistical systems.

How it works

  1. Monte Carlo
  2. Molecular dynamics
  3. Electronic structure & quantum many-body
  4. Good practice
Original SKILL.md headings · 24 lines, 227 words
SKILL.md preview
---
name: monte-carlo-computational-methods
description: "Use stochastic and advanced computational methods in physics: Monte Carlo integration, Metropolis algorithm, Ising simulation, molecular dynamics, path-integral MC, lattice gauge theory, DFT, tensor networks, machine learning for physics. Use for sampling, simulations of many-body and statistical systems."
---

# Monte Carlo & Computational Methods

## Monte Carlo
- Integration error ∝ 1/√N regardless of dimension; importance sampling and variance reduction; quasi-random (Sobol)
- Metropolis-Hastings: accept with min(1, e^{-βΔE}); detailed balance; thermalize, then measure; autocorrelation time τ affects error (σ ≈ sqrt(2τ var/N))
- Ising model: single-spin flip near T_c suffers critical slowing; use Wolff/Swendsen-Wang cluster updates; finite-size scaling to extract T_c and exponents
- Other: Gillespie algorithm for stochastic kinetics; kinetic Monte Carlo; diffusion and variational QMC for electron systems; path-integral MC for quantum bosons; sign problem for fermions
- Particle transport: Geant4 / MCNP-style radiation transport

## Molecular dynamics
- Integrate Newton's equations with velocity-Verlet; Lennard-Jones potential V = 4ε[(σ/r)¹² - (σ/r)⁶]; periodic boundary conditions; neighbor lists; thermostats (Nosé-Hoover, Langevin), barostats
- Observables: radial distribution function g(r), diffusion via mean-square displacement, Green-Kubo relations, pressure via virial
- Force fields vs ab initio MD, machine-learned potentials

## Electronic structure & quantum many-body
- Hartree-Fock, DFT (Kohn-Sham, LDA/GGA/hybrid functionals), GW, DMFT, coupled cluster
- Exact diagonalization (Lanczos), DMRG for 1D, tensor networks (MPS, PEPS), quantum Monte Carlo
- Lattice QCD: Wilson action, hybrid Monte Carlo
- Machine learning: neural network quantum states, symbolic regression for laws, PINNs, surrogate models, uncertainty quantification

## Good practice
Reproducibility (seed, version), convergence in N, system size, time step; error bars from blocking/jackknife; compare with exact solvable cases (2D Ising Onsager).
Files in this package (2)
  • SKILL.md 2 KB
  • metadata.json 1 KB

Versions

The database has no other skills named monte-carlo-computational-methods.

Database snapshot: 13.11.2026 · package version c63313eeca06 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95simulate
    Set up and run peapods Monte Carlo simulations of Ising ferromagnets, Ising spin glasses and XY models from Python, the peapods CLI or the spin-sim Rust crate. Use when a user wants to simulate a spin model, use a custom lattice, custom or diluted couplings, choose update moves…
  • 100simulation-study
    在 R 中搭建并运行可复现的蒙特卡洛(Monte Carlo)模拟研究——声明式假设情形、参数化 DGP、估计量网格、带种子的重复循环,以及带有蒙特卡洛标准误的偏误、RMSE、经验标准误、覆盖率、规模/功效的汇总。用户说 "run a Monte Carlo simulation"、"simulation study"、"check the bias/coverage of an estimator"、"compare estimators in simulation"、"size and power simulation"、"Monte Carlo…
  • 100monte-carlo-asset-health
    Curated upstream guidance for Monte Carlo Asset Health; use when the workflow matches the user goal.
  • 100monte-carlo-asset-health
    Curated upstream guidance for Monte Carlo Asset Health; use when the workflow matches the user goal.
  • 100monte-carlo-analyze-root-cause
    Curated upstream guidance for Monte Carlo Analyze Root Cause; use when the workflow matches the user goal.
  • 100monte-carlo-analyze-root-cause
    Curated upstream guidance for Monte Carlo Analyze Root Cause; use when the workflow matches the user goal.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.