| commit | d5fc18bd01bd4fbaa6c947252b142f38c9d8b720 | [log] [tgz] |
|---|---|---|
| author | Ryan Huang <hcr@apache.org> | Sun Jan 25 00:21:04 2026 +0800 |
| committer | GitHub <noreply@github.com> | Sun Jan 25 00:21:04 2026 +0800 |
| tree | 932b98ad4b58794a0a79792277aac011c4a4f2b0 | |
| parent | 5f849975d991b44ce95a70c4a31101706b18d92c [diff] |
feat: enhance test skipping logic (#925) * Now when _qdp is not built, the tests will show as skipped with a helpful message instead of being silently ignored. * fix pre-commit * bring back * add -rs * linter * feat: add requires_qdp marker for conditional QDP tests and refactor imports
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.