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

Fix image in hardware tutorial #345

Closed trbromley closed 4 years ago

trbromley commented 4 years ago

The "SU(4)" text is currently not displaying correctly in the chip diagram. It is overlapping the text of the following word.

This PR adds a .png version of the image and uses that.

Currently: image

With this PR: image

josh146 commented 4 years ago

Oh, thanks for this Tom! For some reason, it displays fine on my PC (using Windows), so I never noticed this... Perhaps it's a linux vs. windows rendering problem?

trbromley commented 4 years ago

Yes maybe! I think @co9olguy reported the same. Thanks

codecov[bot] commented 4 years ago

Codecov Report

Merging #345 into master will increase coverage by 0.03%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #345      +/-   ##
==========================================
+ Coverage   97.67%   97.70%   +0.03%     
==========================================
  Files          51       51              
  Lines        6355     6355              
==========================================
+ Hits         6207     6209       +2     
+ Misses        148      146       -2     
Impacted Files Coverage Δ
strawberryfields/api/connection.py 97.61% <100.00%> (ø)
strawberryfields/engine.py 95.45% <100.00%> (ø)
strawberryfields/backends/tfbackend/ops.py 96.08% <0.00%> (+0.34%) :arrow_up:

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 4e451b0...7ef561e. Read the comment docs.