Merge remote-tracking branch 'origin/main' into fix_contraction

Merge fix_contraction branch with latest changes from main.
This commit is contained in:
mattia-robbiano
2026-05-04 17:18:36 +02:00
3 changed files with 1003 additions and 934 deletions

View File

@@ -10,11 +10,11 @@ repos:
- id: check-toml - id: check-toml
- id: debug-statements - id: debug-statements
- repo: https://github.com/psf/black-pre-commit-mirror - repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.1.0 rev: 26.3.1
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pycqa/isort - repo: https://github.com/pycqa/isort
rev: 7.0.0 rev: 9.0.0a3
hooks: hooks:
- id: isort - id: isort
args: ["--profile", "black"] args: ["--profile", "black"]

1925
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "qibotn" name = "qibotn"
version = "0.0.6" version = "0.0.7"
description = "A tensor-network translation module for Qibo" description = "A tensor-network translation module for Qibo"
authors = ["The Qibo team"] authors = ["The Qibo team"]
license = "Apache License 2.0" license = "Apache License 2.0"
@@ -21,8 +21,8 @@ packages = [{ include = "qibotn", from = "src" }]
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = ">=3.11,<3.14" python = ">=3.11,<3.14"
qibo = { git = "https://github.com/qiboteam/qibo" } qibo = "^0.3.0"
qibojit = { git = "https://github.com/qiboteam/qibojit.git" } qibojit = "^0.1.13"
quimb = { version = "^1.10.0", extras = ["tensor"] } quimb = { version = "^1.10.0", extras = ["tensor"] }
cupy-cuda12x = { version = "^13.6.0", optional = true } cupy-cuda12x = { version = "^13.6.0", optional = true }
cuda-toolkit = {extras = ["all"], version = "^12.9.1"} cuda-toolkit = {extras = ["all"], version = "^12.9.1"}
@@ -54,7 +54,7 @@ ipython = "^8.34.0"
optional = true optional = true
[tool.poetry.group.tests.dependencies] [tool.poetry.group.tests.dependencies]
pytest = "^8.0.0" pytest = ">=8,<10"
pytest-cov = "^4.1.0" pytest-cov = "^4.1.0"
pytest-env = "^1.1.3" pytest-env = "^1.1.3"