diff --git a/TenNet.egg-info/PKG-INFO b/TenNet.egg-info/PKG-INFO new file mode 100644 index 0000000..09ae055 --- /dev/null +++ b/TenNet.egg-info/PKG-INFO @@ -0,0 +1,13 @@ +Metadata-Version: 2.1 +Name: TenNet +Version: 0.1.0 +Summary: UNKNOWN +Home-page: https://github.com/alessandro-santini/TenNet +Author: Alessandro Santini +Author-email: asantini@sissa.it +License: UNKNOWN +Platform: UNKNOWN +License-File: LICENSE + +UNKNOWN + diff --git a/TenNet.egg-info/SOURCES.txt b/TenNet.egg-info/SOURCES.txt new file mode 100644 index 0000000..4fd9469 --- /dev/null +++ b/TenNet.egg-info/SOURCES.txt @@ -0,0 +1,7 @@ +LICENSE +README.md +setup.py +TenNet.egg-info/PKG-INFO +TenNet.egg-info/SOURCES.txt +TenNet.egg-info/dependency_links.txt +TenNet.egg-info/top_level.txt \ No newline at end of file diff --git a/TenNet.egg-info/dependency_links.txt b/TenNet.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/TenNet.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/TenNet.egg-info/top_level.txt b/TenNet.egg-info/top_level.txt new file mode 100644 index 0000000..d6560be --- /dev/null +++ b/TenNet.egg-info/top_level.txt @@ -0,0 +1 @@ +TenNet diff --git a/__init__.py b/TenNet/__init__.py similarity index 80% rename from __init__.py rename to TenNet/__init__.py index c0f4885..af7844d 100644 --- a/__init__.py +++ b/TenNet/__init__.py @@ -1,3 +1,5 @@ +__version__ = '0.1.0' + from . import tensors from . import tools from . import spin_systems diff --git a/TenNet/__pycache__/__init__.cpython-38.pyc b/TenNet/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..fdb69de Binary files /dev/null and b/TenNet/__pycache__/__init__.cpython-38.pyc differ diff --git a/algorithms/DensityMatrixRenormalizationGroup.py b/TenNet/algorithms/DensityMatrixRenormalizationGroup.py similarity index 100% rename from algorithms/DensityMatrixRenormalizationGroup.py rename to TenNet/algorithms/DensityMatrixRenormalizationGroup.py diff --git a/algorithms/TimeDependentVariationalPrinciple.py b/TenNet/algorithms/TimeDependentVariationalPrinciple.py similarity index 100% rename from algorithms/TimeDependentVariationalPrinciple.py rename to TenNet/algorithms/TimeDependentVariationalPrinciple.py diff --git a/algorithms/__init__.py b/TenNet/algorithms/__init__.py similarity index 100% rename from algorithms/__init__.py rename to TenNet/algorithms/__init__.py diff --git a/algorithms/__pycache__/DensityMatrixRenormalizationGroup.cpython-38.pyc b/TenNet/algorithms/__pycache__/DensityMatrixRenormalizationGroup.cpython-38.pyc similarity index 100% rename from algorithms/__pycache__/DensityMatrixRenormalizationGroup.cpython-38.pyc rename to TenNet/algorithms/__pycache__/DensityMatrixRenormalizationGroup.cpython-38.pyc diff --git a/algorithms/__pycache__/TimeDependentVariationalPrinciple.cpython-38.pyc b/TenNet/algorithms/__pycache__/TimeDependentVariationalPrinciple.cpython-38.pyc similarity index 100% rename from algorithms/__pycache__/TimeDependentVariationalPrinciple.cpython-38.pyc rename to TenNet/algorithms/__pycache__/TimeDependentVariationalPrinciple.cpython-38.pyc diff --git a/algorithms/__pycache__/__init__.cpython-38.pyc b/TenNet/algorithms/__pycache__/__init__.cpython-38.pyc similarity index 100% rename from algorithms/__pycache__/__init__.cpython-38.pyc rename to TenNet/algorithms/__pycache__/__init__.cpython-38.pyc diff --git a/algorithms/__pycache__/iTimeEvolvingBlockDecimation.cpython-38.pyc b/TenNet/algorithms/__pycache__/iTimeEvolvingBlockDecimation.cpython-38.pyc similarity index 100% rename from algorithms/__pycache__/iTimeEvolvingBlockDecimation.cpython-38.pyc rename to TenNet/algorithms/__pycache__/iTimeEvolvingBlockDecimation.cpython-38.pyc diff --git a/algorithms/iTimeEvolvingBlockDecimation.py b/TenNet/algorithms/iTimeEvolvingBlockDecimation.py similarity index 100% rename from algorithms/iTimeEvolvingBlockDecimation.py rename to TenNet/algorithms/iTimeEvolvingBlockDecimation.py diff --git a/spin_systems/ClassicalIsingTermalState.py b/TenNet/spin_systems/ClassicalIsingTermalState.py similarity index 100% rename from spin_systems/ClassicalIsingTermalState.py rename to TenNet/spin_systems/ClassicalIsingTermalState.py diff --git a/spin_systems/Hamiltonians.py b/TenNet/spin_systems/Hamiltonians.py similarity index 100% rename from spin_systems/Hamiltonians.py rename to TenNet/spin_systems/Hamiltonians.py diff --git a/spin_systems/__init__.py b/TenNet/spin_systems/__init__.py similarity index 100% rename from spin_systems/__init__.py rename to TenNet/spin_systems/__init__.py diff --git a/spin_systems/__pycache__/ClassicalIsingTermalState.cpython-38.pyc b/TenNet/spin_systems/__pycache__/ClassicalIsingTermalState.cpython-38.pyc similarity index 100% rename from spin_systems/__pycache__/ClassicalIsingTermalState.cpython-38.pyc rename to TenNet/spin_systems/__pycache__/ClassicalIsingTermalState.cpython-38.pyc diff --git a/spin_systems/__pycache__/Hamiltonians.cpython-38.pyc b/TenNet/spin_systems/__pycache__/Hamiltonians.cpython-38.pyc similarity index 100% rename from spin_systems/__pycache__/Hamiltonians.cpython-38.pyc rename to TenNet/spin_systems/__pycache__/Hamiltonians.cpython-38.pyc diff --git a/spin_systems/__pycache__/__init__.cpython-38.pyc b/TenNet/spin_systems/__pycache__/__init__.cpython-38.pyc similarity index 100% rename from spin_systems/__pycache__/__init__.cpython-38.pyc rename to TenNet/spin_systems/__pycache__/__init__.cpython-38.pyc diff --git a/spin_systems/__pycache__/iHamiltonians.cpython-38.pyc b/TenNet/spin_systems/__pycache__/iHamiltonians.cpython-38.pyc similarity index 100% rename from spin_systems/__pycache__/iHamiltonians.cpython-38.pyc rename to TenNet/spin_systems/__pycache__/iHamiltonians.cpython-38.pyc diff --git a/spin_systems/__pycache__/observables.cpython-38.pyc b/TenNet/spin_systems/__pycache__/observables.cpython-38.pyc similarity index 100% rename from spin_systems/__pycache__/observables.cpython-38.pyc rename to TenNet/spin_systems/__pycache__/observables.cpython-38.pyc diff --git a/spin_systems/__pycache__/states.cpython-38.pyc b/TenNet/spin_systems/__pycache__/states.cpython-38.pyc similarity index 100% rename from spin_systems/__pycache__/states.cpython-38.pyc rename to TenNet/spin_systems/__pycache__/states.cpython-38.pyc diff --git a/spin_systems/iHamiltonians.py b/TenNet/spin_systems/iHamiltonians.py similarity index 100% rename from spin_systems/iHamiltonians.py rename to TenNet/spin_systems/iHamiltonians.py diff --git a/spin_systems/observables.py b/TenNet/spin_systems/observables.py similarity index 100% rename from spin_systems/observables.py rename to TenNet/spin_systems/observables.py diff --git a/spin_systems/states.py b/TenNet/spin_systems/states.py similarity index 100% rename from spin_systems/states.py rename to TenNet/spin_systems/states.py diff --git a/tensors/IOhdf5.py b/TenNet/tensors/IOhdf5.py similarity index 100% rename from tensors/IOhdf5.py rename to TenNet/tensors/IOhdf5.py diff --git a/tensors/MatrixProductDensityOperator.py b/TenNet/tensors/MatrixProductDensityOperator.py similarity index 100% rename from tensors/MatrixProductDensityOperator.py rename to TenNet/tensors/MatrixProductDensityOperator.py diff --git a/tensors/MatrixProductOperators.py b/TenNet/tensors/MatrixProductOperators.py similarity index 100% rename from tensors/MatrixProductOperators.py rename to TenNet/tensors/MatrixProductOperators.py diff --git a/tensors/MatrixProductState.py b/TenNet/tensors/MatrixProductState.py similarity index 100% rename from tensors/MatrixProductState.py rename to TenNet/tensors/MatrixProductState.py diff --git a/tensors/__init__.py b/TenNet/tensors/__init__.py similarity index 100% rename from tensors/__init__.py rename to TenNet/tensors/__init__.py diff --git a/tensors/__pycache__/IOhdf5.cpython-38.pyc b/TenNet/tensors/__pycache__/IOhdf5.cpython-38.pyc similarity index 100% rename from tensors/__pycache__/IOhdf5.cpython-38.pyc rename to TenNet/tensors/__pycache__/IOhdf5.cpython-38.pyc diff --git a/tensors/__pycache__/MatrixProductDensityOperator.cpython-38.pyc b/TenNet/tensors/__pycache__/MatrixProductDensityOperator.cpython-38.pyc similarity index 100% rename from tensors/__pycache__/MatrixProductDensityOperator.cpython-38.pyc rename to TenNet/tensors/__pycache__/MatrixProductDensityOperator.cpython-38.pyc diff --git a/tensors/__pycache__/MatrixProductOperators.cpython-38.pyc b/TenNet/tensors/__pycache__/MatrixProductOperators.cpython-38.pyc similarity index 100% rename from tensors/__pycache__/MatrixProductOperators.cpython-38.pyc rename to TenNet/tensors/__pycache__/MatrixProductOperators.cpython-38.pyc diff --git a/tensors/__pycache__/MatrixProductState.cpython-38.pyc b/TenNet/tensors/__pycache__/MatrixProductState.cpython-38.pyc similarity index 100% rename from tensors/__pycache__/MatrixProductState.cpython-38.pyc rename to TenNet/tensors/__pycache__/MatrixProductState.cpython-38.pyc diff --git a/tensors/__pycache__/__init__.cpython-38.pyc b/TenNet/tensors/__pycache__/__init__.cpython-38.pyc similarity index 100% rename from tensors/__pycache__/__init__.cpython-38.pyc rename to TenNet/tensors/__pycache__/__init__.cpython-38.pyc diff --git a/tensors/__pycache__/iMatrixProductState.cpython-38.pyc b/TenNet/tensors/__pycache__/iMatrixProductState.cpython-38.pyc similarity index 100% rename from tensors/__pycache__/iMatrixProductState.cpython-38.pyc rename to TenNet/tensors/__pycache__/iMatrixProductState.cpython-38.pyc diff --git a/tensors/iMatrixProductState.py b/TenNet/tensors/iMatrixProductState.py similarity index 100% rename from tensors/iMatrixProductState.py rename to TenNet/tensors/iMatrixProductState.py diff --git a/tools/HilbertCurve.py b/TenNet/tools/HilbertCurve.py similarity index 100% rename from tools/HilbertCurve.py rename to TenNet/tools/HilbertCurve.py diff --git a/tools/__init__.py b/TenNet/tools/__init__.py similarity index 100% rename from tools/__init__.py rename to TenNet/tools/__init__.py diff --git a/tools/__pycache__/HilbertCurve.cpython-38.pyc b/TenNet/tools/__pycache__/HilbertCurve.cpython-38.pyc similarity index 100% rename from tools/__pycache__/HilbertCurve.cpython-38.pyc rename to TenNet/tools/__pycache__/HilbertCurve.cpython-38.pyc diff --git a/tools/__pycache__/__init__.cpython-38.pyc b/TenNet/tools/__pycache__/__init__.cpython-38.pyc similarity index 100% rename from tools/__pycache__/__init__.cpython-38.pyc rename to TenNet/tools/__pycache__/__init__.cpython-38.pyc diff --git a/tools/__pycache__/contract.cpython-38.pyc b/TenNet/tools/__pycache__/contract.cpython-38.pyc similarity index 100% rename from tools/__pycache__/contract.cpython-38.pyc rename to TenNet/tools/__pycache__/contract.cpython-38.pyc diff --git a/tools/__pycache__/fit.cpython-38.pyc b/TenNet/tools/__pycache__/fit.cpython-38.pyc similarity index 100% rename from tools/__pycache__/fit.cpython-38.pyc rename to TenNet/tools/__pycache__/fit.cpython-38.pyc diff --git a/tools/__pycache__/lanczos.cpython-38.pyc b/TenNet/tools/__pycache__/lanczos.cpython-38.pyc similarity index 100% rename from tools/__pycache__/lanczos.cpython-38.pyc rename to TenNet/tools/__pycache__/lanczos.cpython-38.pyc diff --git a/tools/__pycache__/svd_truncate.cpython-38.pyc b/TenNet/tools/__pycache__/svd_truncate.cpython-38.pyc similarity index 100% rename from tools/__pycache__/svd_truncate.cpython-38.pyc rename to TenNet/tools/__pycache__/svd_truncate.cpython-38.pyc diff --git a/tools/contract.py b/TenNet/tools/contract.py similarity index 100% rename from tools/contract.py rename to TenNet/tools/contract.py diff --git a/tools/fit.py b/TenNet/tools/fit.py similarity index 100% rename from tools/fit.py rename to TenNet/tools/fit.py diff --git a/tools/lanczos.py b/TenNet/tools/lanczos.py similarity index 100% rename from tools/lanczos.py rename to TenNet/tools/lanczos.py diff --git a/tools/svd_truncate.py b/TenNet/tools/svd_truncate.py similarity index 100% rename from tools/svd_truncate.py rename to TenNet/tools/svd_truncate.py diff --git a/__pycache__/__init__.cpython-38.pyc b/__pycache__/__init__.cpython-38.pyc deleted file mode 100644 index d7c2250..0000000 Binary files a/__pycache__/__init__.cpython-38.pyc and /dev/null differ diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d556c1b --- /dev/null +++ b/setup.py @@ -0,0 +1,13 @@ +from setuptools import setup +from TenNet import __version__ + +setup( + name='TenNet', + version=__version__, + + url='https://github.com/alessandro-santini/TenNet', + author='Alessandro Santini', + author_email='asantini@sissa.it', + + py_modules=['TenNet'], +)