quantum-guide-simulators-pennylane

quantum-guide-simulators-pennylane is a skill for Claude Code, Codex from xi-zhao/OpenQuantum. It costs 40 tokens per session (446 once invoked), scanned A, original, MIT.

A guide for running quantum algorithms with PennyLane, an open-source Python library for building and simulating quantum circuits. It routes a problem to a more specific local algorithm guide and uses a locked software environment.

In plain words
What is it for?
Use it to select and run PennyLane-based workflows for differentiable circuits, state preparation, quantum signal processing, and related algorithms on a local CPU simulator.
Why use it?
It avoids choosing a simulator blindly and makes important differences explicit, such as qubit order, the number of measurement samples, and the difference between an exact simulated state and sampled results.

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 select and run PennyLane-based workflows for differentiable circuits, state preparation, quantum signal processing, and related algorithms on a local CPU simulator.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/xi-zhao/openquantum/quantum-guide-simulators-pennylane"><img src="https://agentmods.dev/badge/skills/xi-zhao/openquantum/quantum-guide-simulators-pennylane.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 446 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.00040 $0.00446
Opus 5.5 $0.00016 $0.00178
Sonnet 5.5 $0.00008 $0.00089
Haiku 4.5 $0.00004 $0.00045

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

Security

Grade A, and why

quantum-guide-simulators-pennylane 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-guide-simulators-pennylane/SKILL.md · 23 lines

What it actually says

simulators/pennylane

本地开源适配。上游指南 ID:simulators/pennylane。

后端工作流

阅读共同运行说明,使用锁定的 PennyLane 环境。最小可运行例子见 quantum-mottonen、quantum-qsvt-qlsa、quantum-pauli。

根据问题加载一个对应算法 Skill,再通过已有 bash/pwsh Tool 执行开源任务代码。明确量子位顺序、shots 与解析态矢量的区别、后端和版本。先运行 CPU 小例子;只有用户要求且授权时才选择额外的设备或网络后端。

来源与边界

上游 MIT 指南:simulators/pennylane。原文作为参考保存在固定检索库,本文件将执行路线改为开源 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 d2d0dcb215f6
  2. 2mo ago First seen · 19 lines · 40 tokens per session scan A c99a5142b4ec

Subscribe to this mod's changes

quantum-guide-simulators-pennylane is a skill published in the GitHub repository xi-zhao/OpenQuantum (75 stars, last pushed 2d ago), licensed MIT. It adds 40 tokens to every session and 446 once invoked, about $0.0002 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-guide-simulators-pennylane compared with skills from other repositories

quantum-guide-simulators-pennylane next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
quantum-guide-simulators-pennylanexi-zhao/OpenQuantumSkill752d agoMITA40Claude Code, Codex
manim-animatorsandbaseai/sandbase-skillsSkill2138d agoApache-2.0A59Claude Code
academic-researchsandbaseai/sandbase-skillsSkill2138d agoApache-2.0A39Claude Code
academic-trend-researchsandbaseai/sandbase-skillsSkill2138d agoApache-2.0A43Claude Code
openalex-guidecyanheads/openalex-mcp-serverSkill1813d agoApache-2.0A96Claude Code
arxiv-guidecyanheads/arxiv-mcp-serverSkill73d agoApache-2.0A81Claude Code
alexandriaThe-40-Thieves/alexandria-mcpSkill314d agoMITA71Claude Code