Openfermion Hamiltonian
Developmentopenfermion-hamiltonianOpenfermion Hamiltonian is an Agent Skill for development published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Molecular Hamiltonian construction skill using OpenFermion
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/domains/science/quantum-computing/skills/openfermion-hamiltonian/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/openfermion-hamiltonian, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
OpenFermion Hamiltonian
Purpose
Provides expert guidance on molecular Hamiltonian construction and fermion-to-qubit mappings using OpenFermion for quantum chemistry applications.
Capabilities
- Molecular Hamiltonian generation
- Jordan-Wigner transformation
- Bravyi-Kitaev transformation
- Parity transformation
- Second quantization handling
- Symmetry reduction
- Active space selection
- Hamiltonian term grouping
Usage Guidelines
- Molecular Setup: Define molecular geometry and basis set
- Hamiltonian Generation: Compute molecular integrals and construct Hamiltonian
- Transformation Selection: Choose appropriate fermion-to-qubit mapping
- Qubit Reduction: Apply symmetry and active space reductions
- Term Analysis: Analyze Hamiltonian structure for circuit design
Tools/Libraries
- OpenFermion
- OpenFermion-PySCF
- OpenFermion-Psi4
- Qiskit Nature
- PennyLane