Framework for running, monitoring and analysing quantum algorithms.
Project description
A framework for running quantum algorithms, with optional Kafka streaming, Spark processing, and Airflow orchestration. Currently implements the Variational Quantum Eigensolver (VQE) for ground-state energy estimation. Built as a Bachelor of Engineering thesis project and continued as a Master of Engineering thesis project.
Quick Start
pip install quantum-pipeline
quantum-pipeline -f molecules.json -b sto3g --max-iterations 100 --optimizer L-BFGS-B
Or with Docker:
docker pull straightchlorine/quantum-pipeline:cpu
docker run --rm straightchlorine/quantum-pipeline:cpu -f data/molecules.json -b sto3g --max-iterations 100
See the installation guide for detailed setup, including GPU acceleration and full platform deployment.
Features
Quantum Computing - VQE execution with multiple optimizers (L-BFGS-B, COBYLA, SLSQP, and others), configurable ansatz circuits (EfficientSU2, RealAmplitudes, ExcitationPreserving), parameter initialization strategies (random or Hartree-Fock based), multiple basis sets (sto-3g, 6-31g, cc-pVDZ), and GPU acceleration via CUDA. Learn more
Data Platform - Kafka streaming with Avro serialization, Spark-based ML feature engineering, Airflow workflow orchestration. Architecture overview
ML Pipeline - Work in progress: convergence prediction and energy estimation models trained on VQE experiment data. Includes dedicated Docker Compose stack for this purpose.
Monitoring - Prometheus metrics export, Grafana dashboard and resource tracking. Configurable via environment variables or CLI flags. Monitoring setup
Deployment - Docker images for CPU and GPU (quantum-pipeline:cpu, quantum-pipeline:gpu). The GPU image on Docker Hub is built for Ampere (RTX 30xx) - rebuild with CUDA_ARCH=6.1 for Pascal or 8.9 for Ada Lovelace. Deployment guide
Python API
from quantum_pipeline.runners.vqe_runner import VQERunner
runner = VQERunner(
filepath='data/molecules.json',
basis_set='sto3g',
max_iterations=100,
optimizer='COBYLA',
)
runner.run()
See the API documentation for all constructor parameters.
License
MIT License. See LICENSE for details.
Contact
- Email: piotr@codextechnologies.org
- GitHub: straightchlorine
- Codeberg: piotrkrzysztof
Project details
Release history Release notifications | RSS feed
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 quantum_pipeline-2.1.0.tar.gz.
File metadata
- Download URL: quantum_pipeline-2.1.0.tar.gz
- Upload date:
- Size: 162.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f1ec4218c6c0283006d61acff932ec4912ce0bee65276d4ba0b0d394bf4a2a6
|
|
| MD5 |
68fc7446bb10ca5c02199ff4ce9fd31c
|
|
| BLAKE2b-256 |
377a311b0b08da765ce7dba19f6a731c55a0919c6529f0453ca05cf5591f84bd
|
Provenance
The following attestation bundles were made for quantum_pipeline-2.1.0.tar.gz:
Publisher:
publish.yml on straightchlorine/quantum-pipeline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quantum_pipeline-2.1.0.tar.gz -
Subject digest:
0f1ec4218c6c0283006d61acff932ec4912ce0bee65276d4ba0b0d394bf4a2a6 - Sigstore transparency entry: 1813588094
- Sigstore integration time:
-
Permalink:
straightchlorine/quantum-pipeline@959403fc52f21a2d22005e9d8aec3b7967eae016 -
Branch / Tag:
refs/tags/2.1.0 - Owner: https://github.com/straightchlorine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@959403fc52f21a2d22005e9d8aec3b7967eae016 -
Trigger Event:
push
-
Statement type:
File details
Details for the file quantum_pipeline-2.1.0-py3-none-any.whl.
File metadata
- Download URL: quantum_pipeline-2.1.0-py3-none-any.whl
- Upload date:
- Size: 90.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58af8f07f636264d0c88bad1577ba10ca55aac1a8e8a64d265e63ffa281d729d
|
|
| MD5 |
7dae52912fa8893fa8906e1faf8b5961
|
|
| BLAKE2b-256 |
608ec8f84343219b072d432a1708ad1c7edc119fcc9a951f78415e6ba5945484
|
Provenance
The following attestation bundles were made for quantum_pipeline-2.1.0-py3-none-any.whl:
Publisher:
publish.yml on straightchlorine/quantum-pipeline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
quantum_pipeline-2.1.0-py3-none-any.whl -
Subject digest:
58af8f07f636264d0c88bad1577ba10ca55aac1a8e8a64d265e63ffa281d729d - Sigstore transparency entry: 1813588253
- Sigstore integration time:
-
Permalink:
straightchlorine/quantum-pipeline@959403fc52f21a2d22005e9d8aec3b7967eae016 -
Branch / Tag:
refs/tags/2.1.0 - Owner: https://github.com/straightchlorine
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@959403fc52f21a2d22005e9d8aec3b7967eae016 -
Trigger Event:
push
-
Statement type: