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, and Airflow orchestration. Currently implements the Variational Quantum Eigensolver (VQE) for ground-state energy estimation. Built as an 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 - Real-time Kafka streaming with Avro serialization, Spark-based ML feature engineering, Airflow workflow orchestration. Architecture overview

ML Pipeline - Convergence prediction and energy estimation models trained on VQE experiment data. Includes preprocessing, experiment tracking, and a dedicated Docker Compose stack (just up / just down).

Monitoring - Prometheus metrics export, Grafana dashboards, resource tracking. Configurable via environment variables (MONITORING_ENABLED, PUSHGATEWAY_URL, MONITORING_INTERVAL, MONITORING_EXPORT_FORMAT) 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. Sample molecule files are included in the image under data/. Multi-service Docker Compose stack for the full platform. 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

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-2.0.1.tar.gz (156.0 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-2.0.1-py3-none-any.whl (87.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for quantum_pipeline-2.0.1.tar.gz
Algorithm Hash digest
SHA256 d302c47dfbdd47d9ac30e37205fd4d1dd9d87241a85e3ce454ffc75d1ea690a6
MD5 1e72558ee25108b6b1a7a79adc6f57ab
BLAKE2b-256 bb91acac7c8e41a8a1f968c04b42b441c95fdad4c269416f3688547d69476051

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantum_pipeline-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5da42a3594465cae0edb1cb2f6c1f4df60e0b5003f6f921d4380b98cb6faf82a
MD5 c3624f5db59aa35f641d4bd70721878c
BLAKE2b-256 30782c0845938049956d294741c916e9881882bbb3bc77e107f23519a7a8a7ac

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