quantum

Build, simulate, and verify small quantum circuits in a browser-based statevector simulator.

465|41|Updated Aug 4, 2026
One-click install
npx skills add https://github.com/autonomous-ai/openharness --skill quantum-autonomous-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: quantum
Source: https://github.com/autonomous-ai/openharness/tree/main/store/agents/quantum-studio/skills/quantum
Command: npx skills add https://github.com/autonomous-ai/openharness --skill quantum-autonomous-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve? Designing and validating small quantum circuits requires a simulator that shows the full statevector, per-qubit Bloch vectors, and Born-rule probabilities, plus a repeatable way to prove the circuit is correct before sharing it. ## Core Features & Use Cases - Circuit validation and simulation: Validates circuit.json (1–8 qubits, up to 256 gates, H/X/Y/Z/S/T/SDG/TDG/RX/RY/RZ/CX/CZ/SWAP) and computes the exact normalized statevector with a shared Node/browser engine. - Interactive viewer build: Embeds the circuit into a standalone index.html where users can edit gates, scrub the timeline, adjust rotation angles, view Bloch spheres and amplitudes, and sample shots. - Automated proof and screenshots: Runs Node-based statevector proofs and Playwright-driven browser checks that capture screenshots and performance data, writing a readiness verdict to .harness/verdict.json. - Use Case: Define a Bell state in circuit.json, run the build script to generate the interactive simulator, then run the proof script to confirm the 50/50 |00⟩/|11⟩ distribution before handing the page to a colleague. ## Quick Start Create a circuit.json describing your qubits and gates, then ask the agent to build and prove the quantum circuit with the quantum skill.

Frequently Asked Questions about quantum

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate a quantum circuit from a JSON file?▼

Define qubits and gates in circuit.json, then run the build script to validate the schema and simulate the statevector. The proof script prints the norm and per-basis-state probabilities so you can confirm the expected output distribution.

What quantum gates are supported by this statevector simulator?▼

Supported gates are H, X, Y, Z, S, T, SDG, TDG, RX, RY, RZ, CX (alias CNOT), CZ, and SWAP. Rotation gates take theta in radians, and two-qubit gates require distinct control and target indices.

What are the circuit size limits for the simulator?▼

Circuits support 1 to 8 uniquely named qubits, at most 256 gates, and 1 to 100,000 shots. Arbitrary matrices and mid-circuit measurements are not supported; only terminal measure markers are allowed.

Does the shot sampler collapse the quantum state?▼

No. The sampler draws computational-basis outcomes from the joint Born probabilities without collapse, noise, or hardware jobs. The displayed state always remains the premeasurement statevector.

Why does a Bell pair show short Bloch vectors instead of unit vectors?▼

Each qubit of a Bell pair is individually maximally mixed with purity 0.5, so its reduced Bloch vector has near-zero length. The vectors are reduced single-qubit expectations and must not be normalized for display.

Do edits made in the browser viewer get saved automatically?▼

No. Gate edits, timeline scrubbing, and angle changes stay in browser memory only. Use the download button to export the circuit JSON and save it to the workspace to persist changes.