정보
이 스킬은 힐베르트 공간, 연산자, 경계 조건을 포함한 수학적 프레임워크를 정의함으로써 개발자들이 양자 역학이나 화학 문제를 공식화하는 데 도움을 줍니다. 물리적 시나리오를 슈뢰딩거 방정식 같은 형식주의로 변환하고, 섭동 이론이나 DFT(밀도 범함수 이론) 같은 적절한 해법 방법을 선택하는 것을 지원합니다. 양자 문제를 해석적 또는 수치적 해법을 위해 설정할 때 사용하세요.
빠른 설치
Claude Code
추천npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/formulate-quantum-problemClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
Formulate Quantum Problem
Physical system → well-posed QM problem: ID DOFs → build H + Hilbert space → BCs → pick approx method → validate vs known limits.
Use When
- Set up QM problem for analytic/numerical solution
- QChem calc (MOs, electronic structure)
- Physical scenario → Dirac/Schrödinger
- Choose perturbation / variational / DFT / exact diag
- Theoretical model for spectroscopic/scattering comparison
In
- Required: system desc (atom, molecule, solid, field)
- Required: target observable (spectrum, rates, ground state)
- Optional: experimental constraints
- Optional: accuracy / compute budget
- Optional: formalism (wave mech, matrix mech, 2nd quant, path int)
Do
Step 1: ID system + DOFs
- Particles: list (electrons, nuclei, photons, phonons) + quantum nums (spin, charge, mass)
- Symmetries: spatial (sph/cyl/trans/crystal), internal (spin/gauge), discrete (P, T)
- Energy scales: which DOFs active vs frozen/adiabatic
- Reduction: Born-Oppenheimer if nuclear/electronic timescales separate; collective coords for many-body
## System Characterization
- **Particles**: [list with quantum numbers]
- **Active degrees of freedom**: [coordinates, spins, fields]
- **Frozen degrees of freedom**: [and justification for freezing]
- **Symmetry group**: [continuous and discrete]
- **Energy scale hierarchy**: [e.g., electronic >> vibrational >> rotational]
→ Complete inventory: particles, QNs, symmetries, active vs frozen justified.
If err: hierarchy unclear → keep all DOFs, flag for scale analysis. Premature truncation → wrong physics.
Step 2: Build H + Hilbert space
- Hilbert space: finite-dim → basis (|↑>, |↓>). Infinite → function space (L²(R³) for 3D single particle).
- Kinetic: each particle. Position rep: T = -ℏ²/(2m) nabla².
- Potential: all interactions (Coulomb, harmonic, spin-orbit, external). Explicit form + coupling.
- Composite H: H = T + V, group by type. Multi-particle: exchange/correlation or note via approx.
- Operator algebra: H Hermitian? Constants of motion ([H,O]=0) → block-diagonalize.
## Hamiltonian Structure
- **Hilbert space**: [definition and basis]
- **H = T + V decomposition**:
- T = [kinetic terms]
- V = [potential terms, grouped by type]
- **Constants of motion**: [operators commuting with H]
- **Symmetry-adapted basis**: [if block diagonalization is possible]
→ Complete Hermitian H w/ all terms, Hilbert space defined, constants of motion ID'd.
If err: not Hermitian → missing conjugate / gauge phase. Ambiguous Hilbert space (relativistic) → specify formalism.
Step 3: BCs + initial conditions
- BCs: bound → normalizability (psi→0 at ∞). Scattering → incoming wave. Periodic → Bloch / Born-von Karman.
- Domain: spatial. Box walls. H atom: radial + angular. Lattice + topology.
- Initial state (time-dep): t=0 expansion in eigenbasis or wave packet w/ center + width.
- Constraints: indistinguishable → sym (bosons) / antisym (fermions). Gauge → gauge-fixing.
## Boundary and Initial Conditions
- **Spatial domain**: [definition]
- **Boundary type**: [Dirichlet / Neumann / periodic / scattering]
- **Normalization**: [condition]
- **Particle statistics**: [bosonic / fermionic / distinguishable]
- **Initial state** (if time-dependent): [specification]
→ BCs physically motivated, consistent w/ H domain, unique solution (or scattering matrix).
If err: over/under-determined → check self-adjointness on domain. Non-self-adjoint → handle deficiency indices.
Step 4: Pick approx method
-
Exact solvable: matches known model (HO, H atom, Ising)? → exact + perturbation corrections.
-
Perturbation (weak coupling):
- H = H0 + lambda V, H0 solvable
- lambda V small vs H0 level spacing
- Degeneracy? → degenerate perturbation
- Fits: weak interaction, few-body, analytic needed
-
Variational (ground state):
- Trial wf w/ params
- Satisfies BCs + symmetry
- Fits: ground state energy primary, many-body
-
DFT (many-electron):
- XC functional (LDA, GGA, hybrid)
- Basis (plane waves, Gaussian, NAOs)
- Fits: many-electron, ground state density + energy
-
Numerical exact (small/benchmark):
- Exact diag for small Hilbert
- QMC for ground state sampling
- DMRG for 1D/quasi-1D
- Fits: high accuracy, small system
## Approximation Method Selection
- **Method chosen**: [name]
- **Justification**: [why this method fits the problem structure]
- **Expected accuracy**: [order of perturbation, variational bound quality, DFT functional accuracy]
- **Computational cost**: [scaling with system size]
- **Alternatives considered**: [and why they were rejected]
→ Justified method + expected accuracy + compute cost + alternatives.
If err: no single method fits → formulate for 2 + compare. Disagreement reveals difficulty.
Step 5: Validate vs limits
- Classical (ℏ→0 or large QNs): H reduces to classical mech.
- Non-interacting: couplings → 0 → product of single-particle states.
- Symmetry: respects all symmetries. H transforms correctly under group.
- Dimensional: every H term = energy. Length/energy/time scales reasonable.
- Known exact: special cases (H atom Z=1, HO quadratic) → reproduced.
## Validation Checks
| Check | Expected Result | Status |
|-------|----------------|--------|
| Classical limit (hbar -> 0) | [classical Hamiltonian] | [Pass/Fail] |
| Non-interacting limit | [product states] | [Pass/Fail] |
| Symmetry transformation | [correct representation] | [Pass/Fail] |
| Dimensional analysis | [all terms in energy units] | [Pass/Fail] |
| Known exact case | [reproduced result] | [Pass/Fail] |
→ All pass. Self-consistent, ready to solve.
If err: fail → err in H construction or BCs. Trace to specific term/condition, fix before solving.
Check
- Particles + QNs listed
- Hilbert space + basis
- H Hermitian + correct units
- Constants of motion used
- BCs physically + mathematically sufficient
- Statistics (bos/ferm) enforced
- Method justified + accuracy stated
- Classical, non-interacting, symmetry limits checked
- Known exact reproduced
- Reproducible
Traps
- Premature DOF drop: freeze w/o energy scale arg → wrong physics. Justify every reduction.
- Non-Hermitian H: missing conjugate in spin-orbit / complex V. Verify H=H† explicitly.
- Wrong scattering BCs: bound-state BCs for scattering → discards continuum. Match to question.
- Degeneracy in perturbation: non-deg perturbation on deg level → divergent. Check first.
- Single-method reliance: variational → upper bound but misses excited; perturbation diverges at strong coupling. Cross-validate.
- Unit inconsistency: mixing natural (ℏ=1) + SI. Pick consistent system, state explicitly.
→
derive-theoretical-result— analytic from formulated problemsurvey-theoretical-literature— prior work on similar QM systems
GitHub 저장소
Frequently asked questions
What is the formulate-quantum-problem skill?
formulate-quantum-problem is a Claude Skill by pjt222. Skills package instructions and resources that Claude loads on demand, so Claude can perform formulate-quantum-problem-related tasks without extra prompting.
How do I install formulate-quantum-problem?
Use the install commands on this page: add formulate-quantum-problem to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does formulate-quantum-problem belong to?
formulate-quantum-problem is in the Other category, tagged general.
Is formulate-quantum-problem free to use?
Yes. formulate-quantum-problem is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
연관 스킬
LlamaGuard는 폭력 및 혐오 발언 등 6가지 안전 범주에서 LLM 입력과 출력을 조정하기 위한 Meta의 70-80억 파라미터 모델입니다. 94-95% 정확도를 제공하며 vLLM, Hugging Face 또는 Amazon SageMaker를 사용해 배포할 수 있습니다. 이 기술을 사용하여 AI 애플리케이션에 콘텐츠 필터링 및 안전 가드레일을 손쉽게 통합하세요.
이 Claude Skill은 리소스 적정화, 태깅 전략, 지출 분석을 통해 개발자들이 클라우드 비용을 최적화할 수 있도록 지원합니다. AWS, Azure, GCP에서 클라우드 비용을 절감하고 비용 거버넌스를 구현하기 위한 프레임워크를 제공합니다. 인프라 비용을 분석하거나, 리소스를 적정화하거나, 예산 제약을 충족해야 할 때 사용하세요.
이 Claude Skill은 스프레드, 오버/언더, 프로프 베트를 포함한 스포츠 베팅 시장을 분석합니다. 역사적 추이와 상황별 통계를 검토하여 가치 베트를 발견하고, 교육적 목적으로 실행 가능한 권장 사항이 담긴 구조화된 마크다운 결과를 제공합니다. 개발자는 이 기능을 스포츠 베팅 분석 도구에 활용할 수 있으며, 단순히 엔터테인먼트/교육 목적으로만 설계되었음을 유의해야 합니다.
이 스킬은 bitsandbytes를 사용하여 LLM을 8비트 또는 4비트 정밀도로 양자화하며, 최소한의 정확도 손실로 50-75%의 메모리 감소를 달성합니다. 제한된 GPU 메모리에서 더 큰 모델을 실행하거나 추론을 가속화하는 데 이상적이며, INT8, NF4, FP4와 같은 형식을 지원합니다. 이 스킬은 HuggingFace Transformers와 통합되어 QLoRA 학습 및 8비트 옵티마이저를 가능하게 합니다.
