Skip to content

✨ Add support for opening existing QDMI jobs - #2008

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

✨ Add support for opening existing QDMI jobs#2008
burgholzer wants to merge 12 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 reopening 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 opaque 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, reopening returns QDMI_ERROR_NOTSUPPORTED.

This draft is stacked on QDMI PR #485 and pins its exact revision 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 reopening tests: 7/7 passed.
  • Generated Python stubs 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
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
@burgholzer
burgholzer force-pushed the agent/core-01-open-job branch from 9201038 to fe6bb74 Compare August 5, 2026 16:24
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
@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

conflict 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