[Bug][QDP] Standalone qdp-python environment does not install qumat, so benchmarks fail to import
I maintainer di solito rispondono entro 2 giorni
Nessuno ha ancora preso questa issue.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Search before asking
- I searched the existing issues and found nothing similar.
Mahout component
QDP (Quantum Data Plane, Rust/CUDA)
Versions / environment
0.7.0, uv environment created inside qdp/qdp-python
What happened + what you expected to happen
Since #1594 the qumat-qdp wheel ships only the compiled _qdp extension,
and the Python package lives in qumat as qumat.qdp. The benchmark scripts
now import qumat.qdp.
qdp/qdp-python/pyproject.toml has
[tool.uv.sources] qumat = { path = "../..", editable = true }, but neither
the dev nor the benchmark dependency group lists qumat. A source entry
only tells uv where to find a dependency. It does not install one. The
documented standalone benchmark workflow therefore fails with:
ModuleNotFoundError: No module named 'qumat'
Expected: uv sync --group benchmark inside qdp/qdp-python gives an
environment where the benchmark scripts import.
Reproduction script
cd qdp/qdp-python
uv sync --group benchmark
uv run python -c "import qumat.qdp"
Issue severity
Medium: it is a significant difficulty but I can work around it.
Anything else
Proposed fix:
- Add
qumatto thedevandbenchmarkgroups so the existing source
mapping takes effect. - Add a CI smoke test that builds the standalone environment and imports
qumat.qdpandbenchmark/api.py. - Re-check the commands in
qdp/qdp-python/README.mdand the benchmark docs
against the result.
Are you willing to submit a PR?
- Yes, I am willing to submit a PR!
- Lingua principale
- Rust
- Stelle
- 2.3k
- Fork
- 1k
- Merge medio
- 2g 20h
- PR unite (30g)
- 7
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di apache/mahout
-
[Bug] Amazon Braket get_final_state_vector() changes the circuit, so execute_circuit() fails afterwardsForse già presa @Howardisme l’ha presa 48 giorni fa. Apertabug enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
apache/mahout#1538 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug] Reusing a parameter name on two gates fails on Qiskit only (name conflict adding parameter)Forse già presa @Imad2702 l’ha presa 50 giorni fa. Apertabug enhancement good-first-issue qumat
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apache/mahout#1509 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug] Cirq backend ignores the initialized simulator and creates its own cirq.Simulator()Forse già presa @Howardisme l’ha presa 49 giorni fa. Apertabug enhancement good-first-issue qumat
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
apache/mahout#1508 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 2 giorni
-
[Bug] Unknown backend_name leaks ModuleNotFoundError instead of a clear ValueErrorForse già presa @Asterisk-Hunter l’ha presa 38 giorni fa. Apertabug enhancement good-first-issue qumat
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
apache/mahout#1506 · 5 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
bug question
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di apache/mahout
Issue simili
-
claim
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
Nixitov/Riptide-Native#946 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ai-assistants documentation help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 94/100
storytold/craft-libs#5594 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
听歌识曲历史跳转后对应音源界面无法返回Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
LingyunStudio/RustMusic#16 ·