From agent-almanac
Formulates quantum mechanics or quantum chemistry problems with Hilbert space, operators, Hamiltonians, boundary conditions, and methods like perturbation theory, variational, DFT, or exact diagonalization. For analytic/numerical setups.
npx claudepluginhub pjt222/agent-almanacThis skill uses the workspace's default tool permissions.
---
Simulates and analyzes quantum systems using QuTiP: states, operators, time evolution (Schrödinger/master eqs/Monte Carlo), open systems, measurements, entanglement, Bloch spheres, Wigner functions.
Simulates open quantum systems using QuTiP Python library for master equations, Lindblad dynamics, decoherence, quantum optics, cavity QED. For physics research and education.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Share bugs, ideas, or general feedback.
Translate a physical system into a well-posed quantum mechanical problem by identifying the relevant degrees of freedom, constructing the Hamiltonian and state space, specifying boundary conditions, selecting an appropriate approximation method, and validating the formulation against known limits.
Characterize the system completely before writing any equations:
## 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]
Expected: A complete inventory of particles, quantum numbers, symmetries, and a justified selection of active versus frozen degrees of freedom.
On failure: If the energy scale hierarchy is unclear, retain all degrees of freedom initially and flag the need for a scale analysis. Premature truncation leads to qualitatively wrong physics.
Build the mathematical framework from the degrees of freedom identified in Step 1:
## 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]
Expected: A complete, Hermitian Hamiltonian with all terms explicitly written, the Hilbert space defined, and constants of motion identified.
On failure: If the Hamiltonian is not manifestly Hermitian, check for missing conjugate terms or gauge-dependent phases. If the Hilbert space is ambiguous (e.g., for relativistic particles), specify the formalism explicitly and note the issue.
Constrain the problem to have a unique solution:
## 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]
Expected: Boundary conditions that are physically motivated, mathematically consistent with the Hamiltonian's domain, and sufficient to determine a unique solution (or a well-defined scattering matrix).
On failure: If boundary conditions are over- or under-determined, check the self-adjointness of the Hamiltonian on the chosen domain. Non-self-adjoint Hamiltonians require careful treatment of deficiency indices.
Choose a solution strategy appropriate to the problem's structure:
Assess exact solvability: Check if the problem reduces to a known exactly solvable model (harmonic oscillator, hydrogen atom, Ising model, etc.). If yes, use the exact solution as the primary result and perturbation theory for corrections.
Perturbation theory (weak coupling):
Variational methods (ground state focus):
Density Functional Theory (many-electron systems):
Numerical exact methods (small systems, benchmarking):
## 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]
Expected: A justified choice of approximation method with a clear statement of expected accuracy and computational cost, plus documentation of alternatives considered.
On failure: If no single method is clearly appropriate, formulate the problem for two methods and compare results. Disagreement between methods reveals the problem's difficulty and guides further refinement.
Before solving, verify the formulation reproduces known physics:
## 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] |
Expected: All validation checks pass. The formulation is self-consistent and ready for solution.
On failure: A failing validation check indicates an error in the Hamiltonian construction or boundary conditions. Trace the failure back to the specific term or condition and correct it before proceeding to solve.
derive-theoretical-result -- derive analytic results from the formulated problemsurvey-theoretical-literature -- find prior work on similar quantum systems