Closed soranjh closed 3 years ago
@soranjh does this require any changes to existing SF demos?
@soranjh does this require any changes to existing SF demos?
Hi @josh146. No, the change does not affect any demos.
Merging #487 (e04986c) into master (3f63d51) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #487 +/- ##
=======================================
Coverage 96.86% 96.86%
=======================================
Files 70 70
Lines 7154 7154
=======================================
Hits 6930 6930
Misses 224 224
Impacted Files | Coverage Δ | |
---|---|---|
strawberryfields/apps/qchem/dynamics.py | 100.00% <ø> (ø) |
|
strawberryfields/apps/qchem/utils.py | 100.00% <100.00%> (ø) |
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 3f63d51...e04986c. Read the comment docs.
This PR moves the
prob
andmarginals
functions fromapps.qchem.dynamics
toapps.qchem.utils
. These functions were initially created as utility functions for simulating vibrational dynamics of molecules. However, they can also be used in other applications such as simulating vibrational excitations and therefore should be moved to theutils
module which is created for hosting general-purpose utility functions. The arrangement of theqchem
functions in this PR is shown in the image below.