Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Bayesian particle filtering for parameter estimation in quantum information applications.

Project description

https://zenodo.org/badge/doi/10.5281/zenodo.51273.svg Launch Binder https://img.shields.io/pypi/v/QInfer.svg?maxAge=2592000 https://travis-ci.org/QInfer/python-qinfer.svg?branch=master https://coveralls.io/repos/github/QInfer/python-qinfer/badge.svg?branch=master Code Climate

QInfer is a library using Bayesian sequential Monte Carlo for quantum parameter estimation. Works with Python 2.7, 3.3, 3.4 and 3.5.

Installing QInfer

We recommend using QInfer with the Anaconda distribution. Download and install Anaconda for your platform, either Python 2.7 or 3.5. We suggest using Python 3.5, but QInfer works with either.

If using Anaconda, you should go ahead now and install from their repository all the dependencies that we can. If you are using “regular”-Python then you can ignore this step. Replace python=3.5 with your version (typically either 2.7 or 3.5).

$ conda install python=3.5 numpy scipy matplotlib scikit-learn

If you are not using Anaconda, but are instead using “regular”-Python, and you are on Linux, you will need the Python development package:

$ sudo apt-get install python-dev

Where python-dev might be python3.5-dev depending on your package manager and which version of Python you are using.

The latest release of QInfer can now be installed from PyPI with pip:

$ pip install qinfer

Alternatively, QInfer can be installed using pip and Git. Ensure that you have Git installed. On Windows, we suggest the official Git downloads. Once Anaconda and Git are installed, simply run pip to install QInfer:

$ pip install git+https://github.com/QInfer/python-qinfer.git

Lastely, QInfer can be installed manually by downloading from GitHub, then running the provided installer:

$ git clone git@github.com:QInfer/python-qinfer.git
$ cd python-qinfer
$ pip install -r requirements.txt
$ python setup.py install

More Information

Full documentation for QInfer is available on ReadTheDocs, or may be built locally by running the documentation build script in doc/:

$ cd /path/to/qinfer/doc/
$ make html

On Windows:

C:\> cd C:\path\to\qinfer\
C:\path\to\qinfer\> make.bat html

The generated documentation can be viewed by opening doc/_build/html/index.html.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
QInfer-1.0-py2.py3-none-any.whl (129.7 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Sep 28, 2016
QInfer-1.0-py3.3.egg (268.1 kB) Copy SHA256 hash SHA256 Egg 3.3 Sep 28, 2016
QInfer-1.0.tar.gz (108.8 kB) Copy SHA256 hash SHA256 Source None Sep 28, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page