-
Notifications
You must be signed in to change notification settings - Fork 34
/
pyproject.toml
110 lines (102 loc) · 2.81 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
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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "circuit-knitting-toolbox"
version = "0.2.0"
description = "A software prototype for a circuit knitting toolbox which connects user applications with runtime primitives"
readme = "README.md"
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Physics",
]
requires-python = ">=3.8"
dependencies = [
"qiskit-aer>=0.12.0",
"qiskit-terra>=0.24.0",
"qiskit-nature>=0.5.2",
"qiskit-ibm-runtime>=0.9.2",
]
[project.optional-dependencies]
cplex = [
# We use the same restrictions in both of the following lines, as there
# is no reason for us to install docplex without cplex.
"docplex>=2.23.222; python_version < '3.11' and platform_machine != 'arm64'",
"cplex>=22.1.0.0; python_version < '3.11' and platform_machine != 'arm64'",
]
pyscf = [
"pyscf>=2.0.1; sys_platform != 'win32'",
]
dev = [
"circuit-knitting-toolbox[test,nbtest,lint]",
]
basetest = [
"pytest>=6.2.5",
"pytest-randomly>=1.2.0",
]
test = [
"circuit-knitting-toolbox[basetest,pyscf]",
"ddt>=1.4.4",
]
nbtest = [
"circuit-knitting-toolbox[basetest]",
"nbmake>=1.3.4"
]
style = [
"autoflake==2.1.1",
"black[jupyter]==23.3.0",
"ruff>=0.0.246",
"nbqa>=1.6.0",
]
lint = [
"circuit-knitting-toolbox[style]",
"pydocstyle==6.3.0",
"mypy==1.3.0",
"reno>=3.4.0",
# pydocstyle prefers to parse our pyproject.toml, hence the following line
"toml",
]
docs = [
"Sphinx>=3.0.0",
"sphinx-autodoc-typehints>=1.12.0",
"sphinx-reredirects",
"jupyter-sphinx>=0.3.2",
"nbsphinx>=0.8.8",
"sphinx-copybutton>=0.5.0",
"reno>=3.4.0",
]
notebook-dependencies = [
"circuit-knitting-toolbox[cplex,pyscf]",
"quantum-serverless>=0.0.7",
"matplotlib",
"ipywidgets",
"pylatexenc",
"qiskit-nature<0.6.0",
]
[project.urls]
"Documentation" = "https://qiskit-extensions.github.io/circuit-knitting-toolbox/"
"Repository" = "https://github.com/Qiskit-Extensions/circuit-knitting-toolbox"
[tool.hatch.build.targets.wheel]
only-include = [
"circuit_knitting",
"circuit_knitting_toolbox",
]
[tool.autoflake]
remove-unused-variables = true
remove-all-unused-imports = true
[tool.coverage.run]
omit = [
# deprecated import location(s)
"circuit_knitting/cutting/wire_cutting.py",
]