qiboteam / qibo

A framework for quantum computing
https://qibo.science
Apache License 2.0
287 stars 58 forks source link

Move `partial_trace` and `matrix_exponentiation` from `backend` methods to standalone functions in `quantum_info.linalg_operations` #1390

Closed renatomello closed 2 months ago

renatomello commented 2 months ago

Closes #1168

Checklist:

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (59af33c) to head (dcf5281).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1390 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 76 76 Lines 10923 10940 +17 ========================================= + Hits 10923 10940 +17 ``` | [Flag](https://app.codecov.io/gh/qiboteam/qibo/pull/1390/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/qibo/pull/1390/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=qiboteam) | `100.00% <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.

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