quantum-heat-1d

quantum-heat-1d is a skill for Claude Code, Codex from xi-zhao/OpenQuantum. It costs 76 tokens per session (980 once invoked), scanned A, original, MIT.

A runnable open-source implementation of the one-dimensional heat equation, which describes how temperature spreads along a line over time. It uses a quantum-circuit method that rewrites the heat problem into a form suitable for simulation.

In plain words
What is it for?
Use it to study a one-dimensional heat problem with periodic or zero-temperature boundary conditions, set values such as diffusivity and time, and run the example or a JSON-defined input.
Why use it?
It gives a defined workflow for explaining, calculating, or changing this specific heat model without relying on the original proprietary or unavailable backend. It also separates numerical errors from the actual result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to study a one-dimensional heat problem with periodic or zero-temperature boundary conditions, set values such as diffusivity and time, and run the example or a JSON-defined input.

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

Made for: Claude Code, 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-heat-1d

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-heat-1d"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-heat-1d.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 980 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.00076 $0.00980
Opus 5.5 $0.00030 $0.00392
Sonnet 5.5 $0.00015 $0.00196
Haiku 4.5 $0.00008 $0.00098

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

Security

Grade A, and why

quantum-heat-1d 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.

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-heat-1d/SKILL.md · 43 lines

What it actually says

heat_1d

本地开源适配。上游指南 ID:algorithms/schrodingerization/heat-1d-schrodingerization。

适用方法

齐次一维热方程,周期或零 Dirichlet 边界;显式辅助 Fourier 寄存器的幺正薛定谔化电路、截面恢复和离散热方程参照。

使用步骤

  1. 先识别用户是在询问原理、要求运行,还是要求生成/修改代码;仅解释时不自动开始计算。
  2. 阅读共同运行说明和本地实现。可通过已有 quantum_practices Tool 的 get 动作、id=algorithms/schrodingerization/heat-1d-schrodingerization 读取完整理论、原始参数和推导;其中的外部安装命令及 UnitaryLab 后端要求不适用于本地执行。
  3. 根据任务准备实际输入,核对下面的参数签名。省略输入只会运行教学示例,不能把它冒充用户数据的结果。需要示例以外的 ansatz、oracle、边界条件或输出时,基于开源 SDK 生成可审查的任务代码。
  4. 使用 Harness 已有的 bash(Windows 为 pwsh)Tool 执行。在 OpenQuantum 仓库根目录,先检查示例 Python 环境;缺少依赖时显式执行 npm run capability:algorithms:setup -- --minimal。执行和安装均受现有 Harness 权限、审批、超时及 Job 管理约束。Skill 不启动服务。
  5. 读取实际结果和错误;保留输入、依赖版本、种子、近似参数与输出。优化未收敛、后选择概率低、码距未计算或样本不足都必须按实际字段报告。通过经典对照或收敛检查支持数值结论;最终科学验收仍为 not_evaluated。

参数:

heat_1d(points=4, diffusivity=0.1, time=0.05, length=1.0, boundary='dirichlet', initial=None, auxiliary_points=128, half_width=8.0, recovery_p=1.0)

最小可运行示例(macOS/Linux;Windows Python 路径见共同说明):

examples/quantum-algorithms/.venv/bin/python examples/quantum-algorithms/run.py --algorithm heat_1d

用户参数写入 JSON 文件,追加 --input <path>;需要保留报告时追加 --output <path>。输入规模由用户选择,不能把示例默认值当成算法上限。

来源与边界

上游 MIT 指南:algorithms/schrodingerization/heat-1d-schrodingerization。原文作为参考保存在固定检索库,本文件将执行路线改为开源 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. 1mo ago Changed · +4 lines 0ab3cb90df87
  2. 2mo ago First seen · 39 lines · 76 tokens per session scan A 354dc678286d

Subscribe to this mod's changes

quantum-heat-1d is a skill published in the GitHub repository xi-zhao/OpenQuantum (75 stars, last pushed yesterday), licensed MIT. It adds 76 tokens to every session and 980 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.

Related

quantum-heat-1d compared with skills from other repositories

quantum-heat-1d next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quantum-heat-1dxi-zhao/OpenQuantumSkill75yesterdayMITA76Claude Code, Codex
manim-animatorsandbaseai/sandbase-skillsSkill2137d agoApache-2.0A59Claude Code
academic-researchsandbaseai/sandbase-skillsSkill2137d agoApache-2.0A39Claude Code
academic-trend-researchsandbaseai/sandbase-skillsSkill2137d agoApache-2.0A43Claude Code
openalex-guidecyanheads/openalex-mcp-serverSkill1812d agoApache-2.0A96Claude Code
arxiv-guidecyanheads/arxiv-mcp-serverSkill72d agoApache-2.0A81Claude Code
alexandriaThe-40-Thieves/alexandria-mcpSkill313d agoMITA71Claude Code