Skip to main content
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.

Metadata

Release files for SFOpenBoson 0.3.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 SFOpenBoson 0.3.0
File Size Uploaded
SFOpenBoson-0.3.0.tar.gz 24.2 kB Details

Built distribution (wheel)

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

Total release size: 53.0 kB

Release files / SFOpenBoson-0.3.0.tar.gz

Download URL SFOpenBoson-0.3.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e7f44c420156d2a52ab6cc0c99475caf125dbbe7d697eba826ddbea93a97477c
BLAKE2b-256 checksum
How to use checksums
659f5002067955806d78caee3291c15a5765de45b6d63fb1c8cf8d2a6c5414c3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / SFOpenBoson-0.3.0-py3-none-any.whl

Download URL SFOpenBoson-0.3.0-py3-none-any.whl
Size 28.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdfb66608ff67d45da8ad968c026d94826b767d7aec932f2835d13e80c675de4
BLAKE2b-256 checksum
How to use checksums
94ddc26090b551bf61e74cdca7bd7678b7f4e6a25db9e4fc5cd1017df1ba78b4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

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