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

Tests and docs for Wires #331

Closed SamFerracin closed 9 months ago

SamFerracin commented 9 months ago

Description of the Change: Adds tests and docs for wires in the format agreed during the dev meeting

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (6c84e03) 84.19% compared to head (972bc6e) 84.20%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## prototype-tn #331 +/- ## ================================================ + Coverage 84.19% 84.20% +0.01% ================================================ Files 71 71 Lines 5250 5250 ================================================ + Hits 4420 4421 +1 + Misses 830 829 -1 ``` | [Files](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/331?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI) | Coverage Δ | | |---|---|---| | [mrmustard/lab\_dev/wires.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/331?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYl9kZXYvd2lyZXMucHk=) | `98.40% <ø> (+0.80%)` | :arrow_up: | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/331?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/331?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI). Last update [6c84e03...972bc6e](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/331?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).
SamFerracin commented 9 months ago

Carries extra things