Skip to content

✨ Add support for retrieving existing QDMI jobs by ID - #2008

Draft
burgholzer wants to merge 13 commits into
mainfrom
agent/core-01-open-job
Draft

✨ Add support for retrieving existing QDMI jobs by ID#2008
burgholzer wants to merge 13 commits into
mainfrom
agent/core-01-open-job

Conversation

@burgholzer

@burgholzer burgholzer commented Aug 5, 2026

Copy link
Copy Markdown
Member

🤖 AI text below 🤖

Description

Adds job retrieval by ID throughout the MQT Core QDMI stack. The C driver, FoMaC C++ API, and Python bindings can obtain a fresh local job handle from a provider-supplied job ID.

Current providers expose the source-level entry point. MQT Core's SC, NA, and DDSIM providers return QDMI_ERROR_NOTSUPPORTED; the session test provider exercises the positive client and FoMaC path. Dynamic loading remains compatible with provider libraries built against QDMI 1.3.2: if the symbol is absent, retrieval returns QDMI_ERROR_NOTSUPPORTED.

This draft is stacked on QDMI PR #485 and pins its exact revision a884facd38a551086eef00c3116f1c8e9a09b9c2 until QDMI 1.3.3 is released.

Depends on: Munich-Quantum-Software-Stack/QDMI#485

Validation

  • Full debug build completed and all 4,353 CTest tests passed, with two expected skips.
  • QDMI driver tests: 119/119 passed.
  • SC, NA, and DDSIM provider suites passed; generated provider-symbol link checks passed.
  • Focused Python 3.13 retrieval tests: 7/7 passed.
  • Python stubs were regenerated with LLVM/MLIR 22.1 and are current.
  • Repository lint and git diff --check passed.

@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 96.55172% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/qdmi/driver/Driver.cpp 94.4% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@burgholzer burgholzer added feature New feature or request QDMI Anything related to QDMI labels Aug 5, 2026
@burgholzer burgholzer added this to the QDMI Support milestone Aug 5, 2026
@burgholzer burgholzer self-assigned this Aug 5, 2026
@burgholzer
burgholzer force-pushed the agent/core-01-open-job branch from 9201038 to fe6bb74 Compare August 5, 2026 16:24
@mergify mergify Bot added the conflict label Aug 5, 2026
@burgholzer burgholzer changed the title ✨ Add support for opening existing QDMI jobs ✨ Add support for retrieving existing QDMI jobs by ID Aug 8, 2026
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Export the new source-level symbol from all built-in providers while keeping
runtime loading compatible with older QDMI libraries.

Assisted-by: GPT-5.6 via Codex
Model reopened handles separately so the test provider rejects parameter
updates and resubmission as required by QDMI.

Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
Assisted-by: GPT-5.6 via Codex
@burgholzer
burgholzer force-pushed the agent/core-01-open-job branch from 17ba4e2 to 7702455 Compare August 8, 2026 21:54
@mergify mergify Bot removed the conflict label Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request QDMI Anything related to QDMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant