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

Add a function to qchem for Fock state sampling #411

Closed soranjh closed 4 years ago

soranjh commented 4 years ago

This PR adds a function to the apps.qchem.dynamics module to generate samples for simulating vibrational quantum dynamics in molecules with a Fock input state.

codecov[bot] commented 4 years ago

Codecov Report

Merging #411 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #411   +/-   ##
=======================================
  Coverage   97.84%   97.85%           
=======================================
  Files          58       63    +5     
  Lines        6784     6800   +16     
=======================================
+ Hits         6638     6654   +16     
  Misses        146      146           
Impacted Files Coverage Δ
strawberryfields/api/result.py 100.00% <ø> (ø)
...awberryfields/backends/gaussianbackend/__init__.py 100.00% <ø> (ø)
strawberryfields/backends/gaussianbackend/ops.py 100.00% <ø> (+2.70%) :arrow_up:
strawberryfields/apps/__init__.py 100.00% <100.00%> (ø)
strawberryfields/apps/qchem/__init__.py 100.00% <100.00%> (ø)
strawberryfields/apps/qchem/dynamics.py 100.00% <100.00%> (ø)
strawberryfields/apps/train/__init__.py 100.00% <100.00%> (ø)
strawberryfields/apps/train/cost.py 100.00% <100.00%> (ø)
strawberryfields/backends/fockbackend/circuit.py 98.42% <100.00%> (ø)
strawberryfields/backends/fockbackend/ops.py 92.00% <100.00%> (ø)
... and 22 more

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 d28e86d...63826dc. Read the comment docs.