qiboteam / qibolab

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

Rename initial_state in execute_circuits #894

Closed Edoardo-Pedicillo closed 2 months ago

Edoardo-Pedicillo commented 2 months ago

This PR closes #893 Checklist:

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 66.61%. Comparing base (483c5a5) to head (0a5b88c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #894 +/- ## ========================================== + Coverage 66.59% 66.61% +0.01% ========================================== Files 55 55 Lines 5942 5942 ========================================== + Hits 3957 3958 +1 + Misses 1985 1984 -1 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qibolab/pull/894/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/894/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `66.61% <100.00%> (+0.01%)` | :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.

Edoardo-Pedicillo commented 2 months ago

Thanks @alecandido, updating the tests I spotted another typo https://github.com/qiboteam/qibolab/blob/483c5a541f5d8f67f2e561958544aff314a425c6/src/qibolab/backends.py#L128-L131 also here is missing an "s" in circuit.