cda-tum / mqt-core

MQT Core - The Backbone of the Munich Quantum Toolkit
http://mqt.readthedocs.io/projects/core
MIT License
52 stars 28 forks source link

✨ ship shared C++ libraries with mqt-core Python package #662

Open burgholzer opened 1 month ago

burgholzer commented 1 month ago

Description

This PR marks another try of getting the mqt.core Python package to also ship the complete MQT Core C++ library in a compact form so that the Python package can be used as the single source for the C++ and the Python side in top-level projects

Supersedes #538

Checklist:

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 87.1%. Comparing base (1bc7998) to head (b15a4ac).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662/graphs/tree.svg?width=650&height=150&src=pr&token=MqstsRKdqp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum)](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) ```diff @@ Coverage Diff @@ ## main #662 +/- ## ======================================= + Coverage 86.9% 87.1% +0.1% ======================================= Files 125 127 +2 Lines 13780 13834 +54 Branches 2164 2164 ======================================= + Hits 11987 12052 +65 + Misses 1793 1782 -11 ``` | [Flag](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | Coverage Δ | | |---|---|---| | [cpp](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `86.6% <ø> (+<0.1%)` | :arrow_up: | | [python](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `99.7% <100.0%> (+<0.1%)` | :arrow_up: | | [Files with missing lines](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | Coverage Δ | | |---|---|---| | [include/mqt-core/dd/RealNumber.hpp](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662?src=pr&el=tree&filepath=include%2Fmqt-core%2Fdd%2FRealNumber.hpp&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-aW5jbHVkZS9tcXQtY29yZS9kZC9SZWFsTnVtYmVyLmhwcA==) | `100.0% <ø> (ø)` | | | [src/mqt/core/\_\_init\_\_.py](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662?src=pr&el=tree&filepath=src%2Fmqt%2Fcore%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-c3JjL21xdC9jb3JlL19faW5pdF9fLnB5) | `100.0% <100.0%> (ø)` | | | [src/mqt/core/\_\_main\_\_.py](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662?src=pr&el=tree&filepath=src%2Fmqt%2Fcore%2F__main__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-c3JjL21xdC9jb3JlL19fbWFpbl9fLnB5) | `100.0% <100.0%> (ø)` | | | [src/mqt/core/\_commands.py](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662?src=pr&el=tree&filepath=src%2Fmqt%2Fcore%2F_commands.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-c3JjL21xdC9jb3JlL19jb21tYW5kcy5weQ==) | `100.0% <100.0%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/cda-tum/mqt-core/pull/662/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum)