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 the cancel_pending JobStatus #456

Closed antalszava closed 4 years ago

antalszava commented 4 years ago

Context: Adds the cancel_pending JobStatus.

codecov[bot] commented 4 years ago

Codecov Report

Merging #456 into master will decrease coverage by 1.01%. The diff coverage is 99.39%.

@@            Coverage Diff             @@
##           master     #456      +/-   ##
==========================================
- Coverage   97.84%   96.83%   -1.02%     
==========================================
  Files          58       70      +12     
  Lines        6784     7078     +294     
==========================================
+ Hits         6638     6854     +216     
- Misses        146      224      +78     
Impacted Files Coverage Δ
strawberryfields/apps/clique.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/backends/shared_ops.py 96.11% <ø> (-0.98%) :arrow_down:
strawberryfields/engine.py 95.45% <ø> (+0.55%) :arrow_up:
strawberryfields/io.py 97.70% <ø> (-1.13%) :arrow_down:
strawberryfields/ops.py 98.84% <ø> (-0.18%) :arrow_down:
strawberryfields/parameters.py 99.06% <ø> (+0.03%) :arrow_up:
... and 75 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 a3b657b...216371a. Read the comment docs.

antalszava commented 4 years ago

Thanks for the comments @pauljxtan @thisac! :100: Agreed, might simply just be best to add it to the list and have it that way :)