unitarylab/quantum-practices ↗★ 0
dsh-unitarylab-quantum-practices
适用于DeepSeek Harness的量子算法最佳实践工具包插件。
AI 分析
核心用途是为智能体提供量子计算领域的专业知识库与代码生成指导。适合在使用DSH进行量子算法(如Grover、HHL等)开发与研究的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:unitarylab/quantum-practices說明文件
閱讀完整 README ↗💡 Usage
This skill is automatically invoked by Copilot when you ask about quantum computing topics. The agent reads the relevant SKILL.md files and drills down to the appropriate leaf-level guide before generating any code.
Example prompts:
| Prompt | What happens |
|---|---|
Implement Grover's algorithm using UnitaryLab | Loads primitives guide — amplitude amplification |
Explain the HHL algorithm with a 2×2 example | Loads linear-systems/hhl guide with matrix demo |
Simulate 1D heat equation with Schrodingerization | Loads schrodingerization/heat-1d guide |
Compare Trotter and QDrift for Hamiltonian simulation | Loads hamiltonian-simulation guide |
Run Shor's algorithm on n=15 | Loads cryptography/shor guide |
使用 Bun(推荐)
bunx skills add https://github.com/unitarylab/quantum-practices
使用 npm / npx
npx skills add https://github.com/unitarylab/quantum-practices
命令会将技能放置到工作区的 `.agents/skills/quantum-practices/` 目录下,Copilot 将自动发现并加载它。
**或手动克隆:**
```bash
### 💡 使用方法
在 VS Code 中向 Copilot 提问量子计算相关问题时,该技能会自动被调用。Agent 会逐级读取对应的 `SKILL.md` 文件,找到最匹配的叶级指南后再生成代码。
**prompt 示例:**
| Prompt | 触发行为 |
|--------|---------|
| `用 UnitaryLab 实现 Grover 算法` | 加载基元指南 — 振幅放大 |
| `解释 HHL 算法,并给出 2×2 的示例` | 加载线性系统/hhl 指南,含矩阵示例 |
| `用 Schrodingerization 模拟一维热方程` | 加载 schrodingerization/heat-1d 指南 |
| `比较 Trotter 和 QDrift 在哈密顿量模拟中的异同` | 加载哈密顿量模拟指南 |
| `对 n=15 运行 Shor 算法` | 加载密码学/shor 指南 |
---