pychemiq-chemistry SKILL.md skillA
pychemiq-chemistry from xi-zhao/openquantum is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add xi-zhao/openquantum/pychemiq-chemistry@git:20261012.5ce3b3ePins git:20261012.5ce3b3e in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- xi-zhao/openquantum
- Path
.agents/skills/pychemiq-chemistry/SKILL.md- Versions recorded
- 2
- Latest version
- git:20261012.5ce3b3e, committed Oct 12, 2026
- First version recorded
- Sep 28, 2026
- Size
- 2,950 bytes
- Repository stars
- 71
- License
- MIT
用本源 pyChemiQ 把结构化费米产生湮灭算符经 Jordan-Wigner 变换映射为复系数 Pauli 算符。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# pyChemiQ 费米算符映射
<!-- BEGIN NATIVE SDK ACCESS -->
## 原生 SDK 路径
本能力同时支持 **PyChemiQ 的原生公开 API**。用户需要 分子、映射、ansatz、VQE 与化学计算接口 时,由 Agent 在固定依赖环境中编写和运行任务代码,不限于下文便捷 Tool 的预设模型。
使用 `node scripts/sdk-access.mjs inspect pychemiq-chemistry` 定位环境,按[完整 SDK 工作流](../quantum-sdk-workbench/references/workflow.md)执行。模块导航:`pychemiq`;导航不是 API 白名单。
下文关于模型、门集、输入与预算的限制描述便捷 Tool 的合同;原生 SDK 另受上游版本、可选依赖、宿主资源与用户授权约束。已禁用或被拒绝的动作不能借代码路径绕过。执行状态和科研验收分别报告。
<!-- END NATIVE SDK ACCESS -->
Agent 经 Harness 调用 `pychemiq_local` 的 `map_pychemiq_fermions`,为电子结构模型映射和反对易关系核对提供 pyChemiQ 后端。
输入 `numModes` 和 `terms`。每项包含复 `coefficient={real,imaginary}`,以及有序 `operators` 列表,其中每个元素为 `{mode,action}`,`action` 是 `create` 或 `annihilate`。列表表示从左到右的算符乘积,**最右算符最先作用**;空列表表示恒等项。模式从 0 编号,未使用的模式保留为恒等 Pauli 因子。
输出 Jordan-Wigner 映射后的复系数 Pauli 项,最左字符代表 mode/qubit 0;重复项用稳定求和相加,只删除精确零项。为避免 SDK 默认 `1e-6` 截断,适配先由真实 SDK 映射单位产生/湮灭算符,再用 SDK 的零阈值 Pauli 运算逐步合成,最后乘原始复系数;长乘积每步合并重复项。非零系数低于浮点表示范围或聚合溢出时明确失败,不返回假的零算符。该动作不要求输入厄米或守粒子数,不会替用户自动加厄米共轭。分析分子 Hamiltonian 时应在输入中明确包含全部所需项。
…Read the whole file at its exact version.
How to install
mdr add xi-zhao/openquantum/pychemiq-chemistry@sha256:a3978259f8af58b3The line at the top of this page pins the label git:20261012.5ce3b3e, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_2ogjhqm2q3xd7yw4)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 2 versions of this file, between Sep 28, 2026 and Oct 12, 2026, about one every 14 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261012.5ce3b3e latest | 2026-10-12 | 5ce3b3e | 2,950 B | A | view · diff |
| git:20260928.4386e3d | 2026-09-28 | 4386e3d | 2,131 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (2950 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
xi-zhao/openquantum · 71 stars · license MIT · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_2ogjhqm2q3xd7yw4 GET https://markdownregistry.com/api/v1/resolve?ref=xi-zhao/openquantum/pychemiq-chemistry GET https://markdownregistry.com/api/v1/blob/a3978259f8af58b30a3f4f15e02881868196d5960f0aaa58400c6167ad005cde
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.