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 the functions for Fock state preparation #506

Closed nquesada closed 3 years ago

nquesada commented 3 years ago

Adds functions for coefficients, covariance matrices and vectors of means for describing a Fock state in terms of Gaussians.

codecov[bot] commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (gkps-state-prep@546c566). Click here to learn what that means. The diff coverage is n/a.

@@                Coverage Diff                 @@
##             gkps-state-prep     #506   +/-   ##
==================================================
  Coverage                   ?   91.73%           
==================================================
  Files                      ?       75           
  Lines                      ?     7960           
  Branches                   ?        0           
==================================================
  Hits                       ?     7302           
  Misses                     ?      658           
  Partials                   ?        0           

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 546c566...48ed22d. Read the comment docs.