diff --git a/README.md b/README.md new file mode 100644 index 0000000..3cebc1b --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Qibotn is the tensor-network tranlation module for Qibo to support large-scale simulation of quantum circuits and acceleration. diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..aa640ee --- /dev/null +++ b/setup.py @@ -0,0 +1,39 @@ +# Installation script for python +from setuptools import setup, find_packages +import os +import re + +PACKAGE = "qibotn" + +# load long description from README +this_directory = os.path.abspath(os.path.dirname(__file__)) +with open(os.path.join(this_directory, "README.md"), encoding="utf-8") as f: + long_description = f.read() + +setup( + name="qibotn", + version="0.1", + description="A tensor-network translation module for quantum computing", + author="The Qibo team", + author_email="", + url="https://github.com/qiboteam/qibotn", + packages=find_packages("src"), + package_dir={"": "src"}, + package_data={"": ["*.out", "*.yml"]}, + include_package_data=True, + zip_safe=False, + classifiers=[ + "Programming Language :: Python :: 3", + "Topic :: Scientific/Engineering :: Physics", + ], + install_requires=[ + "scipy" + ], + extras_require={ + "docs": ["sphinx", "sphinx_rtd_theme", "recommonmark", "sphinxcontrib-bibtex", "sphinx_markdown_tables", "nbsphinx", "IPython"], + "tests": ["pytest", "cirq", "ply", "sklearn", "dill"], + }, + python_requires=">=3.7.0", + long_description=long_description, + long_description_content_type='text/markdown', +) diff --git a/src/qibotn/__init__.py b/src/qibotn/__init__.py new file mode 100644 index 0000000..a4e2017 --- /dev/null +++ b/src/qibotn/__init__.py @@ -0,0 +1 @@ +__version__ = "0.1"