Skip to main content

A library for composing quantum machine learning.

Project description

Apache Mahout

License PyPI version PyPI - Python Version 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

pip install qumat

with QDP (Quantum Data Plane) support

pip install qumat[qdp]

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.

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.6.0rc1.tar.gz (17.8 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.6.0rc1-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

Details for the file qumat-0.6.0rc1.tar.gz.

File metadata

  • Download URL: qumat-0.6.0rc1.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.11

File hashes

Hashes for qumat-0.6.0rc1.tar.gz
Algorithm Hash digest
SHA256 2c92aa0707ad453ae4cc85e5051d8da2c4db2867d69fabe7bac5dae7b2e9db80
MD5 cb716188ae969b7e0f148c8caf85ddfb
BLAKE2b-256 757bc2e7a8950290ead060b820248ad078b2dadf61d54a8a1b153b04a0e07ae9

See more details on using hashes here.

File details

Details for the file qumat-0.6.0rc1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for qumat-0.6.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0b845e6af19f9f8f50b2b82d376f452beb4eb53f533cba99ebb9dff9caf5d0a
MD5 a42c1b8821bf92835f2b60273be076b8
BLAKE2b-256 77189b5e36ee98578df1597fd3aca4a40c3283a8c5f591e9b0ce8d80564e689b

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