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.
npx skills add xi-zhao/OpenQuantum --skill quantum-molecular-dmrggit clone --depth 1 https://github.com/xi-zhao/OpenQuantumWrote 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.
[](https://agentmods.dev/skills/xi-zhao/openquantum/quantum-molecular-dmrg)<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-molecular-dmrg"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-molecular-dmrg/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.
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-molecular-dmrg"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-molecular-dmrg.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.01091 |
| Opus 5.5 | $0.00033 | $0.00436 |
| Sonnet 5.5 | $0.00016 | $0.00218 |
| Haiku 4.5 | $0.00008 | $0.00109 |
Grade A, and why
quantum-molecular-dmrg 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
molecular_dmrg
本地开源适配。上游指南 ID:algorithms/quantum-chemistry/molecular-dmrg。
适用方法
PySCF 活性空间积分、Jordan-Wigner MPO 与 quimb 双站点 DMRG。使用开源态制备替换闭源 CVD;当前示例的稠密 Hamiltonian 预处理需要 O(4^n) 存储。
使用步骤
- 先识别用户是在询问原理、要求运行,还是要求生成/修改代码;仅解释时不自动开始计算。
- 阅读共同运行说明和本地实现。可通过已有
quantum_practicesTool 的get动作、id=algorithms/quantum-chemistry/molecular-dmrg读取完整理论、原始参数和推导;其中的外部安装命令及 UnitaryLab 后端要求不适用于本地执行。 - 根据任务准备实际输入,核对下面的参数签名。省略输入只会运行教学示例,不能把它冒充用户数据的结果。需要示例以外的 ansatz、oracle、边界条件或输出时,基于开源 SDK 生成可审查的任务代码。
- 使用 Harness 已有的
bash(Windows 为pwsh)Tool 执行。在 OpenQuantum 仓库根目录,先检查示例 Python 环境;缺少依赖时显式执行npm run capability:algorithms:setup -- --group chemistry。执行和安装均受现有 Harness 权限、审批、超时及 Job 管理约束。Skill 不启动服务。 - 读取实际结果和错误;保留输入、依赖版本、种子、近似参数与输出。优化未收敛、后选择概率低、码距未计算或样本不足都必须按实际字段报告。通过经典对照或收敛检查支持数值结论;最终科学验收仍为
not_evaluated。
参数:
molecular_dmrg(atoms=None, basis='sto-3g', charge=0, spin=0, active_orbitals=None, active_electrons=None, max_bond=32, sweeps=12, tolerance=1e-09, seed=7)
最小可运行示例(macOS/Linux;Windows Python 路径见共同说明):
examples/quantum-algorithms/.venv/bin/python examples/quantum-algorithms/run.py --algorithm molecular_dmrg
用户参数写入 JSON 文件,追加 --input <path>;需要保留报告时追加 --output <path>。输入规模由用户选择,不能把示例默认值当成算法上限。
分子工作流继续步骤:检查粒子数方差和 sweep 收敛后,可把输出态交给 quantum-mps 或 quantum-multiplexer 的开源态制备;用 Qiskit Pauli 测量估计能量并与 DMRG 期望值比较。生成电路时保留映射和位序,按需要导出 QASM。闭源 CVD 优化器的压缩效果不属于本地已验证结果。
来源与边界
上游 MIT 指南:algorithms/quantum-chemistry/molecular-dmrg。原文作为参考保存在固定检索库,本文件将执行路线改为开源 SDK。来源摘要和算法模块对应关系见coverage.json,许可证与改动说明见NOTICE。
自定义 SDK 程序
示例用于解释和接口核验,不是可执行任务的边界。用户需要其他模型、数据、算法步骤、梯度或后端时,按原生 SDK 工作台在固定环境中编写并执行自定义代码;由 Agent 完成程序与工件交付。使用 quantum-algorithms 环境定位相关 SDK,保留本算法的数学假设与数值误差说明。
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.
- 4d ago Changed · +4 lines 8e686be4ad15
- 22d ago First seen · 41 lines · 82 tokens per session scan A bbc4a59655b0
quantum-molecular-dmrg is a skill published in the GitHub repository xi-zhao/OpenQuantum (75 stars, last pushed yesterday), licensed MIT. It adds 82 tokens to every session and 1,091 once invoked, about $0.0003 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.
Other skills, from other repositories
academic-research
Search academic papers, scholarly articles, and research publications through SandBase. Use when asked for literature review, academic citations, scholarly research, paper discovery, or scientific evidence gathering.
rhylthyme
Schedule multi-step procedures that a person carries out against a clock, with parallel tracks, shared equipment and steps that end when the person says so. Use when turning a lab protocol, recipe, event run sheet or workout into a timed plan; when several procedures must share one instrument (one centrifuge, one…
memory-search-mcp
Long-term memory and context retrieval for AI agents. Semantic search across conversation history with care-weighted relevance.
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…
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…
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…