Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -2,17 +2,24 @@
|
|
| 2 |
VPP Quantum Scheduler — Frontend v4
|
| 3 |
Paradox Systems R&D
|
| 4 |
|
| 5 |
-
|
| 6 |
-
|
| 7 |
"""
|
| 8 |
|
| 9 |
import gradio as gr
|
| 10 |
import requests
|
| 11 |
import os
|
| 12 |
|
| 13 |
-
BACKEND_URL = os.environ.get("VPP_BACKEND_URL"
|
| 14 |
-
ACCESS_PASSWORD = os.environ.get("VPP_ACCESS_PASSWORD"
|
| 15 |
-
API_KEY = os.environ.get("VPP_API_KEY"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
API_HEADERS = {"X-API-KEY": API_KEY}
|
| 17 |
|
| 18 |
PRESETS = {
|
|
@@ -283,20 +290,18 @@ Contact **albertoduarte@paradoxsystems.xyz** or WhatsApp **+526122173332** to re
|
|
| 283 |
### VPP Quantum Scheduler v4.0
|
| 284 |
|
| 285 |
The VPP (Variational Principle of Persistence) Quantum Scheduler optimizes
|
| 286 |
-
mid-circuit measurement protocols for quantum computers.
|
| 287 |
|
| 288 |
**What makes it different**
|
| 289 |
|
| 290 |
Standard compilers treat measurement strength as fixed (α=1).
|
| 291 |
-
VPP treats α as a per-cycle optimization variable
|
| 292 |
-
|
| 293 |
-
conservative preservation after — extending coherent circuit
|
| 294 |
-
lifetime while maintaining ancilla fidelity above a threshold.
|
| 295 |
|
| 296 |
**Demonstrated performance**
|
| 297 |
|
| 298 |
Using published data (Atom Computing, Muniz et al. 2025):
|
| 299 |
-
- **2.
|
| 300 |
- Bottleneck diagnosis: coherence vs IC wall vs ancilla survival
|
| 301 |
|
| 302 |
**Hardware support**
|
|
|
|
| 2 |
VPP Quantum Scheduler — Frontend v4
|
| 3 |
Paradox Systems R&D
|
| 4 |
|
| 5 |
+
Security: All sensitive configuration (backend URL, API key, access password)
|
| 6 |
+
must be set via Hugging Face Space Secrets. No defaults are hardcoded.
|
| 7 |
"""
|
| 8 |
|
| 9 |
import gradio as gr
|
| 10 |
import requests
|
| 11 |
import os
|
| 12 |
|
| 13 |
+
BACKEND_URL = os.environ.get("VPP_BACKEND_URL")
|
| 14 |
+
ACCESS_PASSWORD = os.environ.get("VPP_ACCESS_PASSWORD")
|
| 15 |
+
API_KEY = os.environ.get("VPP_API_KEY")
|
| 16 |
+
|
| 17 |
+
if not all([BACKEND_URL, ACCESS_PASSWORD, API_KEY]):
|
| 18 |
+
raise RuntimeError(
|
| 19 |
+
"Missing required secrets. Set VPP_BACKEND_URL, VPP_ACCESS_PASSWORD, "
|
| 20 |
+
"and VPP_API_KEY in Hugging Face Space Secrets."
|
| 21 |
+
)
|
| 22 |
+
|
| 23 |
API_HEADERS = {"X-API-KEY": API_KEY}
|
| 24 |
|
| 25 |
PRESETS = {
|
|
|
|
| 290 |
### VPP Quantum Scheduler v4.0
|
| 291 |
|
| 292 |
The VPP (Variational Principle of Persistence) Quantum Scheduler optimizes
|
| 293 |
+
mid-circuit measurement protocols for neutral atom quantum computers.
|
| 294 |
|
| 295 |
**What makes it different**
|
| 296 |
|
| 297 |
Standard compilers treat measurement strength as fixed (α=1).
|
| 298 |
+
VPP treats α as a per-cycle optimization variable, extending coherent
|
| 299 |
+
circuit lifetime while maintaining ancilla fidelity above a threshold.
|
|
|
|
|
|
|
| 300 |
|
| 301 |
**Demonstrated performance**
|
| 302 |
|
| 303 |
Using published data (Atom Computing, Muniz et al. 2025):
|
| 304 |
+
- **2.93× extension** of coherent circuit half-life
|
| 305 |
- Bottleneck diagnosis: coherence vs IC wall vs ancilla survival
|
| 306 |
|
| 307 |
**Hardware support**
|