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 qchem and dynamics observable #402

Closed soranjh closed 4 years ago

soranjh commented 4 years ago

This PR adds a function to the apps.qchem.dynamics module to implement the operations required to simulate vibrational quantum dynamics in molecules.

codecov[bot] commented 4 years ago

Codecov Report

Merging #402 into master will decrease coverage by 0.00%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #402      +/-   ##
==========================================
- Coverage   97.84%   97.84%   -0.01%     
==========================================
  Files          58       60       +2     
  Lines        6784     6806      +22     
==========================================
+ Hits         6638     6659      +21     
- Misses        146      147       +1     
Impacted Files Coverage Δ
strawberryfields/api/result.py 100.00% <ø> (ø)
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%> (ø)
...rawberryfields/backends/gaussianbackend/backend.py 98.63% <100.00%> (-0.04%) :arrow_down:
strawberryfields/backends/tfbackend/circuit.py 95.83% <100.00%> (+0.01%) :arrow_up:
strawberryfields/engine.py 95.26% <100.00%> (+0.36%) :arrow_up:
... and 7 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 55f597f...e26d1b7. Read the comment docs.