Skip to content
dqmc-parameter-scans logo

Parameter Scans

dqmc-parameter-scans

Set up systematic DQMC parameter studies across temperature, interaction strength U, or chemical potential mu. Use when doing temperature sweeps, phase diagram calculations, or any grid of simulations.

SKILL.md

Full skill instructions

Parameter Scans

Generate a directory tree of simulation files (one directory per parameter point), then run with the queue system (see dqmc-run), then analyze (see dqmc-analyze).

Temperature Scan

Vary L while adjusting dt to maintain Trotter error bound:

from dqmc_util import gen_1band_hub
import numpy as np

U = 4.0
step = 5  # L must be divisible by n_matmul and period_eqlt (defaults: 5)
for T in [0.1, 0.2, 0.5, 1.0]:
    beta = 1.0 / T
    dt = min((0.05/​U)**0.5, beta / 10)
    L = int(np.ceil(beta / dt / step) * step)
    dt = beta / L

    gen_1band_hub.create_batch(
        prefix=f"data/​T{T:.2f}/​bin",
        Nfiles=4, Nx=6, Ny=6, U=U, dt=dt, L=L
    )

U-mu Scan

Grid over interaction strength and chemical potential:

import itertools
import numpy as np
from dqmc_util import gen_1band_hub

dt, L = 0.1, 40  # sets beta = L*dt
for U, mu in itertools.product([2, 4, 6, 8], np.linspace(-4, 4, 9)):
    gen_1band_hub.create_batch(
        prefix=f"data/​U{U}_mu{mu:.1f}/​bin",
        Nfiles=4, Nx=6, Ny=6, U=U, mu=mu, dt=dt, L=L
    )

Validation

  • Directory structure created as expected
  • Each directory has correct number of .h5 files

Tips

  • Use descriptive directory names encoding key parameters
  • Keep Nfiles >= 4 for reliable error estimates
  • For large scans, generate files first, then run via queue system

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View