QuPort Documentation¶
QuPort is a Python and Qiskit toolkit for modeling, mapping, routing, splitting, scheduling, and benchmarking quantum circuits on modular multi-QPU machines. The project models each QPU as a block of compute and communication qubits, exposes multiple interconnect abstractions, and provides both global-routing and explicit distributed-compilation workflows.
Documentation map¶
Page |
What it answers |
Primary audience |
|---|---|---|
How do I install QuPort and run the first mapping/compile? |
New users |
|
What are the machine, partitioning, routing, and scheduling models? |
Researchers and users interpreting results |
|
What does every config/latency field mean, and how do fields interact? |
Experiment authors |
|
What commands are available and what files do they produce? |
CLI users and automation authors |
|
What Python objects/functions are public and what do they return? |
Library users |
|
What are complete snippets for common workflows? |
Notebook/script authors |
|
How should contributors test, format, type-check, and update docs? |
Contributors |
Recommended reading order¶
Start with Getting started if you want to run QuPort quickly.
Read Concepts before interpreting benchmark or scheduling numbers.
Use Configuration while designing architecture sweeps.
Use API reference while writing experiments against the Python API.
Use CLI reference when scripting command-line workflows.
Use Development before contributing changes.
Workflow decision guide¶
Goal |
Recommended entry point |
Why |
|---|---|---|
Compare mapped-circuit depth/SWAPs across partitioning strategies |
|
Produces one globally routed Qiskit circuit and standard circuit metrics |
Produce per-QPU local programs and explicit remote operations |
|
Keeps cross-QPU gates as remote events instead of hiding them inside global routing |
Run repeated random-circuit comparisons |
|
Writes row-oriented benchmark metrics suitable for CSV analysis |
Sweep topology/port settings |
|
Aggregates repeated benchmark rows by architecture setting |
Inspect communication bottlenecks |
|
Returns layer/round traces with port and link utilization |
Documentation accuracy policy¶
The API reference mirrors the exported objects in quport.__all__ and the CLI
reference mirrors the Typer commands in quport.cli. If a public symbol, command,
configuration field, output artifact, validation rule, or conceptual model changes,
update the corresponding page in this directory in the same pull request.
When docs and implementation disagree, treat the implementation and tests as the source of truth, then fix the documentation immediately. For behavior that is subtle or research-model dependent, document both what QuPort currently does and what it does not claim to model.