qiboteam / qiboml

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

`MetaBackend` #25

Closed BrunoLiegiBastonLiegi closed 4 months ago

BrunoLiegiBastonLiegi commented 4 months ago

Updates qiboml for compatibility with the new MetaBackend mechanism introduced in qibo

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 48.92%. Comparing base (966c86e) to head (5f99465).

:exclamation: Current head 5f99465 differs from pull request most recent head 77254eb

Please upload reports for the commit 77254eb to get more accurate results.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/qiboteam/qiboml/pull/25/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/25?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) ```diff @@ Coverage Diff @@ ## main #25 +/- ## =========================================== + Coverage 16.62% 48.92% +32.29% =========================================== Files 8 8 Lines 439 464 +25 =========================================== + Hits 73 227 +154 + Misses 366 237 -129 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qiboml/pull/25/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/25/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `48.92% <100.00%> (+32.29%)` | :arrow_up: | 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](https://app.codecov.io/gh/qiboteam/qiboml/pull/25?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/\_\_init\_\_.py](https://app.codecov.io/gh/qiboteam/qiboml/pull/25?src=pr&el=tree&filepath=src%2Fqiboml%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#diff-c3JjL3FpYm9tbC9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [src/qiboml/backends/\_\_init\_\_.py](https://app.codecov.io/gh/qiboteam/qiboml/pull/25?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%> (+100.00%)` | :arrow_up: | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/qiboteam/qiboml/pull/25/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam)
BrunoLiegiBastonLiegi commented 4 months ago

@alecandido @MatteoRobbiati this is ready, it is failing due to the usual post load cached venv