cda-tum / mqt-qudits

A Framework For Mixed-Dimensional Qudit Quantum Computing
https://mqt.readthedocs.io/projects/qudits
MIT License
17 stars 4 forks source link

⬆️ update workflows and project configuration #62

Closed burgholzer closed 1 week ago

burgholzer commented 1 week ago

Description

This PR updates the workflow and general project configuration to the latest standards. Anytime the CD workflow runs on a push to main, it uploads the resulting package to Test PyPI. This allows to battle test the packages before official releases.

Checklist:

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 75.8%. Comparing base (df0645b) to head (f8e22a3). Report is 12 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/cda-tum/mqt-qudits/pull/62/graphs/tree.svg?width=650&height=150&src=pr&token=qDDZkemicI&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-qudits/pull/62?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 #62 +/- ## ===================================== Coverage 75.7% 75.8% ===================================== Files 118 118 Lines 6242 6242 Branches 278 278 ===================================== + Hits 4731 4734 +3 + Misses 1511 1508 -3 ``` | [Flag](https://app.codecov.io/gh/cda-tum/mqt-qudits/pull/62/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-qudits/pull/62/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `63.7% <ø> (ø)` | | | [python](https://app.codecov.io/gh/cda-tum/mqt-qudits/pull/62/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | `79.9% <100.0%> (+<0.1%)` | :arrow_up: | | [Files with missing lines](https://app.codecov.io/gh/cda-tum/mqt-qudits/pull/62?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum) | Coverage Δ | | |---|---|---| | [src/mqt/qudits/quantum\_circuit/circuit.py](https://app.codecov.io/gh/cda-tum/mqt-qudits/pull/62?src=pr&el=tree&filepath=src%2Fmqt%2Fqudits%2Fquantum_circuit%2Fcircuit.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-c3JjL21xdC9xdWRpdHMvcXVhbnR1bV9jaXJjdWl0L2NpcmN1aXQucHk=) | `89.3% <100.0%> (ø)` | | | [...um\_circuit/components/extensions/matrix\_factory.py](https://app.codecov.io/gh/cda-tum/mqt-qudits/pull/62?src=pr&el=tree&filepath=src%2Fmqt%2Fqudits%2Fquantum_circuit%2Fcomponents%2Fextensions%2Fmatrix_factory.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-c3JjL21xdC9xdWRpdHMvcXVhbnR1bV9jaXJjdWl0L2NvbXBvbmVudHMvZXh0ZW5zaW9ucy9tYXRyaXhfZmFjdG9yeS5weQ==) | `85.0% <100.0%> (ø)` | | | [...c/mqt/qudits/simulation/backends/stochastic\_sim.py](https://app.codecov.io/gh/cda-tum/mqt-qudits/pull/62?src=pr&el=tree&filepath=src%2Fmqt%2Fqudits%2Fsimulation%2Fbackends%2Fstochastic_sim.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=cda-tum#diff-c3JjL21xdC9xdWRpdHMvc2ltdWxhdGlvbi9iYWNrZW5kcy9zdG9jaGFzdGljX3NpbS5weQ==) | `91.6% <100.0%> (+6.2%)` | :arrow_up: |