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

Uploaded Python 3

File details

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

File metadata

  • Download URL: qumat-0.6.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c2c54b898336f171f0167d72344553be5160ef87b80cd96bb4b3e437cd0593aa
MD5 a28ef5865385046ad3fbf5e6c7e62197
BLAKE2b-256 438d80dc126e8fb515bd1cf8c3e8e3869c9403d99906b2e30df2dc44b6c36a09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qumat-0.6.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50835784945b457e580fbb08c3023e38a7395b183388bece80f6b0737cb9eb09
MD5 ddbd828b4cb84a14df0f973e6c8fc466
BLAKE2b-256 6f7b6a799ab9c789fa171b2aa0d9ffddbc2c2d1a53cca74623b087d91f18305d

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