Skip to content

✨ Expose QDMI device queue depth - #2010

Open
burgholzer wants to merge 2 commits into
mainfrom
agent/qdmi-queue-depth
Open

✨ Expose QDMI device queue depth#2010
burgholzer wants to merge 2 commits into
mainfrom
agent/qdmi-queue-depth

Conversation

@burgholzer

@burgholzer burgholzer commented Aug 5, 2026

Copy link
Copy Markdown
Member

🤖 AI text below 🤖

Description

Expose the optional QDMI device queue depth through FoMaC as Device::getQueueDepth() -> std::optional<size_t> and Device.queue_depth() -> int | None. Unsupported devices remain valid and return an empty optional/None. The change also adds the diagnostic name, generated Python stub, and native/Python coverage.

This PR depends on QDMI #486 and pins its validated head 684aae5a959d63e3affb9428df2c4a0187bdb624 until the property is released. It does not change any bundled device implementation.

Validation

  • release configure against QDMI PR 🐛 ZX PiExpression arithmetic not working properly #486
  • cmake --build build/release --target mqt-core-fomac-test -j 4
  • full native FoMaC suite (264/264 passed)
  • uvx nox -s stubs
  • uvx nox -s tests-3.13 -- test/python/fomac/test_fomac.py -k queue_depth (5/5 passed)
  • uvx prek run --all-files

Checklist

  • The pull request only contains commits that are focused and relevant to this change.
  • I have added appropriate tests that cover the new/changed functionality.
  • I have updated the documentation to reflect these changes.
  • I have added entries to the changelog for any noteworthy additions, changes, fixes, or removals.
  • I have added migration instructions to the upgrade guide (not needed).
  • The changes follow the project's style guidelines and introduce no new warnings.
  • The changes are fully tested and pass the CI checks.
  • I have reviewed my own code changes.

If PR contains AI-assisted content:

  • Any agent that created, edited, or submitted GitHub content was explicitly authorized for that scope, as required by our AI Usage Guidelines.
  • Every agent-authored or agent-edited public text body begins with the visible disclosure 🤖 *AI text below* 🤖 (titles are exempt).
  • I have disclosed AI assistance in the PR description.
  • I confirm that I have personally reviewed and understood all AI-generated content, and accept full responsibility for it.

Assisted-by: gpt-5.6-sol via Codex
@burgholzer burgholzer added dependencies Pull requests that update a dependency file feature New feature or request c++ Anything related to C++ code python Anything related to Python code QDMI Anything related to QDMI labels Aug 5, 2026
Assisted-by: gpt-5.6-sol via Codex
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mergify mergify Bot added the conflict label Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Anything related to C++ code conflict dependencies Pull requests that update a dependency file feature New feature or request python Anything related to Python code QDMI Anything related to QDMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant