Qiskit BackendV2 migration - #694
Merged
Merged
Conversation
…ct-like access while preserving attribute support.
Ian Davis (idavis)
force-pushed
the
iadavis/backendv2-migration
branch
from
November 7, 2025 22:02
1d3e87d to
d1ff4b7
Compare
This was referenced Nov 7, 2025
Stefan J. Wernli (swernli)
self-requested a review
November 11, 2025 17:31
Ian Davis (idavis)
marked this pull request as ready for review
November 12, 2025 19:29
Stefan J. Wernli (swernli)
approved these changes
Nov 12, 2025
Ian Davis (idavis)
requested review from
Bill Ticehurst (billti),
kikomiss and
Xinyi Joffre (xinyi-joffre)
November 12, 2025 19:33
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Stefan J. Wernli (swernli)
approved these changes
Nov 13, 2025
Stefan J. Wernli (swernli)
approved these changes
Nov 17, 2025
Scott Carda (ScottCarda-MS)
approved these changes
Nov 17, 2025
Contributor
Author
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This was referenced Nov 18, 2025
1 task
|
Hey Ian Davis (@idavis), could you have a look at whether the Azure Quantum team can resolve the problem we found: PennyLaneAI/pennylane#8657 (comment)? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates Azure Quantum's Qiskit backends to the BackendV2 interface and introduces an
AzureBackendConfigwrapper that materialisesTargetmetadata and enforces single-circuit job semantics (azure-quantum/azure/quantum/qiskit/backends/backend.py). This enables support for Qiskit 1 & 2.Release notes
skipTranspile=False. Circuits requiring transpilation should transpile prior to running the circuit. A deprecation warning is issued if the user passesskipTranspile=Falsetobackend.run(...).qiskit.providers.BackendV2. Existing code that relied on BackendV1-specific methods (for example, callingbackend.name()as a function or accessingbackend.configuration()-derived fields that no longer exist on BackendV2) will fail until it is updated to theBackendV2class (use thebackend.nameattribute, rely onbackend.target, etc.).BackendV1objects will no longer work. Any helpers, mocks, or third-party extensions that instantiate Azure backends assuming theBackendV1API (including the old job submission plumbing and configuration schema) must be rewritten to understandBackendV2targets and options.backend.name()syntax withbackend.name.backend.provider()syntax withbackend.provider.AzureBackendBase.__init__andbackend.configuration()are warnings and do not break runtime behavior.Overview
azure-quantum/tox.ini,.ado/ci.yml,.ado/publish.yml,azure-quantum/tests/README.md,azure-quantum/requirements-dev.txt,azure-quantum/requirements-qiskit.txt).azure-quantum/tests/unit/test_qiskit.py).azure-quantum/azure/quantum/target/target.py).Testing
tox -e py311-qiskit1,py311-qiskit2via the updated pipelines. Qiskit tests are run separately from other integation tests