File size: 1,457 Bytes
569d35d
183b2d3
 
569d35d
183b2d3
569d35d
183b2d3
569d35d
 
183b2d3
 
 
569d35d
 
183b2d3
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
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.