XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
745 stars 187 forks source link

Adds extra tests #619

Closed nquesada closed 3 years ago

nquesada commented 3 years ago

Adds new tests for threshold detection. So far they seem to fail.

codecov[bot] commented 3 years ago

Codecov Report

Merging #619 (aa3a80d) into bosonic_threshold (ee5c8a1) will decrease coverage by 36.23%. The diff coverage is n/a.

:exclamation: Current head aa3a80d differs from pull request most recent head 9b1bdea. Consider uploading reports for the commit 9b1bdea to get more accurate results

@@                  Coverage Diff                   @@
##           bosonic_threshold     #619       +/-   ##
======================================================
- Coverage              98.56%   62.33%   -36.24%     
======================================================
Files                     77       77               
Lines                   8937     8937               
======================================================
- Hits                    8809     5571     -3238     
- Misses                   128     3366     +3238     
Impacted Files Coverage Δ
...trawberryfields/backends/bosonicbackend/backend.py 100.00% <ø> (ø)
strawberryfields/apps/subgraph.py 10.11% <0.00%> (-89.89%) :arrow_down:
strawberryfields/apps/clique.py 10.67% <0.00%> (-89.33%) :arrow_down:
strawberryfields/io.py 9.27% <0.00%> (-87.63%) :arrow_down:
strawberryfields/apps/qchem/dynamics.py 12.65% <0.00%> (-87.35%) :arrow_down:
strawberryfields/decompositions.py 13.89% <0.00%> (-85.88%) :arrow_down:
strawberryfields/plot.py 13.15% <0.00%> (-85.09%) :arrow_down:
strawberryfields/apps/qchem/utils.py 15.78% <0.00%> (-84.22%) :arrow_down:
strawberryfields/apps/similarity.py 16.02% <0.00%> (-83.98%) :arrow_down:
strawberryfields/backends/gaussianbackend/ops.py 16.21% <0.00%> (-83.79%) :arrow_down:
... and 38 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ee5c8a1...9b1bdea. Read the comment docs.