Giter Club home page Giter Club logo

strawberryfields's Introduction

Strawberry Fields


Travis

Codecov coverage

Codacy 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

  • An open-source software architecture for photonic quantum computing
  • A full-stack quantum software platform, implemented in Python specifically targeted to the CV model
  • Quantum circuits are written using the easy-to-use and intuitive Blackbird quantum programming language
  • Includes a suite of CV quantum computer simulators implemented using NumPy and TensorFlow - these built-in quantum compiler tools convert and optimize Blackbird code for classical simulation
  • Future releases will aim to target experimental backends, including photonic quantum computing chips

Installation

Strawberry Fields requires Python version 3.5 and 3.6 (we are unable to support 3.7 until TensorFlow also supports 3.7). Installation of Strawberry Fields, as well as all dependencies, can be done using pip:

$ python -m pip install strawberryfields

If you are using the tensorflow-gpu module for TensorFlow GPU support, you can install the following package for GPU support in Strawberry Fields:

$ python -m pip install strawberryfields-gpu

Getting started

To see Strawberry Fields in action immediately, try out our Strawberry Fields Interactive web application. Prepare your initial states, drag and drop gates, and watch your simulation run in real time right in your web browser.

For getting started with writing your own Strawberry Fields code, check out our quantum teleportation, boson sampling, and machine learning tutorials.

Our documentation is also a great starting point to familiarize yourself with the framework of continuous-variable quantum computation, and check out some important and interesting continuous-variable quantum algorithms.

Finally, detailed documentation on the Strawberry fields API is provided, for full details on available quantum operations, arguments, and backends.

Contributing to Strawberry Fields

We welcome contributions - simply fork the Strawberry Fields repository, and then make a pull request containing your contribution. All contributers 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. If your contribution becomes part of Strawberry Fields, or is highlighted in our Gallery, we will send you some exclusive Xanadu Swag™ - including t-shirts, stickers, and more.

Or, submit your Strawberry Fields contribution to the Xanadu Quantum Software Competition; there are prizes of up CAD$1000 on offer.

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

Authors

Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and Christian Weedbrook.

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

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).

Support

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

We also have a Strawberry Fields Slack channel -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.

strawberryfields's People

Contributors

artix41 avatar briannagopaul avatar cgogolin avatar co9olguy avatar ishdhand avatar jleni avatar josh146 avatar nquesada avatar quantshah avatar ziofil avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.