qiboteam / qiboml

Quantum Machine Learning using Qibo
Apache License 2.0
9 stars 3 forks source link

Temporary fixes to support pytorch backend migration #45

Open MatteoRobbiati opened 6 days ago

MatteoRobbiati commented 6 days ago

This is needed to complete the Pytorch backend migration from Qibo to Qiboml.

codecov[bot] commented 6 days ago

Codecov Report

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

Project coverage is 74.07%. Comparing base (b3c6bdc) to head (6ee13bb).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/qiboteam/qiboml/pull/45/graphs/tree.svg?width=650&height=150&src=pr&token=9HMBD3N3D6&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam)](https://app.codecov.io/gh/qiboteam/qiboml/pull/45?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) ```diff @@ Coverage Diff @@ ## main #45 +/- ## ======================================= Coverage 74.07% 74.07% ======================================= Files 5 5 Lines 135 135 ======================================= Hits 100 100 Misses 35 35 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qiboml/pull/45/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/qiboteam/qiboml/pull/45/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `74.07% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/qiboteam/qiboml/pull/45?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [src/qiboml/backends/\_\_init\_\_.py](https://app.codecov.io/gh/qiboteam/qiboml/pull/45?src=pr&el=tree&filepath=src%2Fqiboml%2Fbackends%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#diff-c3JjL3FpYm9tbC9iYWNrZW5kcy9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | |
BrunoLiegiBastonLiegi commented 1 hour ago

Are these just the recent modifications added in qiboteam/qibo#1450 ?

MatteoRobbiati commented 1 hour ago

Are these just the recent modifications added in qiboteam/qibo#1450 ?

Required for the backend migration.