-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
71 lines (61 loc) · 2.03 KB
/
Copy pathpyproject.toml
File metadata and controls
71 lines (61 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[build-system]
requires = ["maturin>=1.8,<2.0"]
build-backend = "maturin"
[project]
name = "tencirpauli"
version = "0.5.0"
description = "Rust-native Pauli algebra, Hamiltonian, symmetry, classical-shadow, and quantum-circuit primitives for TensorCircuit"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
authors = [{ name = "refraction-ray", email = "znfesnpbh@gmail.com" }]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = ["numpy>=1.23", "scipy>=1.10", "tensorcircuit-ng>=1.8,<2"]
[project.urls]
Homepage = "https://github.com/tensorcircuit/TenCirPauli"
Repository = "https://github.com/tensorcircuit/TenCirPauli"
Issues = "https://github.com/tensorcircuit/TenCirPauli/issues"
Documentation = "https://tensorcircuit.github.io/TenCirPauli/"
Changelog = "https://github.com/tensorcircuit/TenCirPauli/blob/main/CHANGELOG.md"
[project.optional-dependencies]
test = ["pytest>=7"]
benchmark = ["pytest>=7", "pytest-benchmark>=4"]
chemistry = ["pyscf", "jax", "optax"]
quality = [
"black>=24.10,<26",
"mypy>=1.14,<2",
"ruff>=0.9,<1",
]
[tool.maturin]
manifest-path = "crates/tencirpauli-native/Cargo.toml"
python-source = "python"
module-name = "tencirpauli._native"
bindings = "pyo3"
include = [{ path = "LICENSE", format = "sdist" }]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["performance_large: release-mode workloads that allocate large statevectors"]
[tool.black]
line-length = 88
target-version = ["py310"]
[tool.ruff]
line-length = 88
target-version = "py310"
src = ["python"]
exclude = [".benchmarks", ".conda", "dist", "target"]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F", "I", "B", "RUF"]
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.mypy]
python_version = "3.10"
strict = true
files = ["python/tencirpauli"]
warn_unreachable = true