Skip to content

✨ Add Sampler and Estimator Primitives to the QDMI-Qiskit Interface (backport #1507)#1558

Merged
burgholzer merged 1 commit intov3.xfrom
mergify/bp/v3.x/pr-1507
Mar 13, 2026
Merged

✨ Add Sampler and Estimator Primitives to the QDMI-Qiskit Interface (backport #1507)#1558
burgholzer merged 1 commit intov3.xfrom
mergify/bp/v3.x/pr-1507

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify Bot commented Mar 12, 2026

Description

This PR adds Sampler and Estimator primitives to the QDMI-Qiskit Interface.

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 (if 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.

(cherry picked from commit 13bf566)

@mergify
Copy link
Copy Markdown
Author

mergify Bot commented Mar 12, 2026

Cherry-pick of 13bf566 has failed:

On branch mergify/bp/v3.x/pr-1507
Your branch is up to date with 'origin/v3.x'.

You are currently cherry-picking commit 13bf566d.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   docs/qdmi/qdmi_backend.md
	modified:   python/mqt/core/plugins/qiskit/__init__.py
	modified:   python/mqt/core/plugins/qiskit/backend.py
	new file:   python/mqt/core/plugins/qiskit/estimator.py
	new file:   python/mqt/core/plugins/qiskit/sampler.py
	modified:   test/python/plugins/qiskit/conftest.py
	new file:   test/python/plugins/qiskit/test_estimator.py
	new file:   test/python/plugins/qiskit/test_sampler.py

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   CHANGELOG.md

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify Bot added the conflicts PRs that currently have conflicts with their base branch label Mar 12, 2026
…ce (#1507)

## Description

This PR adds `Sampler` and `Estimator` primitives to the QDMI-Qiskit
Interface.

## Checklist:

<!---
This checklist serves as a reminder of a couple of things that ensure
your pull request will be merged swiftly.
-->

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

---------

Signed-off-by: Marcel Walter <marcel.walter@tum.de>
Signed-off-by: Marcel Walter <marcelwalter.mw@gmail.com>
Signed-off-by: burgholzer <burgholzer@me.com>
Co-authored-by: Lukas Burgholzer <burgholzer@me.com>
(cherry picked from commit 13bf566)
Signed-off-by: burgholzer <burgholzer@me.com>

# Conflicts:
#	CHANGELOG.md
@burgholzer burgholzer force-pushed the mergify/bp/v3.x/pr-1507 branch from 623580c to a6059da Compare March 12, 2026 22:05
@burgholzer burgholzer self-assigned this Mar 12, 2026
@burgholzer burgholzer added the backport Changes that have been backported to a stable release branch label Mar 12, 2026
@burgholzer burgholzer enabled auto-merge (squash) March 12, 2026 22:27
@burgholzer burgholzer merged commit 5d03b0e into v3.x Mar 13, 2026
42 of 44 checks passed
@burgholzer burgholzer deleted the mergify/bp/v3.x/pr-1507 branch March 13, 2026 12:30
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 13, 2026

Codecov Report

❌ Patch coverage is 96.47059% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
python/mqt/core/plugins/qiskit/estimator.py 96.6% 4 Missing ⚠️
python/mqt/core/plugins/qiskit/sampler.py 96.0% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Changes that have been backported to a stable release branch conflicts PRs that currently have conflicts with their base branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants