Skip to content
A python interface to the QuEST quantum simulator (cffi based)
Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples
QuEST @ 9d575cb
doc
pyquest_cffi
.gitignore
.gitmodules
.readthedocs.yml
LICENSE
README.md
requirements.txt
setup.py

README.md

PyQuEST-cffi README

PyQuEST-cffi is a python interface to QuEST based on cffi developed by HQS Quantum Simulations. QuEST is an open source toolkit for the simulation of quantum circuits (quantum computers).

PyQuEST-cffi provides two main functionalities:

  1. An interactive python to QuEST interface based on cffi, mapping QuEST functions to python and executing them during runtime.

  2. A compile function generating a complete QuEST c-source-file from python calls, building it and importing it into python via cffi ).

For more information see the detailed code documentation

Note

Please note, PyQuEST-cffi is currently in the beta stage and not an official QuEST project.

In the developing branches of QuEST the QuEST project has implemented a ctypes-based python interface QuestPy for unit testing.

Do not assume that any bugs occuring using PyQuEST-cffi are QuEST bugs unless the same bug occurs when compiling/using a QuEST c-programm with the official release version of QuEST.

Installation

We do provide a PyPi source packages. The recommended way to install PyQuEST-cffi is

pip install pyquest_cffi

If you want to install PyQuEST-cffi in development mode we recommend

# PyQuEST-cffi add QuEST as a git submodule
git clone --recurse-submodules https://github.com/HQSquantumsimulations/pyquest_cffi.git
pip install -e pyquest_cffi/
You can’t perform that action at this time.