Skip to main content

Open source library for continuous-variable quantum computation

Project description

Travis Codecov coverage Codacy grade Read the Docs PyPI - Python Version

This Strawberry Fields plugin library allows Strawberry Fields to interface with OpenFermion.

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

OpenFermion is an open source package for compiling and analyzing quantum algorithms that simulate fermionic systems.

Features

  • Construct bosonic Hamiltonians in OpenFermion, and apply the resulting time propagation using a CV quantum circuit.

  • Calculates the time-evolution unitary exactly for Gaussian Hamiltonians – these can then be decomposed into the base CV gate set of Strawberry Fields using the Bloch-Messiah decomposition.

  • Particular non-Gaussian gate decompositions, using the Trotter formula, are also supported, including Bose-Hubbard Hamiltonians.

  • The Hamiltonians submodule contains important OpenFermion-compatible CV Hamiltonians, including those corresponding to the gate set used in Strawberry Fields.

To get started, please see the online documentation

Installation

Installation of SFOpenBoson, as well as all required Python packages mentioned above, can be done using pip:

$ python -m pip install sfopenboson

Code authors

Josh Izaac.

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

Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and Christian Weedbrook. Strawberry Fields: A Software Platform for Photonic Quantum Computing. arXiv, 2018. arXiv:1804.03159

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

SFOpenBoson 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

SFOpenBoson-0.3.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

SFOpenBoson-0.3.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file SFOpenBoson-0.3.0.tar.gz.

File metadata

  • Download URL: SFOpenBoson-0.3.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0

File hashes

Hashes for SFOpenBoson-0.3.0.tar.gz
Algorithm Hash digest
SHA256 e7f44c420156d2a52ab6cc0c99475caf125dbbe7d697eba826ddbea93a97477c
MD5 c387cb7e35edd7e901460006befc6d97
BLAKE2b-256 659f5002067955806d78caee3291c15a5765de45b6d63fb1c8cf8d2a6c5414c3

See more details on using hashes here.

File details

Details for the file SFOpenBoson-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: SFOpenBoson-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 28.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0

File hashes

Hashes for SFOpenBoson-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdfb66608ff67d45da8ad968c026d94826b767d7aec932f2835d13e80c675de4
MD5 6e2c2e94c9e02a423bbf78d786548e56
BLAKE2b-256 94ddc26090b551bf61e74cdca7bd7678b7f4e6a25db9e4fc5cd1017df1ba78b4

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