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
745 stars 187 forks source link

check/update/fix tutorials #623

Closed sduquemesa closed 2 years ago

sduquemesa commented 2 years ago

Context: The teleportation.py tutorial in the examples folder is very outdated, and uses functionality latest seen in v0.11.0 (e.g. the strawberryfields.utils.scale function). It should either be updated or removed.

Description of the Change: Check, update and fix strawberryfields tutorials in the examples folder

Benefits: Updated tutorials and examples

Possible Drawbacks: None

Related GitHub Issues: Update examples/teleportation.py (#612)

codecov[bot] commented 2 years ago

Codecov Report

Merging #623 (37d01ab) into master (724b0a7) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #623   +/-   ##
=======================================
  Coverage   98.54%   98.54%           
=======================================
  Files          77       77           
  Lines        8938     8938           
=======================================
  Hits         8808     8808           
  Misses        130      130           

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 724b0a7...37d01ab. Read the comment docs.