Laborator commited on
Commit
7ba2968
·
1 Parent(s): 9562553

docs: align Space description with current behavior

Browse files

- Remove references to 'Recover a previous job' panel (deleted earlier)
- Remove obsolete 'live polling every 8s' / 'WebSocket disconnect' warnings
- Acknowledge backend can be ibm_kingston OR ibm_fez (least-busy Heron)
- Direct users to IBM Quantum Workloads dashboard as source of truth

Files changed (1) hide show
  1. app.py +9 -13
app.py CHANGED
@@ -416,7 +416,7 @@ def verify_on_ibm(label: str, mode: str) -> dict[str, Any]:
416
  "seconds_elapsed": elapsed,
417
  "message": (
418
  f"Job {job_id} submitted to {backend_name}. "
419
- "Use 'Recover a previous job' panel below with this Job ID to check status."
420
  ),
421
  }
422
 
@@ -607,13 +607,9 @@ with gr.Blocks(title="QVerify") as demo:
607
  )
608
  gr.Markdown(_ibm_status_md)
609
  gr.Markdown(
610
- "On HuggingFace's free tier (CPU Basic), the live progress "
611
- "stream may disconnect during long IBM jobs (typically 1-3 "
612
- "minutes). The job continues executing on IBM hardware "
613
- "regardless. If the Result panel clears before completion, "
614
- "copy the Job ID shown initially and use the "
615
- '"Recover a previous job" panel below. '
616
- "All executions are verifiable at "
617
  "[IBM Quantum Workloads](https://quantum.cloud.ibm.com/workloads)."
618
  )
619
 
@@ -664,11 +660,11 @@ with gr.Blocks(title="QVerify") as demo:
664
  "**IBM hardware runs are submitted via your IBM Quantum "
665
  "free-tier account** (Open Plan, approximately 10 minutes of "
666
  "quantum time per month, shared across users). The Space "
667
- "orchestrates the call; the actual circuit executes on "
668
- "`ibm_fez` (Heron r2, 156 qubits) via IBM Cloud. Live polling "
669
- f"updates the UI every {POLL_INTERVAL_SECONDS} s; if the "
670
- "connection drops, use the fallback panel above with the Job "
671
- "ID. Previously verified hardware runs are documented "
672
  "[here](https://github.com/Quantum-Labor/qverify#hardware-run)."
673
  )
674
 
 
416
  "seconds_elapsed": elapsed,
417
  "message": (
418
  f"Job {job_id} submitted to {backend_name}. "
419
+ "View status at https://quantum.cloud.ibm.com/workloads"
420
  ),
421
  }
422
 
 
607
  )
608
  gr.Markdown(_ibm_status_md)
609
  gr.Markdown(
610
+ "Submission returns a Job ID immediately. The circuit then "
611
+ "runs on IBM hardware (typically 1-3 minutes for queue + "
612
+ "execution). Track live status and retrieve results at "
 
 
 
 
613
  "[IBM Quantum Workloads](https://quantum.cloud.ibm.com/workloads)."
614
  )
615
 
 
660
  "**IBM hardware runs are submitted via your IBM Quantum "
661
  "free-tier account** (Open Plan, approximately 10 minutes of "
662
  "quantum time per month, shared across users). The Space "
663
+ "orchestrates the call; the actual circuit executes on a "
664
+ "least-busy IBM Heron r2 backend (156 qubits, e.g. `ibm_kingston` "
665
+ "or `ibm_fez`) via IBM Cloud. The submission returns immediately "
666
+ "with a Job ID; results are retrieved at the IBM Quantum Workloads "
667
+ "dashboard. Previously verified hardware runs are documented "
668
  "[here](https://github.com/Quantum-Labor/qverify#hardware-run)."
669
  )
670