Apache Mahout - an environment for quickly creating scalable, performant machine learning applications.

Clone this repo:
  1. 1f07f58 Add controlled-Z gate to QuMat (#1580) by Chandra Teja Pannem · 5 days ago main
  2. 6f354a5 [Chore] consolidate open dependabot upgrades (#1582) by Jie-Kai Chang · 8 days ago
  3. 5098f94 [Bug][QDP] bound Parquet-driven GPU writes against the allocated state (#1569) by 1hao · 9 days ago
  4. c735298 [QDP] Fix main CI breakage left by #1505 (#1581) by Jie-Kai Chang · 9 days ago
  5. fce9be4 [QDP] Builder backends name GPUs only; every encode result is a QdpTensor (#1505) by Jie-Kai Chang · 12 days ago

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

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]

QDP (the qdp extra) requires Python 3.10-3.12 and is not available on Python 3.13.

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")

Legal

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