Skip to main content

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous-variable quantum optical circuits.

Features

  • Execute photonic quantum algorithms directly on Xanadu's next-generation quantum hardware.

  • 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 your quantum programs with our end-to-end differentiable TensorFlow backend.

Installation

Strawberry Fields requires Python version 3.7, 3.8, 3.9, or 3.10. Installation of Strawberry Fields, as well as all dependencies, can be done using pip:

pip install strawberryfields

Getting started

To get started with writing your own Strawberry Fields code, begin with our photonic circuit quickstart guides, before exploring our many tutorials and applications.

Next, read more about using Strawberry Fields with photonic hardware, including code demonstrations and an overview of Xanadu's quantum photonic hardware.

Developers can head to the development guide to see how they can contribute to Strawberry Fields.

Contributing to Strawberry Fields

We welcome contributions — simply fork the Strawberry Fields repository, and then make a pull request containing your contribution. All contributors to Strawberry Fields will be listed as authors on the releases.

We also encourage bug reports, suggestions for new features and enhancements, and even links to cool projects or applications built on Strawberry Fields.

See our contributions page and changelog for more details, and then check out some of the Strawberry Fields challenges for some inspiration.

Authors

Strawberry Fields is the work of many contributors

If you are doing research using Strawberry Fields, please cite our papers:

Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and Christian Weedbrook. "Strawberry Fields: A Software Platform for Photonic Quantum Computing", Quantum, 3, 129 (2019).

Thomas R. Bromley, Juan Miguel Arrazola, Soran Jahangiri, Josh Izaac, Nicolás Quesada, Alain Delgado Gran, Maria Schuld, Jeremy Swinarton, Zeid Zabaneh, and Nathan Killoran. "Applications of Near-Term Photonic Quantum Computers: Software and Algorithms", Quantum Sci. Technol. 5 034010 (2020).

Support

If you are having issues, please let us know by posting the issue on our Github issue tracker.

We also have a Slack channel and a discussion forum — come join the discussion and chat with our Strawberry Fields team.

License

Strawberry Fields is free and open source, released under the Apache License, Version 2.0.

Release files for StrawberryFields 0.23.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for StrawberryFields 0.23.0
File Size Uploaded
StrawberryFields-0.23.0.tar.gz 4.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for StrawberryFields 0.23.0
File Interpreter ABI Platform
StrawberryFields-0.23.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 MB

Release files / StrawberryFields-0.23.0.tar.gz

Download URL StrawberryFields-0.23.0.tar.gz
Size 4.9 MB
Tags Source
SHA-256 checksum
How to use checksums
bfe94867cdee8e2904752573f1ff46b78d9f373da16a1cfa31e1bd6cdf2e3cb0
BLAKE2b-256 checksum
How to use checksums
099bc2b92e51da385a70222cb9b531025cf877539812b0f1007cb151775e3779
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.6

Release files / StrawberryFields-0.23.0-py3-none-any.whl

Download URL StrawberryFields-0.23.0-py3-none-any.whl
Size 4.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3298b77b07e5e8e16e63af253ac20b826a9df926f8002450ea421e7c9faaeac7
BLAKE2b-256 checksum
How to use checksums
c016e0062ed6fb37bc3734660aed2a4ddbef0cfd82b78dae48b82e9aa2019075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/0.0.0 importlib_metadata/4.11.3 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.23.0 This release

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.1

2 release files

0.15.0

2 release files

0.13.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

1 release file

0.8.0

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page