Skip to main content

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

qedclib-2.0.1.tar.gz (143.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qedclib-2.0.1-py3-none-any.whl (158.4 kB view details)

Uploaded Python 3

File details

Details for the file qedclib-2.0.1.tar.gz.

File metadata

  • Download URL: qedclib-2.0.1.tar.gz
  • Upload date:
  • Size: 143.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for qedclib-2.0.1.tar.gz
Algorithm Hash digest
SHA256 5fd6faeb4e862c00709bb770ae2d68214f21b4d469274f883e43c2a0c622b1cb
MD5 bb32d8e56a2a7612d0a220204ccefea9
BLAKE2b-256 b0426c80e5a68582824edace91ecb692ad84ec262f07974e67910e254371435b

See more details on using hashes here.

File details

Details for the file qedclib-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: qedclib-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 158.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.5

File hashes

Hashes for qedclib-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 691c0542e766f3286a29a5874ccef694ed189ff72878e6a21e71ea913895b722
MD5 4e21244ed016647313f59362c48c75b8
BLAKE2b-256 9b0291dfd3df221913ab9d898747e44f1f5507b780858bf94c150fdbfa7a75f4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page