using-cpmc-lab

Install, configure, and run CPMC-Lab MATLAB simulations for Hubbard model calculations.

60|92|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/QuantumBFS/quantum.harness --skill using-cpmc-lab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: using-cpmc-lab
Source: https://github.com/QuantumBFS/quantum.harness/tree/main/skills/using-cpmc-lab
Command: npx skills add https://github.com/QuantumBFS/quantum.harness --skill using-cpmc-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires matlab, and includes references (resource) components.

What problem does it solve?

This skill manages the complex software stack and parameter orchestration required to run the CPMC-Lab MATLAB package, ensuring that quantum Monte Carlo simulations are reproducible and scientifically sound.

Core Features & Use Cases

  • Automated Environment Setup: Handles installation, path configuration, and smoke testing for the CPMC-Lab package.
  • Parameter Orchestration: Provides a structured workflow to define and validate model and sampling parameters, preventing common configuration errors.
  • Use Case: Researchers can use this skill to systematically perform twist-averaged boundary condition calculations on Hubbard models, ensuring that Trotter error and walker population bias are properly controlled through documented convergence strategies.

Quick Start

Use the using-cpmc-lab skill to install the package and run the sample simulation to verify your local MATLAB environment.

Frequently Asked Questions about using-cpmc-lab

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run constrained-path quantum Monte Carlo simulations in MATLAB?

To run constrained-path quantum Monte Carlo simulations in MATLAB, you can use the CPMC-Lab package to execute auxiliary-field QMC calculations for single-band repulsive Hubbard models with automated environment setup and parameter validation.

What is the best way to ensure reproducible QMC simulation results for Hubbard models?

The best way to ensure reproducible QMC simulation results is to enforce documented parameter strategies, validation checks, and standardized output handling, specifically controlling Trotter error and walker population bias during twist-averaged boundary condition calculations.

Do I need MATLAB to perform auxiliary-field QMC calculations for finite-size scaling?

Yes, you need MATLAB installed to perform auxiliary-field QMC calculations for finite-size scaling, because the CPMC-Lab package is a MATLAB-based tool that handles installation, path configuration, and execution of the constrained-path simulations.

How do I configure model and sampling parameters to prevent QMC configuration errors?

To configure model and sampling parameters and prevent QMC configuration errors, follow a structured parameter orchestration workflow that validates inputs before execution, ensuring scientifically sound and reproducible computational physics results.

When should I use twist-averaged boundary conditions for quantum Monte Carlo simulations?

You should use twist-averaged boundary conditions for quantum Monte Carlo simulations when performing systematic studies on Hubbard models, as it requires properly controlling Trotter error and walker population bias through documented convergence strategies to yield accurate results.