-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (112 loc) · 2.99 KB
/
Copy pathpyproject.toml
File metadata and controls
124 lines (112 loc) · 2.99 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "qrisp"
version = "0.9.5"
authors = [
{name = "The Qrisp authors"},
]
description = "A high-level quantum programming language"
readme = "README.md"
requires-python = ">=3.11, <3.14"
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Eclipse Public License 2.0 (EPL-2.0)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Quantum Computing",
"Topic :: Software Development :: Compilers",
]
license = {text = "EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0"}
dependencies = [
"numpy>=2.0,<2.5",
"sympy<=1.13",
"qiskit>=0.44.0",
"matplotlib>=3.5.1",
"scipy>=1.10.0",
"numba",
"networkx",
"tqdm",
"dill",
"psutil",
"jax==0.7.1",
"jaxlib==0.7.1"
]
[project.optional-dependencies]
aqt = ["qiskit-aqt-provider>=1.15.0"]
qiskit = ["qiskit-aer", "qiskit-ibm-runtime"]
iqm = [
"iqm-client[qiskit]>=33.0.3,<34.0.0",
"iqm-pulse<13.0",
"iqm-station-control-client==12.0.5",
"iqm-exa-common==27.5.4",
"opentelemetry-exporter-otlp==1.27.0",
"iqm-data-definitions==2.22",
]
catalyst = ["pennylane-catalyst==0.15.0", "pennylane"]
xdsl = ["xdsl==0.59.0"]
docs = [
"sphinx>=7,<9", # sphinx_toolbox.sidebar_links not compatible with Sphinx 9
"sphinx-toolbox==4.1.2",
"nbsphinx==0.9.8",
"ipykernel==7.3.0",
"myst-parser==5.1.0",
"texext==0.6.8",
"numpydoc==1.10.0",
"sphinx-sitemap==2.9.0",
"sphinx-copybutton==0.5.2",
"sphinx-design==0.7.0",
"sphinx-thebe==0.3.1",
"sphinx-new-tab-link==0.8.1",
"pydata-sphinx-theme==0.17.1",
]
dev-code-style = [
"ruff",
]
dev-testing = [
"pytest==9.1.1",
"pytest-cov>=6.0",
"qiskit-aer",
"pyscf",
"cirq",
"tqecd",
]
dev = [
"qrisp[dev-code-style,dev-testing]",
]
[project.urls]
Homepage = "https://github.com/eclipse-qrisp/Qrisp"
"Bug Tracker" = "https://github.com/eclipse-qrisp/Qrisp/issues"
[tool.ruff]
exclude = ["__init__.py", "*.ipynb"]
line-length = 120
target-version = "py312" # will be changed to consider other python versions as well
force-exclude = true
[tool.ruff.lint]
select = ["I", "E", "W", "D", "PL", "F"]
# ruff configuration
# E, W -- pycodestyle
# D -- pydocstyle
# I -- isort
# PL -- pylint
# F -- pyflakes
# Rules considered over other incompatible ones
exclude = ["*.ipynb"]
ignore = [
"D203", # inconsistent with D211 (no-blank-line-before-class)
"D213", # inconsistent with D212 (multi-line-summary-first-line)
"D400", # first-line-should-end-with-period
"D415", # ends-in-punctuation
]
[tool.coverage.run]
omit = ["*/__init__.py"]
[tool.pylint. messages_control]
disable = ["import-error"]