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.4.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.4-py3-none-any.whl (71.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantum_pipeline-1.4.4.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.4.tar.gz
Algorithm Hash digest
SHA256 ee48c636c1e4c0dae5485ce0955702d24cf1cfd875f7e9551fbdcc5cf4cba26f
MD5 9fa46751d48c6bfa840491580b61fba7
BLAKE2b-256 73f89eab5e2da082db51916febff2e4cfe4f8f7f66b0e7bd84bdaf66052a6ac7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantum_pipeline-1.4.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0255d6f3a2124558f763caed8bc5213a6fd7baf0854c6c76564ae0d09b9c3b04
MD5 404163ab19803ed438730ca874fc4b90
BLAKE2b-256 cd1284165f8fd8b48bd3df8588bcbae578ec7ab427d802298fae66a89656e800

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