quantum-ground-state

quantum-ground-state is a skill for Codex from xi-zhao/OpenQuantum. It costs 103 tokens per session (1,043 once invoked), scanned A, original, MIT.

A narrowly defined quantum solver for the ground-state energy of a two-quantum-bit Pauli Hamiltonian in a specified one-excitation sector. It uses a noiseless statevector VQE and checks the result against an exact calculation; VQE is a method that searches for a low-energy quantum state.

In plain words
What is it for?
Use it to solve and validate supported two-quantum-bit Hamiltonians, compare VQE convergence with the exact reference, and create result or reproduction reports.
Why use it?
It limits the calculation to a problem that can be independently checked, separating the computed result from scientific acceptance.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to solve and validate supported two-quantum-bit Hamiltonians, compare VQE convergence with the exact reference, and create result or reproduction reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xi-zhao/openquantum/quantum-ground-state
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-ground-state
Clone the repo
git clone --depth 1 https://github.com/xi-zhao/OpenQuantum

Made for: Codex.

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-ground-state

README.md
[![agentmods](https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-ground-state/github.svg)](https://agentmods.dev/skills/xi-zhao/openquantum/quantum-ground-state)
Your own site
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-ground-state"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-ground-state/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-ground-state

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-ground-state"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-ground-state.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,043 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00103 $0.01043
Opus 5.5 $0.00041 $0.00417
Sonnet 5.5 $0.00021 $0.00209
Haiku 4.5 $0.00010 $0.00104

Measured 1mo ago against content hash 5f3e05bb945a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

quantum-ground-state 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 1mo ago.

The scan reads SKILL.md. This mod also ships 12 executable files (core/contracts.mjs, evals/run-evals.mjs, scripts/lib/canonicalize.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-ground-state/SKILL.md · 73 lines

How it starts

The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Quantum Ground State

能力边界

这个 Skill 只支持一个窄而可验证的科学主张:对用户提供的二量子位实 Pauli 和,在固定 hamming-weight=1 扇区内计算基态能量。执行方法固定为无噪 statevector VQE,并用独立的 实对称 2×2 闭式对角化提供参考。

把输入 Hamiltonian 当作用户提供的问题定义,不从名称或标签推断分子来源。 完整边界见 references/SCOPE.md,数值约定见 references/NUMERICAL-CONVENTIONS.md。

执行工作流

  1. 按 inputs/request.schema.json 检查结构,并由 solver 再做语义 preflight。
  2. 明确拒绝 QAOA、Pauli Y、复系数、错误单位、其他粒子扇区、更多量子位、shots 和噪声。
  3. 普通用户请求调用原生 Tool solve_and_validate_ground_state;它在一次确定性调用内生成六类事实并运行独立 Validator。
  4. facts-only 求解和已物化 Result Package 重验是内部 solver/Validator 接口,不增加到模型可见 Tool surface。
  5. 组合 Tool 自己的 provenance.complete 必须保持 not_checked;不得伪造 Session、路径或摘要让它通过。
  6. OpenQuantum 的可信 Host Plugin 从真实 Session/Tool 身份进入内部 Scientific Result Adapter; Materializer 使用 ctx.fs 物化、重读和校验 Result Package,Validator 只对重读后的结构化 证据产生 observations,central Acceptance Builder 再汇聚 Acceptance Profile、observations 和 provenance 推导科学结论。
  7. 需要评分或复现时,分别生成 Score Report 或 Reproduction Report;不得从运行完成推导它们。

本地事实求解命令:

node scripts/solve.mjs <request.json> <new-output-directory>

目标目录中任何同名 Artifact 已存在时必须拒绝覆盖。

产物合同

  • problem-spec
  • hamiltonian-manifest
  • exact-reference
  • ground-state-result
  • convergence-trace
  • resource-estimate

六类 Artifact 都是 additionalProperties: false 的 JSON 事实对象。不要在其中增加:

  • status、score、acceptance 或“已复现”结论;
  • Model 的主观置信度;
  • 没有来源链的分子/化学主张;
  • API key、凭证、绝对路径或 Harness 身份。

科学验收规则

权威规则位于 acceptance-profiles/supplied-pauli-statevector-v1.1.json。 当前请求使用 Profile 1.1.0,按请求预算检查资源使用;1.0.0 文件保留作历史记录。 1.6 mHa 只适用于这个 Profile,不是所有体系的普适标准。必须同时检查作用域、canonical digest、 Hermiticity、扇区不变性、精确参考重算、归一化、期望值回放、变分下界、收敛和 provenance。

若 optimizer 未收敛,solver 仍可产生有限事实,但 Validator 必须使必需的 vqe.converged 检查失败; 不得把它包装成科学成功。

解释要求

对用户解释时明确区分:这是“给定 Hamiltonian 的扇区基态”,不是完整的分子 Hamiltonian/FCI 工作流。 Model 可以解释 Result/Report,但不能修改中央 Acceptance Builder 基于 Validator observations、Profile 和 来源链推导的结论。

Read the full file on GitHub · 73 lines

Files

What ships with it

43 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed · +3 lines 5f3e05bb945a
  2. 1mo ago Changed d611358c2fad
  3. 1mo ago First seen · 70 lines · 103 tokens per session scan A 2ee1416308cb

Subscribe to this mod's changes

quantum-ground-state is a skill published in the GitHub repository xi-zhao/OpenQuantum (71 stars, last pushed today), licensed MIT. It adds 103 tokens to every session and 1,043 once invoked, about $0.0004 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-08-30.

Related

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.

sandbaseai/sandbase-skills · 39 tokens

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…

rhylthyme/rhylthyme-mcp · 167 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

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