Closed soranjh closed 4 years ago
Merging #423 into master will increase coverage by
0.07%
. The diff coverage is99.28%
.
@@ Coverage Diff @@
## master #423 +/- ##
==========================================
+ Coverage 97.84% 97.91% +0.07%
==========================================
Files 58 68 +10
Lines 6784 7016 +232
==========================================
+ Hits 6638 6870 +232
Misses 146 146
Impacted Files | Coverage Δ | |
---|---|---|
strawberryfields/api/result.py | 100.00% <ø> (ø) |
|
strawberryfields/apps/plot.py | 100.00% <ø> (ø) |
|
strawberryfields/apps/train/embed.py | 100.00% <ø> (ø) |
|
...awberryfields/backends/gaussianbackend/__init__.py | 100.00% <ø> (ø) |
|
strawberryfields/backends/gaussianbackend/ops.py | 100.00% <ø> (+2.70%) |
:arrow_up: |
strawberryfields/circuitspecs/gaussian_unitary.py | 100.00% <ø> (ø) |
|
strawberryfields/circuitspecs/tensorflow.py | 100.00% <ø> (ø) |
|
strawberryfields/backends/fockbackend/ops.py | 94.04% <94.11%> (+2.04%) |
:arrow_up: |
strawberryfields/ops.py | 98.84% <96.29%> (-0.19%) |
:arrow_down: |
strawberryfields/backends/tfbackend/ops.py | 96.69% <97.88%> (-0.17%) |
:arrow_down: |
... and 43 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 f60703d...8d7661c. Read the comment docs.
This PR adds the function
sample_coherent
tosf.apps.qchem.dynamics
to sample from a coherent input state.