← 返回 Skills 市场
quantum-sim
作者
MichaelZhangty
· GitHub ↗
· v1.0.0
· MIT-0
283
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install quantum-sim
功能描述
Simulate quantum circuits up to 20 qubits with common gates, built-in presets, QASM input, and output statevector plus measurement probabilities.
安全使用建议
This skill runs a bundled Python script locally to simulate quantum circuits; it does not request credentials or access the network in the code shown. Before installing, ensure you are comfortable running code with your agent's permissions (the script will execute under Python 3). Do not pass paths to sensitive system files as --qasm-file (it will read any file you tell it to). If you want stricter control, disable autonomous model invocation for this skill so it cannot be called without your explicit prompt. If you need extra assurance, inspect the remainder of scripts/quantum_sim.py (the file was truncated in the listing) to verify there are no hidden network or filesystem operations beyond reading the circuit file and printing results.
功能分析
Type: OpenClaw Skill
Name: quantum-sim
Version: 1.0.0
The quantum-sim skill is a legitimate quantum circuit simulator implemented in pure Python. Analysis of scripts/quantum_sim.py shows standard mathematical implementations of quantum gates and statevector simulation without any network activity, sensitive file access, or suspicious execution logic. The SKILL.md file provides clear, functional instructions for the AI agent and contains no evidence of prompt injection or malicious directives.
能力评估
Purpose & Capability
Name/description match the included script: a pure-Python statevector simulator up to 20 qubits. Minor metadata mismatch: the SKILL.md's embedded metadata lists python3 as a required binary while the registry metadata (top-level) shows no required binaries — functionally the simulator does require Python 3 to run, which is reasonable for its stated purpose.
Instruction Scope
SKILL.md instructs running the bundled script with flags or providing a QASM file; the runtime actions are limited to local simulation, reading a user-supplied circuit file, and printing statevector/probabilities/JSON. There are no instructions to collect unrelated system data or transmit results to external endpoints.
Install Mechanism
No install spec is provided (instruction-only behavior); the skill includes a Python script shipped in the bundle. Nothing is downloaded or executed from external URLs.
Credentials
The skill declares no required environment variables or credentials and the script shown does not access environment secrets. Optional performance improvement if numpy is present is documented. Requested privileges are proportional to the functionality.
Persistence & Privilege
always is false and the skill does not request persistent or cross-skill configuration changes. Model invocation is enabled (the platform default); this is normal and not by itself a red flag.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install quantum-sim - 安装完成后,直接呼叫该 Skill 的名称或使用
/quantum-sim触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of quantum-sim: a pure Python 3 quantum circuit simulator.
- Simulates up to 20 qubits using a statevector engine; supports key single- and two-qubit gates.
- Built-in presets for Bell state, GHZ, QFT, Grover search, and quantum teleportation.
- Accepts QASM-like inline syntax or circuit files for custom simulations.
- Provides statevector output, measurement probabilities, histograms, and optional JSON output.
- No external dependencies required; uses numpy if available for performance.
元数据
常见问题
quantum-sim 是什么?
Simulate quantum circuits up to 20 qubits with common gates, built-in presets, QASM input, and output statevector plus measurement probabilities. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 283 次。
如何安装 quantum-sim?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install quantum-sim」即可一键安装,无需额外配置。
quantum-sim 是免费的吗?
是的,quantum-sim 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
quantum-sim 支持哪些平台?
quantum-sim 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 quantum-sim?
由 MichaelZhangty(@michaelzhangty)开发并维护,当前版本 v1.0.0。
推荐 Skills