Skip to main content

A plugin allowing OpenFermion to interface with Forest.

Project description

[![Build Status][semaphore-badge]][semaphore-project]

[OpenFermion](http://openfermion.org) is an open source package for compiling and analyzing quantum algorithms that simulate fermionic systems. This plugin library allows the circuit construction and simulation environment [Forest](http://www.rigetti.com/forest) to interface with OpenFermion.

Getting Started

Before installing forestopenfermion using pip, you must first have cython installed:

`bash pip install cython `

Then, to install from source, run the following from inside the top-level directory:

`bash pip install -e . `

Alternatively, one can install the last major release from PyPI via:

`bash pip install forestopenfermion `

Development and Testing

We use pytest for testing. Tests can be executed from the top-level directory by simply running:

`bash pytest `

Note that you will need to have installed the requirements via pip install -r requirements.txt to get pytest.

[semaphore-badge]: https://semaphoreci.com/api/v1/rigetti/forest-openfermion/branches/master/shields_badge.svg [semaphore-project]: https://semaphoreci.com/rigetti/forest-openfermion

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

forestopenfermion-0.0.6.tar.gz (12.7 kB view details)

Uploaded Source

File details

Details for the file forestopenfermion-0.0.6.tar.gz.

File metadata

  • Download URL: forestopenfermion-0.0.6.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/28.8.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.6.3

File hashes

Hashes for forestopenfermion-0.0.6.tar.gz
Algorithm Hash digest
SHA256 a47fd36619ea1cbb973dce33d1716b83e988d8b0acaa97d4bb94ddec7eda50ff
MD5 5bc66a9eda4e2dd9a34b4f6639b2eac8
BLAKE2b-256 8b4419ad27b2e3ccc6cef9b2b937e048f9fc3a84bc013793e48ccb709d2bd8c2

See more details on using hashes here.

Provenance

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