Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 6 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<p align="center">
<a href="https://strawberryfields.ai">
<img width=80% src="https://raw.githubusercontent.com/XanaduAI/strawberryfields/master/doc/_static/strawberry-fields-text.png">
</a>
<img width=80% src="https://raw.githubusercontent.com/XanaduAI/strawberryfields/master/doc/_static/strawberry-fields-text.png">
</p>

<p align="center">
Expand Down Expand Up @@ -32,7 +30,7 @@
</p>

<p align="center">
<a href="https://strawberryfields.ai">Strawberry Fields</a> is a full-stack Python library for
Strawberry Fields is a full-stack Python library for
designing, simulating, and optimizing continuous-variable quantum optical circuits.
</p>

Expand All @@ -42,18 +40,15 @@
<img src="https://raw.githubusercontent.com/XanaduAI/strawberryfields/master/doc/_static/StateLearning.gif" width="300px" align="right">


* Execute photonic quantum algorithms directly on
[Xanadu's next-generation quantum hardware](https://strawberryfields.ai/photonics/hardware/index.html).
* Execute photonic quantum algorithms directly on Xanadu's next-generation quantum hardware.

* [High-level functions](https://strawberryfields.ai/photonics/applications.html) for **solving
practical problems** including **graph and network optimization**, **machine learning**, and
* High-level functions for **solving practical problems** including **graph and network optimization**, **machine learning**, and
**chemistry**.

* Includes a suite of world-class simulators—based on cutting-edge algorithms—to compile and
simulate photonic algorithms.

* [Train and optimize](https://strawberryfields.ai/photonics/demonstrations.html#optimization-and-machine-learning)
your quantum programs with our end-to-end differentiable TensorFlow backend.
* Train and optimize your quantum programs with our end-to-end differentiable TensorFlow backend.


## Installation
Expand All @@ -69,17 +64,7 @@ pip install strawberryfields
## Getting started

To get started with writing your own Strawberry Fields code, begin with our [photonic circuit
quickstart guides](https://strawberryfields.readthedocs.io/en/stable/introduction/introduction.html),
before exploring our many [tutorials](https://strawberryfields.ai/photonics/demonstrations.html) and
[applications](https://strawberryfields.ai/photonics/applications.html).

<a href="https://strawberryfields.ai/photonics/demonstrations.html">
<img src="https://raw.githubusercontent.com/XanaduAI/strawberryfields/master/doc/_static/readme_panel1.png" width="900px">
</a>

Next, read more about using Strawberry Fields with
[photonic hardware](https://strawberryfields.ai/photonics/hardware/index.html), including code
demonstrations and an overview of Xanadu's quantum photonic hardware.
quickstart guides](https://strawberryfields.readthedocs.io/en/stable/introduction/introduction.html).


## Contributing to Strawberry Fields
Expand Down
12 changes: 1 addition & 11 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@


intersphinx_mapping = {
"photonics": ("https://strawberryfields.ai/photonics", None),
"xcc": ("https://xanadu-cloud-client.readthedocs.io/en/stable/", None)
}

Expand Down Expand Up @@ -251,13 +250,9 @@
"navbar_wordmark_path": "_static/sf_wordmark.png",
"navbar_logo_colour": "#b13a59",

"navbar_home_link": "https://strawberryfields.ai",
"navbar_home_link": "https://xanadu.ai",

"navbar_left_links": [
{
"name": "Quantum Photonics",
"href": "https://strawberryfields.ai/photonics/",
},
{
"name": "Install",
"href": "install.html",
Expand All @@ -270,11 +265,6 @@
],

"navbar_right_links": [
{
"name": "FAQ",
"href": "https://strawberryfields.ai/faq.html",
"icon": "fas fa-question",
},
{
"name": "Support",
"href": "https://discuss.pennylane.ai/",
Expand Down
5 changes: 5 additions & 0 deletions doc/development/migration_guides.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Migration guides
The migration guides below offer guidance for dealing with major breaking
changes between Strawberry Fields releases.

.. raw:: html

<h2 style="font-size:15px;color:white;background-color:#c30010;" >&nbsp;&nbsp;&nbsp;Xanadu's Quantum Cloud is no longer available. This material is maintained for reference purposes only.</h2>


Version 0.20.0
--------------

Expand Down
15 changes: 3 additions & 12 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,8 @@ Features
:target: javascript:void(0);


* Execute photonic quantum algorithms directly on `Xanadu's next-generation quantum hardware
<https://strawberryfields.ai/photonics/hardware/index.html>`__

..

* `High-level functions <https://strawberryfields.ai/photonics/applications.html>`__ for **solving
practical problems** including **graph and network optimization**, **machine learning**, and
**chemistry**
* High-level functions for **solving practical problems** including **graph and network optimization**,
**machine learning**, and **chemistry**

..

Expand All @@ -83,9 +77,7 @@ Features

..

* `Train and optimize
<https://strawberryfields.ai/photonics/demonstrations.html#optimization-and-machine-learning>`__
your quantum programs with our end-to-end differentiable TensorFlow backend
* Train and optimize your quantum programs with our end-to-end differentiable TensorFlow backend


How to cite
Expand Down Expand Up @@ -123,7 +115,6 @@ Strawberry Fields is **free** and **open source**, released under the Apache Lic
:hidden:

introduction/introduction
introduction/photonic_hardware
introduction/circuits
introduction/ops
introduction/states
Expand Down
50 changes: 5 additions & 45 deletions doc/introduction/circuits.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

.. seealso::

New to photonic quantum computing? See the :doc:`conventions/glossary` for a glossary

Check warning on line 27 in doc/introduction/circuits.rst

View workflow job for this annotation

GitHub Actions / sphinx

unknown document: conventions/glossary
of some of the terms used in Strawberry Fields.

Creating a quantum program
Expand Down Expand Up @@ -244,13 +244,17 @@

When using the TensorFlow backend, all Tensor and Variable objects **must** be
passed to gates by using a free parameter, and binding the Tensor/Variable
on engine execution. For more details, see :doc:`demos/run_tutorial_machine_learning`.
on engine execution.


Compilation
-----------

.. raw:: html

<h2 style="font-size:15px;color:white;background-color:#c30010;" >&nbsp;&nbsp;&nbsp;Xanadu's Quantum Cloud is no longer available. This material is maintained for reference purposes only.</h2>

The :class:`.Program` object also provides the :meth:`.Program.compile` method that

Check warning on line 257 in doc/introduction/circuits.rst

View workflow job for this annotation

GitHub Actions / sphinx

term not in glossary: equivalent circuit
automatically transforms your circuit into an :term:`equivalent circuit` with
a particular layout or topology. For example, the ``gbs`` compile target will
compile a circuit consisting of Gaussian operations and Fock measurements
Expand Down Expand Up @@ -281,47 +285,3 @@
~strawberryfields.compilers.Xstrict
~strawberryfields.compilers.Xunitary
~strawberryfields.compilers.Xcov

.. raw:: html

</div>


For more details on using Strawberry Fields with remote hardware, see the
:doc:`photonic_hardware` guide.


Related tutorials
-----------------

For more details and guides on creating and simulating photonic quantum
circuits, see the following tutorials.

.. gallery-item::
:description: :doc:`demos/run_blackbird`
:figure: _static/code.png

.. gallery-item::
:description: :doc:`Basic tutorial: teleportation <demos/run_teleportation>`
:figure: _static/teleport.png

.. gallery-item::
:description: :doc:`Measurements and post-selection <demos/run_post_selection>`
:figure: _static/bs_measure.png

.. gallery-item::
:description: :doc:`demos/run_tutorial_machine_learning`
:figure: _static/TF.png

.. gallery-item::
:description: :doc:`demos/run_time_domain`
:figure: _static/oneloop.svg

.. gallery-item::
:description: :doc:`demos/run_intro_bosonic`
:figure: _static/cats.png

.. raw:: html

<div style='clear:both'></div>
<br>
13 changes: 2 additions & 11 deletions doc/introduction/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@ In particular, Strawberry Fields allows for the following workflows:
Provided simulators include highly optimized Gaussian, Fock, and Bosonic
numeric backends, as well as a TensorFlow backend for backpropagation.

* Compile and submit photonic circuits for remote execution on Xanadu's quantum hardware,
retrieve your results, and manage multiple jobs.

* Use our high-level functions for graph and network optimization, machine learning, and
chemistry applications --- all executable on near-term hardware.

Get started
-----------

Follow the `installation <../_static/install.html>`_ page to get Strawberry Fields up and
running, then have a look at our quickstart guides, or jump over to the
:doc:`tutorials <demonstrations>` to see what you can do with Strawberry Fields.
running, then have a look at our quickstart guides.

Users interested in applications of photonic quantum computers should check
out the :doc:`applications` pages. Those wanting to dig deeper into the design
Expand Down Expand Up @@ -62,12 +58,7 @@ In the following sections you can learn more about the key features of Strawberr

..

5. :doc:`photonic_hardware` gives an overview of building, submitting, and managing
remote jobs on both hardware and cloud simulators through Strawberry Fields.

..

6. :doc:`data` details the built-in datasets of pre-generated photonic samples provided
5. :doc:`data` details the built-in datasets of pre-generated photonic samples provided
by Strawberry Fields, for various graphs used in optimization, machine learning, and chemistry
applications.

5 changes: 0 additions & 5 deletions doc/introduction/ops.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ Measurements

:html:`</div>`

.. seealso::

See the :doc:`measurements and post-selection tutorial <demos/run_post_selection>`
for more details on applying measurements, post-selection, and classical processing.


Channels
--------
Expand Down
138 changes: 0 additions & 138 deletions doc/introduction/photonic_hardware.rst

This file was deleted.

Loading