quantum-guide-algorithms-primitives

quantum-guide-algorithms-primitives is a skill for Claude Code from xi-zhao/OpenQuantum. It costs 35 tokens per session (719 once invoked), scanned A, original, MIT.

A guide for choosing open-source quantum algorithms for common building blocks such as Grover search, amplitude estimation, and quantum Fourier transforms. Quantum algorithms use circuits that run on quantum simulators or quantum hardware.

In plain words
What is it for?
Use it to select and run a Qiskit-based circuit for amplitude methods, Grover search, Hadamard tests, Fourier transforms, or phase estimation.
Why use it?
It removes the need to search through many separate methods and helps match a problem to a suitable implementation. It also makes clear what the simulator output represents.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to select and run a Qiskit-based circuit for amplitude methods, Grover search, Hadamard tests, Fourier transforms, or phase estimation.

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

Made for: Claude Code.

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-guide-algorithms-primitives

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-guide-algorithms-primitives"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-guide-algorithms-primitives.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 719 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.00035 $0.00719
Opus 5.5 $0.00014 $0.00288
Sonnet 5 $0.00007 $0.00144
Haiku 4.5 $0.00003 $0.00072

Measured yesterday against content hash c5f1fbe3b860, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-26, from the pricing page.

Security

Grade A, and why

quantum-guide-algorithms-primitives 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.

.agents/skills/quantum-guide-algorithms-primitives/SKILL.md · 30 lines

What it actually says

algorithms/primitives

本地开源适配。上游指南 ID:algorithms/primitives。

分类导航:保留用户显式调用;自动任务直接选择叶子方法 Skill,或使用 quantum-algorithms 查找。

选择工作流

按用户的数学问题、输入表示、计算规模和需要的输出选择一个叶子 Skill。知识解释可直接使用原理;计算任务加载叶子 Skill,使用其中的开源实现和现有代码执行 Tool。无需为阅读指南启动额外服务。

  • quantum-amplitude-amplification:使用 Qiskit 的显式量子电路,保留输入、方法参数、实际概率或态矢量;模拟器全态读取不代表硬件可高效读取。
  • quantum-amplitude-estimation:使用 Qiskit 的显式量子电路,保留输入、方法参数、实际概率或态矢量;模拟器全态读取不代表硬件可高效读取。
  • quantum-grover:使用 Qiskit 的显式量子电路,保留输入、方法参数、实际概率或态矢量;模拟器全态读取不代表硬件可高效读取。
  • quantum-hadamard-test:使用 Qiskit 的显式量子电路,保留输入、方法参数、实际概率或态矢量;模拟器全态读取不代表硬件可高效读取。
  • quantum-hadamard-transform:使用 Qiskit 的显式量子电路,保留输入、方法参数、实际概率或态矢量;模拟器全态读取不代表硬件可高效读取。
  • quantum-qpe:使用 Qiskit 的显式量子电路,保留输入、方法参数、实际概率或态矢量;模拟器全态读取不代表硬件可高效读取。

全量条目见覆盖表。如果用户描述跨领域,按实际依赖组合相关叶子 Skill;不要要求用户先阅读整条目录链。

来源与边界

上游 MIT 指南:algorithms/primitives。原文作为参考保存在固定检索库,本文件将执行路线改为开源 SDK。来源摘要和算法模块对应关系见coverage.json,许可证与改动说明见NOTICE。

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. yesterday First seen · 30 lines · 35 tokens per session scan A c5f1fbe3b860

Subscribe to this mod's changes

quantum-guide-algorithms-primitives is a skill published in the GitHub repository xi-zhao/OpenQuantum (74 stars, last pushed 2d ago), licensed MIT. It adds 35 tokens to every session and 719 once invoked, about $0.0001 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

Other skills, from other repositories

opik-test

Turn a failing Opik trace (or a described failure) into a repeatable regression check — a test-suite item with the trace's input and one or two binary assertions — so a fix can be verified by the compare skill. Works over the SDK; uses the MCP write tool when connected. Returns the suite, the item, and the assertion.…

comet-ml/opik-mcp · 141 tokens

mcp-tool-developer

Build Model Context Protocol (MCP) servers and tools from scratch. Full-stack MCP development with TypeScript/Python, testing, deployment, and registry publishing.

LiHongwei-cn/lihongwei-cn · 38 tokens

nemo-automodel-recipe-development

Create and modify NeMo AutoModel training and evaluation recipes, including YAML structure, builders, and execution flow.

NVIDIA/skills · 31 tokens

neuron-test-engineer

Write tests for Neuron AI agents, RAG systems, workflows, and tools using the built-in testing utilities. Use this skill when the user mentions testing agents, writing unit tests, mocking AI providers, testing tool execution, verifying RAG retrieval, testing workflow behavior, or creating test cases for Neuron AI…

neuron-core/neuron-ai · 94 tokens

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.

pingfanfan/hello-dsh · 48 tokens

blazemeter-api-reference

Comprehensive reference for BlazeMeter REST APIs, including authentication, identifiers, and API endpoints. Use when working with BlazeMeter APIs for (1) Understanding BlazeMeter REST API structure, (2) Authenticating API requests, (3) Obtaining identifiers (Workspace ID, Project ID, Test ID, etc.), (4) Using Test…

Blazemeter/bzm-mcp · 109 tokens