Skip to content

Commit

Permalink
Update tutorial image links (#151)
Browse files Browse the repository at this point in the history
* Update tutorial image links in index.rst

* update ci requirements to pin tf

* try updating reference to requirements ci file in rtd yaml

* remove system-packages line from yaml

---------

Co-authored-by: lillian542 <[email protected]>
  • Loading branch information
ottoak and lillian542 authored Dec 20, 2023
1 parent 2b9cd79 commit 770d099
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ sphinx:

python:
install:
- requirements: ci_build_requirements.txt
- requirements: requirements-ci.txt
- requirements: doc/requirements.txt
- method: pip
path: .
system_packages: true

build:
os: ubuntu-22.04
tools:
python: "3.8"
jobs:
pre_install:
- echo "setuptools~=66.0\npip~=22.0" >> ci_build_requirements.txt
- echo "setuptools~=66.0\npip~=22.0" >> requirements-ci.txt
6 changes: 3 additions & 3 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,17 @@ Check out these demos to see the PennyLane-SF plugin in action:

.. title-card::
:name: Plugins and Hybrid computation
:description: <img src="https://pennylane.ai/_images/photon_redirection.png" width="100%"/>
:description: <img src="https://pennylane.ai/_static/demonstration_assets/plugins_hybrid/photon_redirection.png" width="100%"/>
:link: https://pennylane.ai/qml/demos/plugins_hybrid.html

.. title-card::
:name: Function fitting with a photonic quantum neural network
:description: <img src="https://pennylane.ai/_images/qnn_output_28_0.png" width="100%"/>
:description: <img src="https://pennylane.ai/_static/demonstration_assets/quantum_neural_net/qnn_output_28_0.png" width="100%"/>
:link: https://pennylane.ai/qml/demos/quantum_neural_net.html

.. title-card::
:name: Quantum advantage with Gaussian Boson Sampling
:description: <img src="https://pennylane.ai/_images/gbs_thumbnail.png" width="100%"/>
:description: <img src="https://pennylane.ai/_static/demonstration_assets/gbs/gbs_thumbnail.png" width="100%"/>
:link: https://pennylane.ai/qml/demos/gbs.html

.. raw:: html
Expand Down
2 changes: 1 addition & 1 deletion requirements-ci.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
strawberryfields
pennylane<0.30
tensorflow
tensorflow<2.13

0 comments on commit 770d099

Please sign in to comment.