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.2.0.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

SFOpenBoson-0.2.0-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SFOpenBoson-0.2.0.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.22.0 CPython/3.5.2

File hashes

Hashes for SFOpenBoson-0.2.0.tar.gz
Algorithm Hash digest
SHA256 3b8c39c46cc49b5a561c81700fe6f35e25015da248d63d9d03de23935d393dae
MD5 89cc10441ee20b25c6b1a81ccead5f52
BLAKE2b-256 848dfbfd9f6c217ecfe9a038c3b23392409df831752ceffa179dc50b86225757

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SFOpenBoson-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/38.2.4 requests-toolbelt/0.8.0 tqdm/4.22.0 CPython/3.5.2

File hashes

Hashes for SFOpenBoson-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cfa4c9ebce838e3e8feef51e6bcbbdecceffdc35fffae37e442aab2a893ad9d
MD5 a750ab93ab56433353e36096565d7ef8
BLAKE2b-256 71efcaf81264dadf8bc847cd2168e25ef31f759c36aca041a7d26c37016d4d52

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