-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpyproject.toml
85 lines (73 loc) · 2.03 KB
/
pyproject.toml
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[build-system]
requires = ["poetry-core>=1.0.0", "cython", "setuptools", "numpy"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.build]
generate-setup-file = false
script = "build-cython.py"
[tool.poetry]
name = "qLDPC"
version = "0.0.26"
description = "Tools for constructing and analyzing quantum low density parity check (qLDPC) codes."
license = "Apache-2.0"
authors = ["Michael A. Perlin <[email protected]>"]
readme = "README.md"
repository = "https://github.com/Infleqtion/qLDPC"
keywords = [
"quantum computing",
"quantum error correction",
"low density partiy check codes",
"LDPC",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Physics",
]
include = ["qldpc/py.typed", { path = "qldpc/**/*.so", format = "wheel" }]
[tool.poetry.dependencies]
python = "^3.10"
cvxpy = ">=1.3.2"
diskcache = ">=5.0.0"
galois = ">=0.4.2"
gurobipy = { version = ">=10.0.0", optional = true }
ldpc = ">=2.1.8"
networkx = ">=2.6.2"
numpy = ">=1.24.0"
platformdirs = ">=4.0.0"
pymatching = ">=2.1.0"
scipy = ">=1.14.1"
stim = ">=1.14.0"
sympy = ">=1.12"
checks-superstaq = { version = ">=0.5.34", optional = true }
cython-lint = { version = ">=0.16.6", optional = true }
[tool.poetry.extras]
dev = ["checks-superstaq"]
# Check script configuration:
[tool.ruff]
line-length = 100
lint.extend-select = ["I"]
[tool.mypy]
pretty = true
ignore_missing_imports = true
show_error_codes = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
warn_unused_ignores = true
install_types = true
non_interactive = true
no_implicit_optional = true
plugins = ["numpy.typing.mypy_plugin"]
[tool.pytest.ini_options]
addopts = "--disable-socket"
[tool.coverage.report]
fail_under = 100
show_missing = true
skip_covered = true
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:"]
[tool.coverage.run]
include = ["./*"]
[tool.cython-lint]
max-line-length = 100