Quantum Control Plane (QCP) offers a comprehensive developer platform for quantum computing, enabling users to submit QASM circuits, orchestrate multi-step experiments, and visualize results. With a powerful SDK, CLI, and REST API, QCP unlocks the potential of quantum technology for developers.
The Quantum Control Plane (QCP) is an open-source developer platform tailored for quantum computing. It enables users to submit QASM circuits, orchestrate multi-step experiments, benchmark different quantum providers, and visualize results efficiently. This platform is akin to tools like MLflow and Airflow, but specifically designed for the nuances of quantum technology.
The architecture of the platform is organized into distinct layers:
┌──────────────────────────────────────────────────────┐
│ Developer Platform: SDK · CLI · REST API (/v1/) │
├──────────────────────────────────────────────────────┤
│ Control Plane: Experiments · Workflows · Cost Gov │
├──────────────────────────────────────────────────────┤
│ Execution Plane: Workers · Providers · Simulators │
├──────────────────────────────────────────────────────┤
│ Dashboard: Experiments · Leaderboard · Demo · Runs │
└──────────────────────────────────────────────────────┘
| Layer | Components |
|---|---|
| Control Plane | FastAPI API, experiments, workflows, cost governance, circuit optimization |
| Execution Plane | Async workers, provider adapters, local/Aer simulators, IBM Runtime |
| Developer Platform | Python SDK, qcp CLI, OpenAPI REST API |
| Dashboard | Next.js 14 web console, provider leaderboard, interactive demo |
| Infrastructure | PostgreSQL, Redis queue, Prometheus, Grafana, OpenTelemetry |
The platform supports various quantum experiments, including:
The platform provides comprehensive capabilities for developers:
Python SDK Example:
from quantum_sdk import QCPClient
client = QCPClient(api_key="qcp_...")
job = client.run_experiment(
name="bell",
qasm=open("bell.qasm").read(),
shots=1024,
)
result = client.wait_for_result(job["job"]["id"])
print(result["result"]["counts"])
CLI Commands:
qcp login
qcp experiment run bell.qasm --provider local_simulator
qcp experiment list
REST API Endpoints include:
POST /v1/api-keys: For creating new API keys.POST /v1/experiments: To submit a new experiment.GET /v1/results/{id}: To retrieve results for a specific job.
QCP offers robust development support through Makefile targets, including:
make lint: Runs code linters to maintain code quality.make test: Executes unit tests to ensure functionality.For further guidance, detailed documentation covering different aspects such as getting started, architecture, and specific guides are readily available, ensuring a smooth onboarding process for all users.
The Quantum Control Plane is set to empower developers and researchers in the burgeoning field of quantum computing by providing the tools required to innovate and explore the quantum landscape.
No comments yet.
Sign in to be the first to comment.