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

Tutorials for lab_dev and physics #392

Open sylviemonet opened 6 months ago

sylviemonet commented 6 months ago

Context: Visualize the docs from this PR.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

codecov[bot] commented 6 months ago

Codecov Report

Attention: Patch coverage is 76.31579% with 9 lines in your changes missing coverage. Please review.

Project coverage is 87.45%. Comparing base (680bf64) to head (248bc1b). Report is 55 commits behind head on develop.

Files with missing lines Patch % Lines
mrmustard/physics/utils.py 66.66% 9 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #392 +/- ## ======================================== Coverage 87.44% 87.45% ======================================== Files 81 82 +1 Lines 6142 6145 +3 ======================================== + Hits 5371 5374 +3 Misses 771 771 ``` | [Files with missing lines](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI) | Coverage Δ | | |---|---|---| | [mrmustard/lab/abstract/state.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Flab%2Fabstract%2Fstate.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYi9hYnN0cmFjdC9zdGF0ZS5weQ==) | `92.66% <ø> (ø)` | | | [mrmustard/lab\_dev/\_\_init\_\_.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Flab_dev%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYl9kZXYvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | | [mrmustard/lab\_dev/circuit\_components.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Flab_dev%2Fcircuit_components.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYl9kZXYvY2lyY3VpdF9jb21wb25lbnRzLnB5) | `96.13% <100.00%> (ø)` | | | [mrmustard/lab\_dev/circuit\_components\_utils.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Flab_dev%2Fcircuit_components_utils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYl9kZXYvY2lyY3VpdF9jb21wb25lbnRzX3V0aWxzLnB5) | `100.00% <ø> (ø)` | | | [mrmustard/lab\_dev/circuits.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Flab_dev%2Fcircuits.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYl9kZXYvY2lyY3VpdHMucHk=) | `95.45% <ø> (ø)` | | | [mrmustard/lab\_dev/simulator.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Flab_dev%2Fsimulator.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYl9kZXYvc2ltdWxhdG9yLnB5) | `87.50% <100.00%> (ø)` | | | [mrmustard/lab\_dev/states/\_\_init\_\_.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Flab_dev%2Fstates%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYl9kZXYvc3RhdGVzL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [mrmustard/lab\_dev/transformations/\_\_init\_\_.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Flab_dev%2Ftransformations%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL2xhYl9kZXYvdHJhbnNmb3JtYXRpb25zL19faW5pdF9fLnB5) | `100.00% <100.00%> (ø)` | | | [mrmustard/physics/\_\_init\_\_.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Fphysics%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL3BoeXNpY3MvX19pbml0X18ucHk=) | `100.00% <100.00%> (+33.33%)` | :arrow_up: | | [mrmustard/physics/ansatze.py](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?src=pr&el=tree&filepath=mrmustard%2Fphysics%2Fansatze.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI#diff-bXJtdXN0YXJkL3BoeXNpY3MvYW5zYXR6ZS5weQ==) | `95.13% <100.00%> (ø)` | | | ... and [6 more](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?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/392?dropdown=coverage&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/392?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=XanaduAI). Last update [680bf64...248bc1b](https://app.codecov.io/gh/XanaduAI/MrMustard/pull/392?dropdown=coverage&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).