Skip to main content

A library for composing quantum machine learning.

Project description

Apache Mahout

License Python GitHub Stars GitHub Contributors

The goal of the Apache Mahout™ project is to build an environment for quickly creating scalable, performant machine learning applications.
For additional information about Mahout, visit the Mahout Home Page

Qumat

Apache Mahout

Qumat is a high-level Python library for quantum computing that provides:

  • Quantum Circuit Abstraction - Build quantum circuits with standard gates (Hadamard, CNOT, Pauli, etc.) and run them on Qiskit, Cirq, or Amazon Braket with a single unified API. Write once, execute anywhere. Check out basic gates for a quick introduction to the basic gates supported across all backends.
  • QDP (Quantum Data Plane) - Encode classical data into quantum states using GPU-accelerated kernels. Zero-copy tensor transfer via DLPack lets you move data between PyTorch, NumPy, and TensorFlow without overhead.

Quick Start

git clone https://github.com/apache/mahout.git
cd mahout
pip install uv
uv sync                     # Core Qumat
uv sync --extra qdp         # With QDP (requires CUDA GPU)

Qumat: Run a Quantum Circuit

from qumat import QuMat

qumat = QuMat({"backend_name": "qiskit", "backend_options": {"simulator_type": "aer_simulator"}})
qumat.create_empty_circuit(num_qubits=2)
qumat.apply_hadamard_gate(0)
qumat.apply_cnot_gate(0, 1)
qumat.execute_circuit()

QDP: Encode data for Quantum ML

import qumat.qdp as qdp

engine = qdp.QdpEngine(device_id=0)
qtensor = engine.encode([1.0, 2.0, 3.0, 4.0], num_qubits=2, encoding_method="amplitude")

Roadmap

2024

  • Transition of Classic to maintenance mode
  • Integration of Qumat with hardened (tests, docs, CI/CD) Cirq, Qiskit, and Braket backends
  • Integration with Amazon Braket
  • Public talk about Qumat

2025

  • FOSDEM talk
  • QDP: Foundation & Infrastructure (Rust workspace, build configuration)
  • QDP: Core Implementation (CUDA kernels, CPU preprocessing, GPU memory management)
  • QDP: Zero-copy and Safety (DLManagedTensor, DLPack structures)
  • QDP: Python Binding (PyO3 wrapping, DLPack protocol)

Q1 2026

  • QDP: Input Format Support (PyTorch, NumPy, TensorFlow integration)
  • QDP: Verification and Testing (device testing, benchmarking)
  • QDP: Additional Encoders (angle/basis encoding, multi-GPU optimization)
  • QDP: Integration & Release (documentation, example notebooks, PyPI publishing)

Legal

Please see the NOTICE.txt included in this directory for more information.

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

qumat-0.5.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

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

qumat-0.5.0-py3-none-any.whl (21.5 kB view details)

Uploaded Python 3

File details

Details for the file qumat-0.5.0.tar.gz.

File metadata

  • Download URL: qumat-0.5.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for qumat-0.5.0.tar.gz
Algorithm Hash digest
SHA256 b841764fbf9d42e3ed95cd12af9d5eaec12675aa4e8184fe44a6bb8658b14f5d
MD5 508f0abbed479d62120b1e99ff9fe5e0
BLAKE2b-256 f7e2b8dddcb8780acc1bf372d1851bd1c9e17f81190ca227e488583d5fe8d194

See more details on using hashes here.

File details

Details for the file qumat-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: qumat-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 21.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for qumat-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d8562625fa636b8ca9ff9df9ccceade5db79e62f75f0381495c8eeb7dc2c92b
MD5 cf7e1c7796dcfcfc464221f4ee8a1038
BLAKE2b-256 5a8ada61cfe2ee0e4331ab2fefb95f69957c9b49bada9310169d230ae3d86fdf

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