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

Gkp paritycheck #515

Closed elib20 closed 3 years ago

elib20 commented 3 years ago

Updates the fidelity_coherent, fidelity_vacuum functions. Creates parity_val function to check parity of state.

codecov[bot] commented 3 years ago

Codecov Report

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

@@           Coverage Diff           @@
##             gkps     #515   +/-   ##
=======================================
  Coverage        ?   89.43%           
=======================================
  Files           ?       75           
  Lines           ?     8198           
  Branches        ?        0           
=======================================
  Hits            ?     7332           
  Misses          ?      866           
  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 a5dd811...9a2f169. Read the comment docs.