-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
104 lines (95 loc) · 3.44 KB
/
Copy pathpyproject.toml
File metadata and controls
104 lines (95 loc) · 3.44 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
[tool.poetry]
name = "qxmt"
version = "0.0.0" # using poetry-dynamic-versioning
description = "QXMT is a experiment management tool for quantum computing and quantum machine learning."
authors = ["kenya-sk"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/kenya-sk/qxmt"
packages = [
{ include = "qxmt" }
]
[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"
[tool.poetry.dependencies]
python = ">=3.11,<3.13"
pydantic = "^2.8.2"
pandas = "^2.2.2"
scikit-learn = "^1.5.1"
matplotlib = "^3.9.1"
pennylane = ">=0.44,<0.45"
dill = "^0.3.8"
pyyaml = "^6.0.2"
torch = {version = "^2.4.0", optional = true}
transformers = {version = "^4.44.2", optional = true}
seaborn = "^0.13.2"
openml = {version = "^0.15.0", optional = true}
tensorflow-datasets = {version = "^4.9.0", optional = true}
tensorflow = {version = ">=2.19,<2.20", optional = true}
importlib-resources = {version = "^7.1.0", optional = true}
pyarrow = {version = ">=19,<20", optional = true}
optuna = "^4.0.0"
h5py = "^3.12.1"
rich = {extras = ["jupyter"], version = "^13.9.4"}
numpy = "~2.0.0"
qiskit = {version = ">=2.0,<2.4", optional = true}
qiskit-ibm-runtime = {version = "~0.45.0", optional = true}
pennylane-qiskit = {version = "~0.44.1", optional = true}
qiskit-aer = {version = "~0.17.2", optional = true}
amazon-braket-pennylane-plugin = {version = "^1.33.4", optional = true}
amazon-braket-sdk = {version = "^1.104.1", optional = true}
pyscf = "^2.8.0"
aiohttp = "^3.11.16"
fsspec = "^2025.3.2"
scipy = "^1.15.2"
autoray = "^0.8.2"
qulacs = {version = "^0.6.12", optional = true}
qulacsvis = {version = "^0.7.6", optional = true}
pennylane-qulacs = {extras = ["cpu"], version = ">=0.44,<0.45", optional = true}
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
pytest-cov = "^5.0.0"
black = "^24.4.2"
isort = "^5.13.2"
mypy = "^1.10.1"
flake8 = "^7.1.0"
ipykernel = "^6.29.5"
pytest-mock = "^3.14.0"
pytest-xdist = "^3.6.1"
pennylane-lightning = ">=0.44,<0.45"
python-dotenv = "^1.0.1"
[tool.poetry.group.docs.dependencies]
sphinx = "^8.0.2"
sphinx-book-theme = "^1.1.3"
myst-parser = "^4.0.0"
sphinx-autodoc-typehints = "^2.4.4"
[tool.poetry.extras]
llm = ["torch", "transformers"]
openml = ["openml", "pyarrow"]
tfds = ["tensorflow-datasets", "tensorflow", "importlib-resources", "pyarrow"]
datasets = ["openml", "tensorflow-datasets", "tensorflow", "importlib-resources", "pyarrow"]
qulacs = ["qulacs", "qulacsvis"]
pennylane-qulacs = ["pennylane-qulacs"]
qiskit = ["qiskit", "qiskit-ibm-runtime", "qiskit-aer"]
pennylane-qiskit = ["pennylane-qiskit", "qiskit", "qiskit-ibm-runtime", "qiskit-aer"]
amazon-braket = ["amazon-braket-pennylane-plugin", "amazon-braket-sdk"]
[build-system]
requires = ["poetry-core", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.pytest.ini_options]
addopts="-n 3 --dist=loadscope"
markers = [
"serial: marks tests to run serially (not in parallel)",
"pennylane: marks tests that require only PennyLane",
"qulacs: marks tests that require direct Qulacs",
"qiskit: marks tests that require direct Qiskit",
"pennylane_qulacs: marks tests that require the PennyLane-Qulacs plugin",
]
filterwarnings = [
"ignore:__array_wrap__ must accept context and return_scalar arguments.*:DeprecationWarning:pyscf.fci.spin_op",
"ignore:__array_wrap__ must accept context and return_scalar arguments.*:DeprecationWarning:pyscf.mcscf.mc1step",
]
[tool.black]
line-length = 120
target-version = ["py311", "py312"]