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 ml-up / just ml-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='L-BFGS-B',
    ansatz_reps=3,
)
runner.run()

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.0.tar.gz (155.9 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.0-py3-none-any.whl (87.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quantum_pipeline-2.0.0.tar.gz
  • Upload date:
  • Size: 155.9 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.0.tar.gz
Algorithm Hash digest
SHA256 095463ae259aefcfde0432dbcc0455869d4204d66b87ede22b8182cbe5320dc0
MD5 3fd9fdc23e0789f1c742109a6419e9b7
BLAKE2b-256 f992001bea7fbe13f93b36b7cb997e4b976f5a143efc7fcae7c66bd564073917

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for quantum_pipeline-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f110cf0d155e2983019eda10139249b278b5cb14c2939eb6eda9cced5fa9ca0e
MD5 1aafb3fd2f0c8d3a29992deb116b2f81
BLAKE2b-256 b13615be4fe34340fe89b3c2a9b92f61907b9131770c440789e96c03b8085335

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