[build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.poetry] name = "qibotn" version = "0.0.6" description = "A tensor-network translation module for Qibo" authors = ["The Qibo team"] license = "Apache License 2.0" readme = "README.md" homepage = "https://qibo.science/" repository = "https://github.com/qiboteam/qibotn/" documentation = "https://qibo.science/docs/qibotn/stable" keywords = [] classifiers = [ "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Physics", ] packages = [{ include = "qibotn", from = "src" }] [tool.poetry.dependencies] python = ">=3.11,<3.14" qibo = "^0.2.17" quimb = { version = "^1.10.0", extras = ["tensor"] } cupy-cuda11x = { version = "^13.1.0", optional = true } cuquantum-python-cu11 = { version = "^24.1.0", optional = true } qmatchatea = { version = "^1.4.3", optional = true } [tool.poetry.extras] cuda = ["cupy-cuda11x", "cuquantum-python-cu11", "mpi4py"] qmatchatea = ["qmatchatea"] [tool.poetry.group.docs] optional = true [tool.poetry.group.docs.dependencies] Sphinx = "^5.3.0" furo = "^2023.3.27" sphinxcontrib-bibtex = "^2.5.0" sphinx-copybutton = "^0.5.2" sphinxcontrib-katex = "^0.9.9" [tool.poetry.group.dev.dependencies] ipython = "^8.34.0" [tool.poetry.group.tests] optional = true [tool.poetry.group.tests.dependencies] pytest = "^8.0.0" pytest-cov = "^4.1.0" pytest-env = "^1.1.3" [tool.poetry.group.analysis] optional = true [tool.poetry.group.analysis.dependencies] pylint = "^3.0.3" [tool.poe.tasks] test = "pytest" lint = "pylint src --errors-only" lint-warnings = "pylint src --exit-zero" docs = "make -C doc html" docs-clean = "make -C doc clean" test-docs = "make -C doc doctest" [tool.pylint.main] ignored-modules = ["cupy", "cuquantum", "mpi4py"] [tool.pylint.reports] output-format = "colorized" [tool.pytest.ini_options] testpaths = ["tests/"] addopts = ["--cov=qibotn", "--cov-report=xml"] env = ["D:NUMBA_DISABLE_JIT=1"]