Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/computational-physics-guide
Computational physics methods, simulations, and research tools
Passed 13 of 22 test cases with the skill, and 12 of 22 without it.
1 fixed12 passed either way9 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
Provide script lines to execute a 2D square lattice Ising model Monte Carlo run on a 32x32 grid near the theoretical Onsager critical phase transition temperature.
| Checked | Without skill | With skill |
|---|---|---|
| The temperature argument is set to approximately 2.269 | Passed | Passed |
| The simulation total step count is 10000 | Missed | Passed |
The instructions your model reads when the skill loads.
Apply computational methods to physics research, including molecular dynamics, Monte Carlo simulations, quantum computing, and numerical methods for solving physical systems.
| Method | Application | Scale | Key Software |
|---|---|---|---|
| Molecular Dynamics (MD) | Atomic-scale dynamics, materials | Atoms-molecules | LAMMPS, GROMACS, NAMD |
| Density Functional Theory (DFT) | Electronic structure, quantum chemistry | Electrons | VASP, Gaussian, Quantum ESPRESSO |
| Monte Carlo (MC) | Statistical mechanics, phase transitions | Configurable | Custom, CASINO |
| Finite Element Method (FEM) | Continuum mechanics, electrostatics | Macroscopic | COMSOL, FEniCS, Abaqus |
| Finite Difference (FDTD) | Electrodynamics, wave propagation | Macroscopic | Meep, Lumerical |
| N-body Simulation | Gravitational dynamics, plasma | Stars/particles | GADGET, REBOUND |
| Lattice QCD | Quantum chromodynamics | Subatomic | MILC, openQCD |
import numpy as np
def lennard_jones(r, epsilon=1.0, sigma=1.0):
"""Lennard-Jones potential and force."""
r6 = (sigma / r) ** 6
r12 = r6 ** 2
potential = 4 * epsilon * (r12 - r6)
force = 24 * epsilon * (2 * r12 - r6) / r
return potential, force
def velocity_verlet(positions, velocities, forces, masses, dt):
"""Velocity Verlet integration step."""
# Half-step velocity update
velocities += 0.5 * forces / masses * dt
# Full-step position update
positions += velocities * dt
# Compute new forces
new_forces = compute_forces(positions)
# Complete velocity update
test cases passed, vs 12 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.