XanaduAI / MrMustard

A differentiable bridge between phase space and Fock space
https://mrmustard.readthedocs.io/
Apache License 2.0
78 stars 27 forks source link

Fixing a Scipy error #337

Closed SamFerracin closed 9 months ago

SamFerracin commented 9 months ago

Context: In the latest MrM release, scipy was unpinned. Syncing the develop branch with this latest release causes pytest errors due to improper type handling on scipy's side.

Description of the Change:

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (95752f3) 78.75% compared to head (2258ce9) 84.06%. Report is 33 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #337 +/- ## =========================================== + Coverage 78.75% 84.06% +5.30% =========================================== Files 54 65 +11 Lines 4514 4775 +261 =========================================== + Hits 3555 4014 +459 + Misses 959 761 -198 ``` | [Files](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI) | Coverage Δ | | |---|---|---| | [mrmustard/\_\_init\_\_.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [mrmustard/\_version.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL192ZXJzaW9uLnB5) | `100.00% <100.00%> (ø)` | | | [mrmustard/lab/abstract/\_\_init\_\_.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYi9hYnN0cmFjdC9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [mrmustard/lab/abstract/measurement.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYi9hYnN0cmFjdC9tZWFzdXJlbWVudC5weQ==) | `89.41% <100.00%> (+2.99%)` | :arrow_up: | | [mrmustard/lab/circuit.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYi9jaXJjdWl0LnB5) | `93.54% <100.00%> (+0.44%)` | :arrow_up: | | [mrmustard/lab/states.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYi9zdGF0ZXMucHk=) | `100.00% <100.00%> (ø)` | | | [mrmustard/lab/utils.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYi91dGlscy5weQ==) | `100.00% <100.00%> (ø)` | | | [mrmustard/math/\_\_init\_\_.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL21hdGgvX19pbml0X18ucHk=) | `100.00% <100.00%> (+25.00%)` | :arrow_up: | | [mrmustard/math/backend\_base.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL21hdGgvYmFja2VuZF9iYXNlLnB5) | `100.00% <100.00%> (ø)` | | | [mrmustard/math/backend\_numpy.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL21hdGgvYmFja2VuZF9udW1weS5weQ==) | `100.00% <100.00%> (ø)` | | | ... and [47 more](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI) | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI). Last update [4d47e8e...2258ce9](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/337?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI).