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

Merge the demo branch into master #319

Closed josh146 closed 4 years ago

josh146 commented 4 years ago

This PR merges the demo branch into master in preparation for release. In particular, it adds the following features which so far have been developed in isolation in the demo branch:

While this PR is large, it is composed of code-reviewed PRs, it is still worth giving it a quick once-over.

Note: please have a look at the updated changelog (rendered version here: https://strawberryfields.readthedocs.io/en/demo/development/release_notes.html). I have collated several independent PRs into single bullet points, since this will be squash-merged into master, and added examples.

codecov[bot] commented 4 years ago

Codecov Report

Merging #319 into master will not change coverage by %. The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #319   +/-   ##
=======================================
  Coverage   97.66%   97.66%           
=======================================
  Files          50       50           
  Lines        6252     6252           
=======================================
  Hits         6106     6106           
  Misses        146      146           

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 08f69b6...08f69b6. Read the comment docs.

josh146 commented 4 years ago

@trbromley, thanks! I agree with your comments re: the configuration page and the hardware tutorial. However, I think it's best to address them in separate PRs post-demo merge. Partly because this PR is so big, and blocking a few other changes required for release.

trbromley commented 4 years ago

@trbromley, do you have a nice small example we could add to the 'weighted graphs' change?

This is addressed in https://github.com/XanaduAI/strawberryfields/pull/321 - should be a few minutes to review, but wanted to do as a PR to keep the change clear.