Closed nquesada closed 3 years ago
Merging #594 (0c538f8) into master (6b7b5c5) will decrease coverage by
35.52%
. The diff coverage isn/a
.
@@ Coverage Diff @@
## master #594 +/- ##
===========================================
- Coverage 98.44% 62.92% -35.53%
===========================================
Files 76 76
Lines 8752 8752
===========================================
- Hits 8616 5507 -3109
- Misses 136 3245 +3109
Impacted Files | Coverage Δ | |
---|---|---|
strawberryfields/compilers/gaussian.py | 100.00% <ø> (ø) |
|
strawberryfields/compilers/gaussian_merge.py | 18.88% <ø> (-81.12%) |
:arrow_down: |
strawberryfields/apps/subgraph.py | 10.11% <0.00%> (-89.89%) |
:arrow_down: |
strawberryfields/apps/clique.py | 10.67% <0.00%> (-89.33%) |
:arrow_down: |
strawberryfields/io.py | 8.90% <0.00%> (-87.96%) |
:arrow_down: |
strawberryfields/apps/qchem/dynamics.py | 12.65% <0.00%> (-87.35%) |
:arrow_down: |
strawberryfields/decompositions.py | 13.89% <0.00%> (-85.88%) |
:arrow_down: |
strawberryfields/plot.py | 13.15% <0.00%> (-85.09%) |
:arrow_down: |
strawberryfields/apps/qchem/utils.py | 15.78% <0.00%> (-84.22%) |
:arrow_down: |
strawberryfields/apps/similarity.py | 16.02% <0.00%> (-83.98%) |
:arrow_down: |
... and 38 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 6b7b5c5...0c538f8. Read the comment docs.
OK. seems like removing measurement is after all not a good idea. For the moment it is fine to leave them there, but eventually it might be useful to think more carefully about this.
The compilers
Gaussian
andGaussianMerge
should not accept as primitives measurement and at least some class of preparations. This PR removes this objects from the list things these compilers accept.Addresses https://github.com/XanaduAI/strawberryfields/issues/593