Refactor code structure for improved readability and maintainability (#833) - Consolidate dev dependencies in root `pyproject.toml` - Add `qdp-dev` dependency group for QDP build tools (maturin, patchelf, torch, numpy) - Align pytest version to `>=9.0.1` (matching qdp-python) - Add pytest markers configuration for `gpu` and `slow`
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 is a high-level Python library for quantum computing that provides:
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)
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()
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")
Please see the NOTICE.txt included in this directory for more information.