Quantum program execution engine with built-in performance monitoring
Project description
qedclib
A quantum program execution engine with built-in performance monitoring. Execute quantum circuits at scale across multiple backends with automatic metrics collection, parallel GPU execution, and detailed per-circuit timing.
Install
pip install qedclib
Quick Example
import qedclib
# Select the quantum computing API
qedclib.set_api("qiskit")
# Initialize and get the execution module
qedclib.initialize()
import execute as ex
# Execute circuits and collect metrics
circuits = [{"circuit": qc, "num_qubits": n, "secret_int": s} for qc, n, s in my_circuits]
ex.submit_circuits(circuits, num_shots=1000, backend_id="qasm_simulator")
# Plot collected metrics
qedclib.metrics.plot_metrics("My Benchmark")
Features
- Multi-backend support — Qiskit (Aer, IBM hardware, IonQ, IQM) and CUDA-Q (simulator, multi-GPU, NVIDIA Quantum Cloud)
- Automatic metrics — execution time, fidelity, circuit depth, gate counts, and volumetric benchmarking plots
- Per-circuit timing — accurate individual circuit timing on all backends
- Batched execution — memory-efficient execution for large parameter sweeps on GPU backends
- Multi-GPU parallel execution — distribute circuits across GPUs with MPI
- Robust job management — automatic retry, status polling, and result validation for hardware backends
Documentation
Full documentation is available at sri-international.github.io/QC-App-Oriented-Benchmarks, including the User Guide with standalone library usage examples.
Part of the QED-C Benchmarks
qedclib is the execution engine behind the QED-C Application-Oriented Benchmarks suite. If you want the full benchmark suite (17 benchmarks, notebooks, and examples), clone the repository instead:
git clone https://github.com/SRI-International/QC-App-Oriented-Benchmarks.git
cd QC-App-Oriented-Benchmarks
pip install -e .
License
Apache 2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qedclib-2.0.0.tar.gz.
File metadata
- Download URL: qedclib-2.0.0.tar.gz
- Upload date:
- Size: 134.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30a1b80fc560fcc9f731905027a364295852e090fd9587fbd36c272c2486e48b
|
|
| MD5 |
212d9f0ed44c039eb0a98d8551fef1d3
|
|
| BLAKE2b-256 |
f254d83b4c09487048a61dec17f050efc8a205636822a2abebb4c7f525d101b4
|
File details
Details for the file qedclib-2.0.0-py3-none-any.whl.
File metadata
- Download URL: qedclib-2.0.0-py3-none-any.whl
- Upload date:
- Size: 147.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
815bffaf72407dc23d5228587ee3233e8c4ddd85e8a23ce7a002f19fa78681a0
|
|
| MD5 |
d4c5049246356a75a837ee63200f0217
|
|
| BLAKE2b-256 |
456be647961accd319e6b506dd7d411673f68c1445ba2fcc66f939b6e08ec47c
|