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

Adding fock gkps #553

Closed nquesada closed 3 years ago

nquesada commented 3 years ago

Adds preparation methods for the GKP states in the Fock backend

codecov[bot] commented 3 years ago

Codecov Report

Merging #553 (80170e6) into master (9255982) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #553   +/-   ##
=======================================
  Coverage   98.23%   98.24%           
=======================================
  Files          76       76           
  Lines        8397     8429   +32     
=======================================
+ Hits         8249     8281   +32     
  Misses        148      148           
Impacted Files Coverage Δ
strawberryfields/compilers/fock.py 100.00% <ø> (ø)
...trawberryfields/backends/bosonicbackend/backend.py 100.00% <100.00%> (ø)
strawberryfields/backends/fockbackend/backend.py 100.00% <100.00%> (ø)
strawberryfields/backends/fockbackend/circuit.py 98.42% <100.00%> (+0.02%) :arrow_up:
strawberryfields/backends/fockbackend/ops.py 94.68% <100.00%> (+0.63%) :arrow_up:
strawberryfields/ops.py 98.89% <100.00%> (+<0.01%) :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 9255982...80170e6. Read the comment docs.