Skip to main content

Framework for running, monitoring and analysing quantum algorithms.

Project description

Quantum Pipeline

Repository: GitHub (primary) · Codeberg (mirror)

PyPI version Total Downloads PyPI - Downloads Docker Pulls

Documentation · Quick Start · Examples


A framework for running quantum algorithms, with optional Kafka streaming, Spark processing, Iceberg storage, and Airflow orchestration. Currently implements the Variational Quantum Eigensolver (VQE) for ground-state energy estimation.

Quick Start

pip install quantum-pipeline
quantum-pipeline -f molecules.json -b sto-3g --max-iterations 100 --optimizer L-BFGS-B

Or with Docker:

docker pull straightchlorine/quantum-pipeline:latest
docker run --rm straightchlorine/quantum-pipeline:latest -f /app/data/molecule.json -b sto-3g

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 tested extensively, 15+ others available), configurable ansatz circuits, multiple basis sets (sto-3g, 6-31g, cc-pVDZ), and GPU acceleration via CUDA. Learn more

Data Platform — Real-time Kafka streaming with Avro serialization, Spark-based ML feature engineering, Iceberg data lake with time-travel, Airflow workflow orchestration. Architecture overview

Deployment — Multi-service Docker Compose stack with GPU support. Deployment guide

Monitoring — Prometheus metrics, Grafana dashboards, energy convergence tracking, reference validation against literature values for 9 molecules. Monitoring setup

Python API

from quantum_pipeline.runners.vqe_runner import VQERunner

runner = VQERunner(
    filepath='data/molecules.json',
    basis_set='sto3g',
    max_iterations=100,
    convergence_threshold=1e-6,
    optimizer='L-BFGS-B',
    ansatz_reps=3,
)
runner.run()

Architecture

┌─────────────────┐    ┌──────────────┐    ┌───────────────┐
│  Quantum        │───>│ Apache Kafka │───>│ Apache Spark  │
│  Pipeline (VQE) │    │ (Streaming)  │    │ (Processing)  │
└─────────────────┘    └──────────────┘    └───────────────┘
                              │                     │
                              v                     v
┌─────────────────┐    ┌──────────────┐    ┌───────────────┐
│ Apache Airflow  │    │   Schema     │    │    Apache     │
│ (Orchestration) │    │   Registry   │    │    Iceberg    │
└─────────────────┘    └──────────────┘    └───────────────┘
         │                    │                     │
         └────────────────────┼─────────────────────┘
                              v
                    ┌──────────────────┐
                    │  MinIO Storage   │
                    └──────────────────┘

For detailed architecture documentation, see the system design and data flow pages.

Contributing

This project is not currently open for contributions as it is a university project. Feel free to fork it and make your own version.

License

MIT License. See LICENSE for details.

Contact

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

quantum_pipeline-1.4.3.tar.gz (132.3 kB view details)

Uploaded Source

Built Distribution

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

quantum_pipeline-1.4.3-py3-none-any.whl (71.2 kB view details)

Uploaded Python 3

File details

Details for the file quantum_pipeline-1.4.3.tar.gz.

File metadata

  • Download URL: quantum_pipeline-1.4.3.tar.gz
  • Upload date:
  • Size: 132.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for quantum_pipeline-1.4.3.tar.gz
Algorithm Hash digest
SHA256 d292cfec9fa461fe3ffaaf00b5a0d742610bfc2edbd187d873223bd02f49e279
MD5 d3c7b79c76609b3eab5096e867e3526a
BLAKE2b-256 aa93625925cb680ec675b0d24e4f2b0111231c7b259ca0c3c2f1808432a05abb

See more details on using hashes here.

File details

Details for the file quantum_pipeline-1.4.3-py3-none-any.whl.

File metadata

File hashes

Hashes for quantum_pipeline-1.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7408b8110fb19c490a5784f350680cb0a871ea6a58f0de00d54b4862bd7890c4
MD5 c0085dffc8200f02d96082140b827bd4
BLAKE2b-256 c7fcbea5ea6d83ae129b98f27a0bc328e124154401d82baaeb8fe9df6b74c63b

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