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
Support
Source Code: https://github.com/XanaduAI/SFOpenBoson
Issue Tracker: https://github.com/XanaduAI/SFOpenBoson/issues
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)
| File | Size | Uploaded | |
|---|---|---|---|
| SFOpenBoson-0.3.0.tar.gz | 24.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|