Open source library for continuous-variable quantum computation
Project description
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.
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
Built Distribution
File details
Details for the file SFOpenBoson-0.1.1.tar.gz
.
File metadata
- Download URL: SFOpenBoson-0.1.1.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05ed04dceb301384f36d7509307a8bdc59bf043faed6355823aa09ad279a5c40 |
|
MD5 | 6d4acb90ddfc7ec3a3616f83ef388af3 |
|
BLAKE2b-256 | abf5ebad3907ac24cef56bcdf869972dbd017f239f5b5f07c5de83db6000b3fb |
File details
Details for the file SFOpenBoson-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: SFOpenBoson-0.1.1-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0f89ad803b41a715b4ad2af2d3bf30664f7943dc7355ab3be51728a870379d4 |
|
MD5 | fbfc1b21e27223a022ac91ebb23e48ea |
|
BLAKE2b-256 | be213da5caac21e54a905e2ea60b8bad61a43deab716e71110ef4f3aa46e595d |