quantum-information-audit

quantum-information-audit is a skill for Codex from xi-zhao/OpenQuantum. It costs 99 tokens per session (1,133 once invoked), scanned A, original, MIT.

A local audit tool for density matrices, which are tables describing quantum states that may include uncertainty or mixtures. It checks mathematical properties such as trace, Hermiticity, positive semidefiniteness, purity, partial-transpose eigenvalues, and negativity.

In plain words
What is it for?
Use it to audit matrices of bounded size, calculate purity and partial-transpose results for a chosen subsystem split, and review traceable audit evidence.
Why use it?
It independently checks whether a supplied small density matrix is mathematically consistent and records which checks passed or were not performed.

Skill for Codex

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

Good fit Use it to audit matrices of bounded size, calculate purity and partial-transpose results for a chosen subsystem split, and review traceable audit evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xi-zhao/openquantum/quantum-information-audit
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-information-audit
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-information-audit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-information-audit"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-information-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,133 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.00099 $0.01133
Opus 5.5 $0.00040 $0.00453
Sonnet 5.5 $0.00020 $0.00227
Haiku 4.5 $0.00010 $0.00113

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

Security

Grade A, and why

quantum-information-audit 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 today.

The scan reads SKILL.md. This mod also ships 8 executable files (core/render-report.mjs, evals/run-evals.mjs, mcp/bridge.py, …), 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-information-audit/SKILL.md · 61 lines

How it starts

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

量子信息审计

原生 SDK 路径

本能力同时支持 toqito 的原生公开 API。用户需要 态、信道、矩阵、熵、纠缠、态区分与优化接口 时,由 Agent 在固定依赖环境中编写和运行任务代码,不限于下文便捷 Tool 的预设模型。

使用 node scripts/sdk-access.mjs inspect quantum-information-audit 定位环境,按完整 SDK 工作流执行。模块导航:toqito;导航不是 API 白名单。

下文关于模型、门集、输入与预算的限制描述便捷 Tool 的合同;原生 SDK 另受上游版本、可选依赖、宿主资源与用户授权约束。已禁用或被拒绝的动作不能借代码路径绕过。执行状态和科研验收分别报告。

核心边界

本能力只审计用户已经给出的密度矩阵。核心对象是版本化的审计请求:复矩阵的实部/虚部、子系统维数,以及需要做部分转置的子系统索引。

  • toqito MCP-exposed Tool 产生数值事实。
  • OpenQuantum Validator 用独立 JavaScript 实现重算迹、Hermiticity、正半定性、纯度、部分转置谱和 negativity。
  • MCP-exposed Tool 的结果标记 observations_available,不等于最终科学验收。只有物化 Result Package 并核对 Session Event Log 来源链后,才可能形成最终 Acceptance。

工作流

  1. 确认矩阵总维数等于 subsystemDimensions 的乘积。
  2. 明确 transposeSubsystems 采用从 0 开始的子系统索引,并且是非空真子集。
  3. 调用 audit_density_matrix。复矩阵用 matrixReal 和可选的 matrixImag 表示;未给虚部时按全零处理。主动作加载固定环境并返回 packageVersion,依赖须显式准备;缺失或旧锁环境返回准备命令,不在 Tool 中安装。
  4. 分栏报告实际包版本及:
    • toqito 事实;
    • 独立 Validator observations;
    • 失败、不检查项和适用范围。
  5. 确认 tool/result 是否包含 acceptance_available 与 Result Commit;只有可信 Host Plugin 通过 内部 Scientific Result Adapter 进入 Materializer,并完成物化、重读和校验时,才能按 central Acceptance Builder 推导的状态报告最终验收。
  6. DSH 物化成功时交付 readable-report.md、Acceptance Report 和 Result Commit 的路径。可读报告由重读后的证据生成,不依赖模型最终说明;只读会话不能写报告,也不能因此宣称验收完成。
  7. 不把 negativity 写成普适的纠缠分类结论;它只对应本次指定的二分和部分转置判据。

必须保持的规则

  • 不提交云任务或真实量子硬件任务。
  • 不接受调用方自定义容差;容差由版本化 Acceptance Profile 固定。
  • provenance.complete=not_checked 时不得宣称科学验收通过。
  • 不凭 MCP-exposed Tool 的文本内容自行推断 passed;最终状态必须来自 Harness 物化后的 Acceptance Report。
  • 工具失败、科学 observation 失败、来源链未检查是三种不同状态。
  • 不从分子结构、实验层析数据或任意量子信道自动推导密度矩阵。

示例

Bell 态 |Phi+><Phi+| 使用 subsystemDimensions=[2,2]、transposeSubsystems=[0]。预期纯度为 1、部分转置最小本征值为 -0.5、negativity 为 0.5;仍需以实际工具事实和 Validator observations 为准。

密度矩阵维数、子系统分解与待转置子区由调用方选择,适配器不额外设置人工规模上限。具体资源配置见本地计算说明。

Read the full file on GitHub · 61 lines

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. today Changed · +1 lines 4c35585aa189
  2. 15d ago Changed · +11 lines d0bd3836f449
  3. 1mo ago Changed · +4 lines 0d6498595c26
  4. 1mo ago Changed · +2 lines · -2 tokens per session dba3e8d8ae36
  5. 1mo ago Changed · -1 lines f1c3a580d446
  6. 1mo ago First seen · 44 lines · 101 tokens per session scan A 056f71a0dbc7

Subscribe to this mod's changes

quantum-information-audit is a skill published in the GitHub repository xi-zhao/OpenQuantum (71 stars, last pushed today), licensed MIT. It adds 99 tokens to every session and 1,133 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

arxiv-guide

Resolve citations to arXiv IDs, find an author's papers, follow a paper's versions, and read long papers section by section with the arxiv tools. Use when a task needs arXiv preprints found by citation (author-year, CoRR abs/ refs, arXiv DOIs), author, category, or date, or needs a paper's full text.

cyanheads/arxiv-mcp-server · 81 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