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

Uploaded Python 3

File details

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

File metadata

  • Download URL: qumat-0.6.0rc2.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.0rc2.tar.gz
Algorithm Hash digest
SHA256 a6c25f84dcb85e4297444df04da116438066e625f1a5a79094e8004231cae0c5
MD5 9a23c72a5d2784356d53580d540c214b
BLAKE2b-256 7a03c42e068ec349419c7c1a1b83a66a06f249f34f16c262e4b917d175e7268f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qumat-0.6.0rc2-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.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 b2eaf49bafe45000145a05cdb245fc85d51c42fa9fa47504b0d62b7a39eec221
MD5 1dbbc0af2ba797772abc9d4077fc62e8
BLAKE2b-256 b942a2278510d3b14a44d9da2d953fbf17a81392900daf6955a6af92770d3388

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