UCL-CCS / symmer

An efficient Python-based framework for implementing qubit subspace methods, reducing the resource requirements for near-term quantum simulations.
MIT License
38 stars 9 forks source link

Python update #163

Closed MIWdlB closed 9 months ago

MIWdlB commented 1 year ago

Updates the python dependency to make it less restrictive, in line with #162

Included in changes:

codecov-commenter commented 1 year ago

Codecov Report

Attention: 203 lines in your changes are missing coverage. Please review.

Comparison is base (33716f6) 77.48% compared to head (b1f6881) 77.47%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #163 +/- ## ========================================== - Coverage 77.48% 77.47% -0.02% ========================================== Files 33 33 Lines 3833 3840 +7 ========================================== + Hits 2970 2975 +5 - Misses 863 865 +2 ``` | [Files](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS) | Coverage Δ | | |---|---|---| | [symmer/\_\_init\_\_.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-c3ltbWVyL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [symmer/evolution/\_\_init\_\_.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-c3ltbWVyL2V2b2x1dGlvbi9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [symmer/evolution/gate\_library.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-c3ltbWVyL2V2b2x1dGlvbi9nYXRlX2xpYnJhcnkucHk=) | `100.00% <100.00%> (ø)` | | | [symmer/operators/base.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-c3ltbWVyL29wZXJhdG9ycy9iYXNlLnB5) | `65.89% <ø> (+0.12%)` | :arrow_up: | | [symmer/projection/\_\_init\_\_.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-c3ltbWVyL3Byb2plY3Rpb24vX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [symmer/projection/base.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-c3ltbWVyL3Byb2plY3Rpb24vYmFzZS5weQ==) | `93.33% <100.00%> (-2.23%)` | :arrow_down: | | [symmer/projection/qubit\_subspace\_manager.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-c3ltbWVyL3Byb2plY3Rpb24vcXViaXRfc3Vic3BhY2VfbWFuYWdlci5weQ==) | `93.97% <100.00%> (ø)` | | | [symmer/projection/qubit\_tapering.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-c3ltbWVyL3Byb2plY3Rpb24vcXViaXRfdGFwZXJpbmcucHk=) | `100.00% <100.00%> (ø)` | | | [...ests/test\_evolution/test\_evolution\_gate\_library.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-dGVzdHMvdGVzdF9ldm9sdXRpb24vdGVzdF9ldm9sdXRpb25fZ2F0ZV9saWJyYXJ5LnB5) | `100.00% <100.00%> (ø)` | | | [tests/test\_operators/test\_anticommuting\_op.py](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS#diff-dGVzdHMvdGVzdF9vcGVyYXRvcnMvdGVzdF9hbnRpY29tbXV0aW5nX29wLnB5) | `100.00% <100.00%> (ø)` | | | ... and [21 more](https://app.codecov.io/gh/UCL-CCS/symmer/pull/163?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=UCL-CCS) | |

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

MIWdlB commented 1 year ago

There is a problem with rustworkx 0.13.2 (dependency of qiskit) such that it is unable to install via poetry.

Easy workaround for this is to pin it to <0.13.1 until the issue is resolved (presumably an issue with PyPI).