quantum-bridge

Transpile quantum circuits between Qiskit (OpenQASM) and OriginIR, run IBC multi-agent consensus, validate OriginIR, and submit circuits to real quantum hardware (Wukong 72Q chip) via the Quantum Bridge API. Use when a user asks to convert quantum circuits, run quantum consensus, submit to quantum hardware, check quantum backends, or work with OriginIR/OpenQASM formats.

3,891 stars

Best use case

quantum-bridge is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Transpile quantum circuits between Qiskit (OpenQASM) and OriginIR, run IBC multi-agent consensus, validate OriginIR, and submit circuits to real quantum hardware (Wukong 72Q chip) via the Quantum Bridge API. Use when a user asks to convert quantum circuits, run quantum consensus, submit to quantum hardware, check quantum backends, or work with OriginIR/OpenQASM formats.

Teams using quantum-bridge should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/quantum-bridge/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/adjusternwachukwu-bot/quantum-bridge/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/quantum-bridge/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How quantum-bridge Compares

Feature / Agentquantum-bridgeStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Transpile quantum circuits between Qiskit (OpenQASM) and OriginIR, run IBC multi-agent consensus, validate OriginIR, and submit circuits to real quantum hardware (Wukong 72Q chip) via the Quantum Bridge API. Use when a user asks to convert quantum circuits, run quantum consensus, submit to quantum hardware, check quantum backends, or work with OriginIR/OpenQASM formats.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Quantum Bridge

Translates quantum circuits between frameworks and runs them on real hardware via the Quantum Bridge API at `quantum-api.gpupulse.dev`.

## Setup

Requires an API key. Get one free (50 credits) at https://quantum-api.gpupulse.dev

Store the key:
```bash
# In your TOOLS.md or env
QUANTUM_BRIDGE_KEY=qb_...
```

## API Reference

Base URL: `https://quantum-api.gpupulse.dev/api/v1`
Auth: `Authorization: Bearer qb_...` or `X-API-Key: qb_...`

### Transpile QASM → OriginIR (1 credit)

```bash
curl -X POST "$BASE/transpile" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"qasm": "OPENQASM 2.0;\ninclude \"qelib1.inc\";\nqreg q[2];\ncreg c[2];\nh q[0];\ncx q[0],q[1];\nmeasure q[0] -> c[0];\nmeasure q[1] -> c[1];"}'
```

Response: `{"originir": "QINIT 2\nCREG 2\nH q[0]\nCNOT q[0], q[1]\n...", "stats": {...}, "credits_charged": 1}`

### Reverse: OriginIR → QASM (1 credit)

```bash
curl -X POST "$BASE/reverse" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"originir": "QINIT 2\nCREG 2\nH q[0]\nCNOT q[0], q[1]"}'
```

### Validate OriginIR (free)

```bash
curl -X POST "$BASE/validate" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"originir": "QINIT 2\nH q[0]\nCNOT q[0], q[1]"}'
```

### IBC Consensus (2 credits)

Multi-agent quantum consensus. Each agent has a name and feature vector.

```bash
curl -X POST "$BASE/consensus" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"agents": [
    {"name": "Scheduler", "features": [0.9, 0.1, 0.3]},
    {"name": "Optimizer", "features": [0.1, 0.9, 0.2]},
    {"name": "Monitor",   "features": [0.7, 0.3, 0.5]}
  ], "threshold": 0.3}'
```

Response includes consensus groups, conflicts, similarity matrix, and quantum timing.

### Submit Circuit to Hardware (5-10 credits)

Submit to cloud simulator (5 credits) or real Wukong 72-qubit chip (10 credits).

```bash
curl -X POST "$BASE/submit" \
  -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" \
  -d '{"qasm": "OPENQASM 2.0;...", "backend": "wukong", "shots": 1000}'
```

Response: `{"task_id": "task_...", "status": "queued", "poll_url": "/api/v1/submit/task_..."}`

Poll for results:
```bash
curl "$BASE/submit/task_..." -H "Authorization: Bearer $KEY"
```

### Check Balance (free)

```bash
curl "$BASE/balance" -H "Authorization: Bearer $KEY"
```

### List Backends (free with auth)

```bash
curl "$BASE/backends" -H "Authorization: Bearer $KEY"
```

### Supported Gates (no auth)

```bash
curl "$BASE/gates"
```

## Supported Gates

20+ mappings: H, X, Y, Z, S, T, I, RX, RY, RZ, U2, U3, CNOT, CZ, SWAP, CR, Toffoli, CSWAP, DAGGER blocks, BARRIER, MEASURE.

## Usage Patterns

**Transpile for a user:**
1. Take their QASM input
2. POST to `/transpile`
3. Return the OriginIR and stats

**Run on real quantum hardware:**
1. POST to `/submit` with `"backend": "wukong"`
2. Get `task_id`
3. Poll `/submit/<task_id>` until `status` is `completed`
4. Return the measurement counts

**Multi-agent consensus:**
1. Collect agent names + feature vectors
2. POST to `/consensus`
3. Report groups, conflicts, and overlap scores

## Credit Costs

| Endpoint | Credits |
|----------|---------|
| transpile | 1 |
| reverse | 1 |
| validate | 0 |
| consensus | 2 |
| submit (simulator) | 5 |
| submit (wukong) | 10 |

## Pricing

- Free: 50 credits
- Starter: 500 credits — $5 USDC
- Pro: 5,000 credits — $25 USDC
- Enterprise: 50,000 credits — $100 USDC

Payment: USDC on Solana (contact for details)

Related Skills

deBridge MCP Skill

3891
from openclaw/skills

Enable AI agents to execute non-custodial cross-chain cryptocurrency swaps and transfers via the deBridge protocol.

devops-bridge

3891
from openclaw/skills

Unified developer operations bridge connecting GitHub, CI/CD (GitHub Actions), Slack, Discord, and issue trackers (Linear, Jira, GitHub Issues) into cross-tool automated workflows. Sends context-rich CI failure notifications to Slack with failing test details, tracks PR review lifecycle with escalating reminders, generates daily dev standup summaries, syncs issue status when PRs are merged, detects flaky tests, and monitors repository health. Use this skill for: PR review reminders, CI build alerts, "what happened in my repos", "any failing builds", "who needs a review", dev team standup summary, deploy notifications, repository monitoring, connecting GitHub to Slack, linking PRs to Jira/Linear tickets, code review tracking, merge conflict alerts, or any request to bridge development tools together. If the user mentions GitHub AND Slack (or any two dev tools) together, this skill connects them.

cli-agent-bridge

3891
from openclaw/skills

Public ClawHub text release for a Windows companion skill that bridges local AI CLIs and controlled workspace file operations. This release documents the capability and setup path, but does not include the local PowerShell execution layer.

prestashop_bridge_v1

3891
from openclaw/skills

Secure skill pack for operating a PrestaShop 9 Bridge through a stable, signed, asynchronous API contract.

toybridge

3891
from openclaw/skills

Control any BLE toy that has been reverse-engineered and connected via the ToyBridge server. Calls a local HTTP API to send vibrate/stop commands. Requires the ToyBridge server running on the same machine.

api-bridge

3891
from openclaw/skills

Curated free public APIs for AI agents — geocoding, weather, forex, validation, facts, finance, and test data. Use when an agent needs real-world data without paid API keys.

feishu-bridge

3891
from openclaw/skills

Connect a Feishu (Lark) bot to Clawdbot via WebSocket long-connection. No public server, domain, or ngrok required. Use when setting up Feishu/Lark as a messaging channel, troubleshooting the Feishu bridge, or managing the bridge service (start/stop/logs). Covers bot creation on Feishu Open Platform, credential setup, bridge startup, macOS launchd auto-restart, and group chat behavior tuning.

cross-disciplinary-bridge-finder

3891
from openclaw/skills

Use when identifying collaboration opportunities across fields, finding experts in complementary disciplines, translating methodologies between scientific domains, or building interdisciplinary research teams. Identifies synergies between scientific disciplines, matches researchers with complementary expertise, and facilitates cross-domain collaborations. Supports interdisciplinary grant applications and innovative research team formation.

codex-bridge

3891
from openclaw/skills

Dispatch coding tasks to the local OpenAI Codex CLI with background execution, status polling, and answerable clarifying questions. Use when OpenClaw should delegate script building, code edits, refactors, or multi-step coding work to Codex from the command line.

space-autonomy-quantum

3891
from openclaw/skills

Autonomous space navigation agent using optical quantum kernels for terrain classification.

optical-quantum-kernel

3891
from openclaw/skills

Simulates a quantum kernel using optical fiber storage and linear optics.

nerve_bridge

3891
from openclaw/skills

Bi-directional control of Trae via macOS AppleScript with built-in feedback mechanism. Use when needing to execute code/commands in Trae IDE and wait for completion confirmation.