qiboteam / qibolab

Quantum hardware module and drivers for Qibo.
https://qibo.science
Apache License 2.0
40 stars 10 forks source link

Fix emulator imports #922

Closed alecandido closed 2 weeks ago

alecandido commented 2 weeks ago

The just merged #849 was based on a previous version of main, and it haven't been updated recently.

Because of this, it was prone to a recent change denying re-exports for objects defined somewhere else (in particular, Qubit and Coupler objects are not the defined in qibolab.platform, but in their own modules).

More tests may have to be fixed.

codecov[bot] commented 2 weeks ago

Codecov Report

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

Project coverage is 70.25%. Comparing base (7269c6b) to head (5aea8dc). Report is 23 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #922 +/- ## ========================================== + Coverage 70.12% 70.25% +0.13% ========================================== Files 61 64 +3 Lines 6620 6647 +27 ========================================== + Hits 4642 4670 +28 + Misses 1978 1977 -1 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qibolab/pull/922/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/qibolab/pull/922/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `70.25% <100.00%> (+0.13%)` | :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.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.