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

Adds ops.py and its test file #533

Closed nquesada closed 3 years ago

nquesada commented 3 years ago

Adds ops.py and its test file.

I am tagging to people for reviewing but I suspect one is more then enough.

codecov[bot] commented 3 years ago

Codecov Report

Merging #533 (baf334c) into master (097dbc3) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #533   +/-   ##
=======================================
  Coverage   98.04%   98.04%           
=======================================
  Files          71       72    +1     
  Lines        7507     7534   +27     
=======================================
+ Hits         7360     7387   +27     
  Misses        147      147           
Impacted Files Coverage Δ
strawberryfields/backends/bosonicbackend/ops.py 100.00% <100.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 097dbc3...baf334c. Read the comment docs.