Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Native Support for Qiskit Backends #75

Merged
merged 18 commits into from
Jun 23, 2022
Merged

✨ Native Support for Qiskit Backends #75

merged 18 commits into from
Jun 23, 2022

Conversation

burgholzer
Copy link
Member

@burgholzer burgholzer commented Jun 20, 2022

This PR brings native support for using Qiskit Backends (e.g., FakeLondon()) as architectures in QMAP.
To this end, native translation is provided for all backends implementing either the BackendV1 or them oder BackendV2 interface.
In addition to that, QMAP can now als natively read device properties from Qiskit backends, either via the BackendProperties class or the modern Target class.
In the process, the way device properties and/or calibration data is handled in QMAP has been completely refactored.
This should make it easier to incorporate this information into the available mapping passes in the future.

Solves #12 🥳

@burgholzer burgholzer added the feature New feature or request label Jun 20, 2022
@burgholzer burgholzer self-assigned this Jun 20, 2022
@codecov
Copy link

codecov bot commented Jun 20, 2022

Codecov Report

Merging #75 (2521f95) into main (18a0d3d) will increase coverage by 0.1%.
The diff coverage is 94.4%.

@@           Coverage Diff           @@
##            main     #75     +/-   ##
=======================================
+ Coverage   90.7%   90.8%   +0.1%     
=======================================
  Files         22      22             
  Lines       1843    1877     +34     
=======================================
+ Hits        1672    1706     +34     
  Misses       171     171             
Impacted Files Coverage Δ
include/MappingResults.hpp 64.5% <ø> (ø)
include/configuration/Configuration.hpp 0.0% <ø> (ø)
include/Architecture.hpp 87.0% <93.4%> (+13.8%) ⬆️
src/Architecture.cpp 95.6% <95.0%> (-0.3%) ⬇️
src/Mapper.cpp 93.1% <100.0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 18a0d3d...2521f95. Read the comment docs.

@burgholzer burgholzer linked an issue Jun 20, 2022 that may be closed by this pull request
… mapping

Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
… coupling map

Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
Signed-off-by: Lukas Burgholzer <lukas.burgholzer@jku.at>
@burgholzer burgholzer marked this pull request as ready for review June 23, 2022 00:42
@burgholzer burgholzer enabled auto-merge (squash) June 23, 2022 01:01
@burgholzer burgholzer merged commit 7a056cf into main Jun 23, 2022
@burgholzer burgholzer deleted the qiskit-backend branch November 4, 2022 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Importing Architecture Information directly from Qiskit
1 participant