Q-Route / README.md
jay2219's picture
v1.0.0
183b2d3
|
Raw
History Blame Contribute Delete
1.46 kB
---
title: Q-Route-70B Quantum Circuit Topology Router
emoji: ⚛️
colorFrom: purple
colorTo: indigo
sdk: gradio
sdk_version: 6.20.0
app_file: app.py
pinned: false
hardware: zero-a100
license: apache-2.0
short_description: Compile OpenQASM 2.0 circuits onto hardware topologies.
---
# ⚛️ Q-Route-70B — Quantum Circuit Topology Router
An interactive web interface powered by **Q-Route-70B** and **Adaption AutoScientist** to compile abstract OpenQASM 2.0 circuits onto physical QPU hardware connectivity graphs (Line, Ring, Star, Grid, and IBM Heavy-Hex).
## Features
- **Abstract OpenQASM 2.0 Input**: Paste abstract quantum circuit code or choose pre-loaded presets (Bell State, GHZ State, QFT-3, Hard Circuit).
- **Physical Topology Selection**: Choose hardware connectivity maps (`Linear 5-Qubit`, `Ring 7-Qubit`, `Star 6-Qubit`, `Grid 3x3 Lattice`, `IBM Heavy-Hex 16-Qubit`, or custom edge JSON).
- **ZeroGPU Model Serving**: Primary hero model Q-Route-70B served on HuggingFace ZeroGPU (A100 80GB) with HF Inference API fallback.
- **Side-by-Side Model Comparison**: Compare Q-Route-70B against closed-source (Gemini API) and open-source models (HF Inference API).
- **Three Custom Visualizations**:
1. Topology Graph with Routing Path Overlay (`networkx` + `matplotlib`)
2. Circuit Diagram Before vs After (`qiskit`)
3. Generation Quality Bar Chart (`plotly`)
- **Live Session Scoreboard**: Tracks Pass@1 compliance in real-time.