Bayesian particle filtering for parameter estimation in quantum information applications.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file QInfer-1.0.tar.gz
.
File metadata
- Download URL: QInfer-1.0.tar.gz
- Upload date:
- Size: 108.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e02625f3664b5661db80e3fe3d114bc9dbf80129e4003a0aac226f11b94627d6 |
|
MD5 | e64fe08f1b49b9c518a32fa766b6b105 |
|
BLAKE2b-256 | 05951e7e599863512251700e4727a06efddcaac41e270ba39ca16d4969abadb6 |
File details
Details for the file QInfer-1.0-py3.3.egg
.
File metadata
- Download URL: QInfer-1.0-py3.3.egg
- Upload date:
- Size: 268.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4d48bb0ec37f365c7bd2b2e2841f5635af186c100f49f2aa8c78b83b16b9d32 |
|
MD5 | c9731044dd93a337579fa8128d080e13 |
|
BLAKE2b-256 | 3cbd915b0b9f46359caadfd3dca966f8053d1e3c1a2dbff4bf5ab744a7ae82fa |
File details
Details for the file QInfer-1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: QInfer-1.0-py2.py3-none-any.whl
- Upload date:
- Size: 129.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8a92a576276cec5ae34e26195365dc0857da413f439b8ae9ac922844671bae1 |
|
MD5 | 478040761e1d44f36c8c49c549d45bd4 |
|
BLAKE2b-256 | 2b5685b0f165f561a319eea82db0f9ea53028b4f40940d61720367c8994da94a |