← Back to Skills Marketplace
quantum-sim
by
MichaelZhangty
· GitHub ↗
· v1.0.0
· MIT-0
283
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install quantum-sim
Description
Simulate quantum circuits up to 20 qubits with common gates, built-in presets, QASM input, and output statevector plus measurement probabilities.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install quantum-sim - After installation, invoke the skill by name or use
/quantum-sim - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is quantum-sim?
Simulate quantum circuits up to 20 qubits with common gates, built-in presets, QASM input, and output statevector plus measurement probabilities. It is an AI Agent Skill for Claude Code / OpenClaw, with 283 downloads so far.
How do I install quantum-sim?
Run "/install quantum-sim" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is quantum-sim free?
Yes, quantum-sim is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does quantum-sim support?
quantum-sim is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created quantum-sim?
It is built and maintained by MichaelZhangty (@michaelzhangty); the current version is v1.0.0.
More Skills