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
754 stars 191 forks source link

Gkps tests #532

Closed elib20 closed 3 years ago

elib20 commented 3 years ago

Before submitting

Please complete the following checklist when submitting a PR:

When all the above are checked, delete everything above the dashed line and fill in the pull request template.


Context: Creating tests for the bosonic backend.

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

codecov[bot] commented 3 years ago

Codecov Report

Merging #532 (34f0538) into gkps (590b069) will increase coverage by 0.16%. The diff coverage is 4.16%.

@@            Coverage Diff             @@
##             gkps     #532      +/-   ##
==========================================
+ Coverage   90.00%   90.17%   +0.16%     
==========================================
  Files          76       76              
  Lines        8374     8354      -20     
==========================================
- Hits         7537     7533       -4     
+ Misses        837      821      -16     
Impacted Files Coverage Δ
strawberryfields/backends/bosonicbackend/ops.py 21.42% <0.00%> (+4.76%) :arrow_up:
strawberryfields/backends/states.py 82.74% <0.00%> (-0.29%) :arrow_down:
...trawberryfields/backends/bosonicbackend/backend.py 16.28% <5.55%> (-0.55%) :arrow_down:

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 590b069...34f0538. Read the comment docs.