Skip to content

✨ Integrate the Amazon Braket device with configurable QDMI - #147

Merged
burgholzer merged 11 commits into
mainfrom
agent/qdmi-core-1912
Jul 30, 2026
Merged

✨ Integrate the Amazon Braket device with configurable QDMI#147
burgholzer merged 11 commits into
mainfrom
agent/qdmi-core-1912

Conversation

@burgholzer

@burgholzer burgholzer commented Jul 27, 2026

Copy link
Copy Markdown
Member

🤖 AI text below 🤖

Description

  • Publish the stable amazon.braket.default device ID and AMAZON_BRAKET
    symbol prefix through QDMI's neutral configure_qdmi_device_target helper.
  • Expose the same metadata from the Python wheel and verify fallback
    registration without loading the native library.
  • Document relocatable CMake packaging, dynamic/static runtime discovery, and
    fresh Python sessions that preserve configured definitions while applying
    per-session overrides.
  • Accept device-library paths naturally through pathlib.Path.

Integration notes

  • No qdmi.json or [tool.qdmi] definition is shipped because MQT Core does
    not discover configuration beside independently installed device wheels.
  • The Amazon Braket package has no runtime dependency on MQT Core and does not
    add a device-specific wrapper.
  • A statically linked MQT Core Driver searches beside the executable; a
    dynamically linked Driver searches beside its own shared library.
  • The integration reuses the device-object targets and vendor-prefixed
    Braket-specific parameter aliases already present on main.
  • Python integration tests consume the published mqt-core~=3.8.0 package
    directly, without a source override, synthetic version, or downstream
    LLVM/MLIR setup.

Dependencies

  • MQT Core 3.8.0 from PyPI
  • merged QDMI commit b94be74fdac61dfdea51fc35ead5c314dbc89862

Validation

  • Python 3.14 against the published MQT Core 3.8.0 wheel: 14 passed
  • full lint suite passed
  • uv lock
  • git diff --check
  • no live AWS or Amazon Braket jobs were run

@codecov

codecov Bot commented Jul 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #147   +/-   ##
=====================================
  Coverage   83.2%   83.2%           
=====================================
  Files          4       4           
  Lines        956     956           
  Branches     176     176           
=====================================
  Hits         796     796           
  Misses       160     160           
Flag Coverage Δ
cpp 83.2% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Assisted-by: GPT-5 via Codex
Repin to the reviewed MQT Core head, use path-like device libraries, clarify
runtime discovery, and isolate scikit-build from direct CMake builds.

Assisted-by: GPT-5.6-sol via Codex
Assisted-by: gpt-5.6-sol via Codex
@burgholzer
burgholzer force-pushed the agent/qdmi-core-1912 branch from 5439cab to 7ab2157 Compare July 27, 2026 19:18
Integrate the optional AWS credential behavior from #150 while preserving the MQT Core device configuration work.

Assisted-by: GPT-5.6-sol via Codex

# Conflicts:
#	CHANGELOG.md
Use the published MQT Core foundation head and the shared code-bearing QDMI integration commit.

Assisted-by: GPT-5.6-sol via Codex
Use a test-only stable ID so ambient Amazon Braket configuration cannot change the idempotent registration result.

Assisted-by: GPT-5.6-sol via Codex
Avoid exceeding Windows path limits while FetchContent checks out the AWS SDK during wheel builds.

Assisted-by: GPT-5.6-sol via Codex
Use the merged QDMI template revision and build against the exact v3.x backport head without provisioning LLVM/MLIR.

Assisted-by: GPT-5.6-sol via Codex
Remove the temporary source override now that the configurable QDMI device APIs are available from the published package.

Assisted-by: GPT-5.6-sol via Codex
Keep QDMI 1.3.0 as the supported minimum and fetch v1.3.2 while exporting the stable device metadata directly.

Assisted-by: GPT-5.6-sol via Codex
@burgholzer burgholzer added dependencies Updates to dependencies enhancement Enhancement to an existing feature labels Jul 30, 2026
@burgholzer burgholzer self-assigned this Jul 30, 2026
@burgholzer
burgholzer marked this pull request as ready for review July 30, 2026 13:02
@burgholzer
burgholzer merged commit 3290ba0 into main Jul 30, 2026
33 checks passed
@burgholzer
burgholzer deleted the agent/qdmi-core-1912 branch July 30, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Updates to dependencies enhancement Enhancement to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant