Skip to main content

Open source library for continuous-variable quantum computation

Project description

Strawberry Fields
GitHub Workflow Status (branch) Codecov coverage CodeFactor Grade Read the Docs PyPI PyPI - Python Version

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.6, 3.7, or 3.8. 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

StrawberryFields-0.20.0.tar.gz (4.9 MB view details)

Uploaded Source

Built Distribution

StrawberryFields-0.20.0-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file StrawberryFields-0.20.0.tar.gz.

File metadata

  • Download URL: StrawberryFields-0.20.0.tar.gz
  • Upload date:
  • Size: 4.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for StrawberryFields-0.20.0.tar.gz
Algorithm Hash digest
SHA256 d64a7507fa9c517ff57881ac5accb3af034bc1d8446259c035d68ca4f3967ba9
MD5 0fdc540f3be1f606ebada5186ad8ffb7
BLAKE2b-256 4efa0c5f121bfe268815fd173af9c6128e43bd54c07bfebda4ae7f698a9dbe69

See more details on using hashes here.

File details

Details for the file StrawberryFields-0.20.0-py3-none-any.whl.

File metadata

  • Download URL: StrawberryFields-0.20.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

File hashes

Hashes for StrawberryFields-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d61f3fad5e6de461b84dd3aa2aaa0afcaf89667e732531e7dd2c62a5d56c6041
MD5 bc2a72bbca5c62c93a317efee8734fad
BLAKE2b-256 341d7e67bd50184ddfd3108fdfe001eec6e7e75910229f53e79c0cbfaa35b049

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page