monte-carlo-physics
CommunitySimulate physical systems with Monte Carlo.
Education & Research#numpy#monte carlo#mcmc#numba#physics simulation#ising model#statistical mechanics
Authorxjtulyc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you compute physics observables and high-dimensional integrals when analytic solutions are difficult or impossible, using statistical sampling with uncertainty estimates.
Core Features & Use Cases
- Monte Carlo integration: Estimates integrals and partition-function-like quantities from random samples with error scaling ~1/sqrt(N).
- MCMC sampling: Implements Metropolis-Hastings workflows for sampling from complex target distributions and diagnosing mixing via burn-in and autocorrelation/ESS.
- Statistical mechanics simulation (Ising model): Runs Metropolis sweeps for lattice systems to study magnetization, energy, and phase-transition behavior across temperatures.
- Use Case: You need to estimate a 3D Gaussian integral and quantify the uncertainty, then simulate the 2D Ising model near the critical temperature to measure susceptibility-like response.
Quick Start
Use the monte-carlo-physics skill to run Monte Carlo integration for your target physics integral and return the estimate with a statistical error estimate.
Dependency Matrix
Required Modules
numpyscipynumbamatplotlibpandas
Components
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: monte-carlo-physics Download link: https://github.com/xjtulyc/awesome-rosetta-skills/archive/main.zip#monte-carlo-physics Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.