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 #534

Closed elib20 closed 3 years ago

elib20 commented 3 years ago

Context: Tidies up and tests bosoniccircuit.py

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

codecov[bot] commented 3 years ago

Codecov Report

Merging #534 (d997977) into gkps (c2c9bd6) will increase coverage by 0.52%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             gkps     #534      +/-   ##
==========================================
+ Coverage   95.82%   96.34%   +0.52%     
==========================================
  Files          76       76              
  Lines        8354     8352       -2     
==========================================
+ Hits         8005     8047      +42     
+ Misses        349      305      -44     
Impacted Files Coverage Δ
...ryfields/backends/bosonicbackend/bosoniccircuit.py 100.00% <100.00%> (+15.06%) :arrow_up:
strawberryfields/backends/gaussianbackend/ops.py 100.00% <0.00%> (ø)

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 c2c9bd6...d997977. Read the comment docs.