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

Bosonic backend nongaussian #541

Closed elib20 closed 3 years ago

elib20 commented 3 years ago

Context: The bosonic backend simulates states as linear combinations of Gaussians in phase space

Description of the Change:

Benefits:

Possible Drawbacks:

Related GitHub Issues:

codecov[bot] commented 3 years ago

Codecov Report

Merging #541 (1356c90) into master (3bd5318) will increase coverage by 0.04%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #541      +/-   ##
==========================================
+ Coverage   98.15%   98.19%   +0.04%     
==========================================
  Files          75       76       +1     
  Lines        8115     8327     +212     
==========================================
+ Hits         7965     8177     +212     
  Misses        150      150              
Impacted Files Coverage Δ
strawberryfields/backends/base.py 88.98% <100.00%> (ø)
...trawberryfields/backends/bosonicbackend/backend.py 100.00% <100.00%> (ø)
strawberryfields/compilers/__init__.py 100.00% <100.00%> (ø)
strawberryfields/compilers/bosonic.py 100.00% <100.00%> (ø)
strawberryfields/ops.py 98.88% <100.00%> (+0.03%) :arrow_up:

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 3bd5318...1356c90. Read the comment docs.