Borrowing it
Nothing to install: this file belongs to xi-zhao/OpenQuantum. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/xi-zhao/OpenQuantum/main/.agents/skills/qec-memory-experiment/SKILL.mdgit 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/qec-memory-experiment)<a href="https://agentmods.dev/skills/xi-zhao/openquantum/qec-memory-experiment"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/qec-memory-experiment.svg" alt="Measured on agentmods" 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.00119 | $0.00689 |
| Opus 5 | $0.00060 | $0.00345 |
| Sonnet 5 | $0.00024 | $0.00138 |
| Haiku 4.5 | $0.00012 | $0.00069 |
Grade A, and why
qec-memory-experiment 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 yesterday.
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.
What it actually says
QEC Memory Experiment
核心对象
核心对象是一份可重放的 surface-code memory 实验配置:basis、code distance、rounds、shots、统一物理错误率和 seed。Stim 生成并采样电路,PyMatching 从 detector error model 构建 MWPM 解码器。
固定边界:
basis:x或z;distance: 奇数 3、5、7;rounds: 1–20;shots: 100–50,000;physicalErrorRate: 0–0.05;seed: 0–2^32-1。
统一错误率同时用于 Clifford 后退极化、每轮数据退极化、测量翻转和 reset 翻转。这是版本化实验 profile,不代表某台真实 QPU 的校准模型。
工作流
- 选择 basis、distance、rounds、shots、physicalErrorRate 和显式 seed。
- 调用
run_qec_memory_experiment。主动作加载固定环境并返回packages;首次调用可能下载依赖并写入工作区环境,无需单独检查运行时。 - 报告实际包版本、电路/DEM 摘要与 SHA-256、逻辑错误数、逻辑错误率、标准误和 Wilson 95% 区间。
- 检查 observations:实验摘要、seed、计数恒等式、错误率重算、区间边界、零噪声不变量、来源链。
- 比较多组实验时,每组都保留固定 shots 与 seed 策略;不要选择性丢弃失败点。环境不可用时报告工具错误,不编造结果。
解释规则
- 零逻辑错误不等于真实错误率为零,必须同时报告 shots 和 Wilson 区间。
- 单个 distance、单个物理错误率的结果不能证明 threshold。
- 不同 distance 的比较必须使用同一噪声 profile 和可比 shots。
physicalErrorRate是模拟器参数,不是硬件校准事实。- 工具完成只产生
observations_available;Result Package 和 Session Event Log 未物化时,不宣称最终科学验收通过。
输出格式
- 固定实验配置和包版本;
- code task、电路/DEM 规模与摘要;
- 逻辑错误数/率、标准误、Wilson 95% 区间;
- validation observations;
- 明确写出不能支持的 threshold 与硬件结论。
What ships with it
6 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.
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.
- yesterday Changed · -1 lines c87d234d0077
- 7d ago First seen · 47 lines · 119 tokens per session scan A 0c74fe1002a1
qec-memory-experiment is a skill published in the GitHub repository xi-zhao/OpenQuantum (48 stars, last pushed yesterday), licensed MIT. It adds 119 tokens to every session and 689 once invoked, about $0.0006 per session on Opus 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.
Other skills, from other repositories
discriminating-experiment-design
Recognize when a benchmark cannot discriminate between methods, construct experiment families that could, sweep structural knobs without sweeping the decision itself, and report a tie that survives as the headline result. Use when all methods score the same on your benchmark, when designing a new evaluation world or…
i4h-catheter-navigation-e2e
End-to-end smoke for catheter navigation covering setup, digital twin, DRR, and unit tests. Use when asked to run the full catheter workflow smoke or demo the v0.7 pipeline.
i4h-catheter-navigation-render-drr
Render a single DRR fluoroscopy frame from a CT cache or synthetic phantom. Use when asked to render DRR, generate a fluoro image, or smoke-test the Slang renderer.
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.
test-first
A test-first development guide, where tests are written before the code they check. TDD, or test-driven development, means first writing a test that fails, then writing the simplest code that makes it pass.
blazemeter-performance-testing
Comprehensive guide for BlazeMeter Performance Testing, including load configuration, reporting, JMeter configuration, Taurus, scenarios, and advanced features. Use when working with Performance tests for (1) Configuring load settings and distribution, (2) Creating and running tests (JMeter, Browser, URL/API…