quantum-guide-algorithms-hamiltonian-simulation

quantum-guide-algorithms-hamiltonian-simulation is a skill for Claude Code from xi-zhao/OpenQuantum. It costs 43 tokens per session (784 once invoked), scanned A, original, MIT.

A guide for simulating how a quantum system changes over time under a Hamiltonian, the mathematical description of its energy and motion. It routes problems to open-source circuit and matrix-decomposition methods.

In plain words
What is it for?
Use it for Trotter, qDRIFT, Taylor-series, QSP, or LCU Hamiltonian simulation, and for Cartan decomposition of real symmetric Hamiltonians.
Why use it?
It avoids treating different simulation methods as interchangeable and records limits such as truncation error, scaling, and post-selection probability.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it for Trotter, qDRIFT, Taylor-series, QSP, or LCU Hamiltonian simulation, and for Cartan decomposition of real symmetric Hamiltonians.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xi-zhao/openquantum/quantum-guide-algorithms-hamiltonian-simulation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xi-zhao/OpenQuantum --skill quantum-guide-algorithms-hamiltonian-simulation
Clone the repo
git clone --depth 1 https://github.com/xi-zhao/OpenQuantum

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for quantum-guide-algorithms-hamiltonian-simulation

README.md
[![agentmods](https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-guide-algorithms-hamiltonian-simulation/github.svg)](https://agentmods.dev/skills/xi-zhao/openquantum/quantum-guide-algorithms-hamiltonian-simulation)
Your own site
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-guide-algorithms-hamiltonian-simulation"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-guide-algorithms-hamiltonian-simulation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for quantum-guide-algorithms-hamiltonian-simulation

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-guide-algorithms-hamiltonian-simulation"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-guide-algorithms-hamiltonian-simulation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 784 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00784
Opus 5.5 $0.00017 $0.00314
Sonnet 5.5 $0.00009 $0.00157
Haiku 4.5 $0.00004 $0.00078

Measured 4d ago against content hash aa6f66937b18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quantum-guide-algorithms-hamiltonian-simulation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/quantum-guide-algorithms-hamiltonian-simulation/SKILL.md · 33 lines

What it actually says

algorithms/hamiltonian-simulation

本地开源适配。上游指南 ID:algorithms/hamiltonian-simulation。

分类导航:保留用户显式调用;自动任务直接选择叶子方法 Skill,或使用 quantum-algorithms 查找。

选择工作流

按用户的数学问题、输入表示、计算规模和需要的输出选择一个叶子 Skill。知识解释可直接使用原理;计算任务加载叶子 Skill,使用其中的开源实现和现有代码执行 Tool。无需为阅读指南启动额外服务。

  • quantum-cartan:实对称 Hamiltonian 的 SO(N) 谱 Cartan 分解;采用 SciPy Schur 替换未开放的 Cartan-Lax 优化器,不宣称复刻其优化轨迹。
  • quantum-qdrift:使用 Qiskit 的显式量子电路,保留输入、方法参数、实际概率或态矢量;模拟器全态读取不代表硬件可高效读取。
  • quantum-hamiltonian-qsp:偶/奇 QSP 多项式通过 LCU 合成 exp(-iHt);稠密 block encoding 与后选择,次数控制截断误差。
  • quantum-taylor:截断 Taylor 级数展开为 Pauli LCU,实际执行 PREPARE/SELECT/unprepare 并报告后选择概率;无量子加速主张。
  • quantum-trotter:使用 Qiskit 的显式量子电路,保留输入、方法参数、实际概率或态矢量;模拟器全态读取不代表硬件可高效读取。

全量条目见覆盖表。如果用户描述跨领域,按实际依赖组合相关叶子 Skill;不要要求用户先阅读整条目录链。

来源与边界

上游 MIT 指南:algorithms/hamiltonian-simulation。原文作为参考保存在固定检索库,本文件将执行路线改为开源 SDK。来源摘要和算法模块对应关系见coverage.json,许可证与改动说明见NOTICE。

自定义 SDK 程序

示例用于解释和接口核验,不是可执行任务的边界。用户需要其他模型、数据、算法步骤、梯度或后端时,按原生 SDK 工作台在固定环境中编写并执行自定义代码;由 Agent 完成程序与工件交付。使用 quantum-algorithms 环境定位相关 SDK,保留本算法的数学假设与数值误差说明。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed · +4 lines aa6f66937b18
  2. 22d ago First seen · 29 lines · 43 tokens per session scan A 8d0188b6b0bc

Subscribe to this mod's changes

quantum-guide-algorithms-hamiltonian-simulation is a skill published in the GitHub repository xi-zhao/OpenQuantum (75 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 784 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-25.

Related

Other skills, from other repositories

code-review

Reviews a supplied code path or diff for correctness, security, maintainability, and style without executing or modifying it.

sandbaseai/sandbase-harness · 25 tokens

memory-search-mcp

Long-term memory and context retrieval for AI agents. Semantic search across conversation history with care-weighted relevance.

CSOAI-ORG/memory-search-mcp · 0 tokens

animate

Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a…

stvlynn/dsh.fish · 96 tokens

gc-minimal-zine-poster-v0-3

Generate or analyze poetic paper-texture minimal zine posters with large negative space, a small editorial collage or focal element, experimental typography, and one clear color accent. Use when the user gives a theme, sentence, article, mood, object, photo, content brief, reference images, or an image folder and…

stvlynn/dsh.fish · 100 tokens

ask-sonner

Guide to Sonner, the React toast library — install and wire up the Toaster, pick the right toast() call, promise and loading toasts, updating, dismissing and persisting toasts, styling, theming and icons, positioning and multiple toasters. Use when working with Sonner or troubleshooting it — toasts that don't appear…

stvlynn/dsh.fish · 97 tokens

kill-ai-slop

Find and remove AI slop — the generic, machine-default visual and copy tics of vibe-coded products — from a web project. Use when the user asks to "kill AI slop", "de-slop", "remove the AI look", "make this not look AI-generated", or clean up a landing page / UI / docs that feels templated. Detects and fixes the…

stvlynn/dsh.fish · 249 tokens