qiboteam / qibocal

Quantum calibration, characterization and validation module for Qibo.
https://qibo.science
Apache License 2.0
31 stars 7 forks source link

change import of Backend #853

Closed Edoardo-Pedicillo closed 4 months ago

Edoardo-Pedicillo commented 4 months ago

This is a small fix, to be compatible with Qibo 0.2.8 (https://github.com/qiboteam/qibo/commit/18d59d7620b1172b1ca10c8ab0192f2ca7c5db7c)

Checklist:

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 97.25%. Comparing base (7a422fc) to head (c192841).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/qiboteam/qibocal/pull/853/graphs/tree.svg?width=650&height=150&src=pr&token=3EA9ZUNKUY&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam)](https://app.codecov.io/gh/qiboteam/qibocal/pull/853?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) ```diff @@ Coverage Diff @@ ## main #853 +/- ## ========================================== - Coverage 97.28% 97.25% -0.04% ========================================== Files 109 109 Lines 8043 8044 +1 ========================================== - Hits 7825 7823 -2 - Misses 218 221 +3 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qibocal/pull/853/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/qibocal/pull/853/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `97.25% <100.00%> (-0.04%)` | :arrow_down: | 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/qibocal/pull/853?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | Coverage Δ | | |---|---|---| | [src/qibocal/auto/runcard.py](https://app.codecov.io/gh/qiboteam/qibocal/pull/853?src=pr&el=tree&filepath=src%2Fqibocal%2Fauto%2Fruncard.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#diff-c3JjL3FpYm9jYWwvYXV0by9ydW5jYXJkLnB5) | `95.91% <100.00%> (+0.08%)` | :arrow_up: | | [src/qibocal/auto/transpile.py](https://app.codecov.io/gh/qiboteam/qibocal/pull/853?src=pr&el=tree&filepath=src%2Fqibocal%2Fauto%2Ftranspile.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam#diff-c3JjL3FpYm9jYWwvYXV0by90cmFuc3BpbGUucHk=) | `100.00% <100.00%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/qiboteam/qibocal/pull/853/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam)
andrea-pasquale commented 4 months ago

@Edoardo-Pedicillo we have released qibo today, as soon as you update the lock you should be able to merge this PR today.