Skip to content
This repository has been archived by the owner on Feb 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from HQSquantumsimulations/develop
Browse files Browse the repository at this point in the history
updated README and setup
  • Loading branch information
nfwvogt authored Jan 10, 2020
2 parents 05af483 + d2323e6 commit d0e72db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,13 @@

PyQuEST-cffi is a python interface to [QuEST](https://github.com/QuEST-Kit/QuEST) based on [cffi](https://cffi.readthedocs.io/en/latest/index.html) 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 ).
PyQuEST-cffi provides an interactive python to QuEST interface based on cffi, mapping QuEST functions to python and executing them during runtime.

For more information see the detailed code [documentation](https://pyquest.readthedocs.io/en/latest/)

## Note

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

In the developing branches of QuEST the QuEST project has implemented a [ctypes](https://docs.python.org/3.6/library/ctypes.html)-based python interface [QuestPy](https://github.com/QuEST-Kit/QuEST/tree/master/utilities/QuESTPy) for unit testing.

Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def build_extension(self, ext):
# os.path.dirname(os.path.abspath(sys.argv[0]))
src_path = os.path.dirname(os.path.realpath(__file__))
os.chdir(src_path)
QuEST_release_link = 'https://github.com/QuEST-Kit/QuEST/archive/2.1.0.tar.gz'
QuEST_release_link = 'https://github.com/QuEST-Kit/QuEST/archive/3.0.0.tar.gz'

if not os.path.exists((src_path + '/QuEST')):
os.makedirs(src_path + '/QuEST/')
Expand Down Expand Up @@ -95,7 +95,6 @@ def setup_packages():
'cffi',
'numpy',
'pytest',
'gitpython',
]
packages = find_packages(exclude=('docs'))

Expand All @@ -105,7 +104,7 @@ def setup_packages():
+ ' to QuEST quantum simulation toolkit;'
+ ' Compile functionality, create, build and import'
+ ' valid QuEST source code from python'),
'version': '0.1',
'version': '3.0.0',
'long_description': readme,
'packages': packages,
# 'package_dir': {'': 'pyquest_cffi'},
Expand Down

0 comments on commit d0e72db

Please sign in to comment.