-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
111 lines (98 loc) · 3.71 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
111
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning", "setuptools"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry]
name = "quri-parts"
version = "0.0.0"
description = "Platform-independent quantum computing library"
license = "Apache-2.0"
authors = ["QURI Parts Authors <opensource@qunasys.com>"]
readme = "README.md"
repository = "https://github.com/QunaSys/quri-parts"
documentation = "https://quri-parts.qunasys.com"
keywords = ["quantum", "quantum computing"]
classifiers = [
"Topic :: Scientific/Engineering :: Physics",
"Typing :: Typed"
]
packages = [
{ include = "quri_parts" }
]
[tool.poetry-dynamic-versioning]
enable = true
style = "pep440"
[tool.poetry.dependencies]
python = "^3.9.8"
quri-parts-rust = "*"
quri-parts-core = "*"
quri-parts-circuit = "*"
quri-parts-algo = "*"
quri-parts-chem = "*"
quri-parts-qulacs = { version = "*", optional = true }
quri-parts-braket = { version = "*", optional = true }
quri-parts-qiskit = { version = "*", optional = true }
quri-parts-cirq = { version = "*", optional = true }
quri-parts-openfermion = { version = "*", optional = true }
quri-parts-stim = { version = "*", optional = true }
quri-parts-openqasm = { version = "*", optional = true }
quri-parts-quantinuum = { version = "*", optional = true }
quri-parts-ionq = { version = "*", optional = true }
quri-parts-itensor = { version = "*", optional = true }
quri-parts-pyscf = { version = "*", optional = true }
quri-parts-tket = { version = "*", optional = true }
[tool.poetry.extras]
qulacs = ["quri-parts-qulacs"]
braket = ["quri-parts-braket"]
qiskit = ["quri-parts-qiskit"]
cirq = ["quri-parts-cirq"]
openfermion = ["quri-parts-openfermion"]
stim = ["quri-parts-stim"]
openqasm = ["quri-parts-openqasm"]
quantinuum = ["quri-parts-quantinuum"]
ionq = ["quri-parts-ionq"]
itensor = ["quri-parts-itensor"]
pyscf = ["quri-parts-pyscf"]
tket = ["quri-parts-tket"]
[tool.poetry.group.dev.dependencies]
quri-parts-rust = {path = "packages/rust", develop = true}
quri-parts-circuit = {path = "packages/circuit", develop = true}
quri-parts-core = {path = "packages/core", develop = true}
quri-parts-qulacs = {path = "packages/qulacs", develop = true}
quri-parts-algo = {path = "packages/algo", develop = true}
quri-parts-chem = {path = "packages/chem", develop = true}
quri-parts-braket = {path = "packages/braket", develop = true}
quri-parts-qiskit = {path = "packages/qiskit", develop = true}
quri-parts-cirq = {path = "packages/cirq", develop = true}
quri-parts-openfermion = {path = "packages/openfermion", develop = true}
quri-parts-stim = {path = "packages/stim", develop = true}
quri-parts-openqasm = {path = "packages/openqasm", develop = true}
quri-parts-quantinuum = {path = "packages/quantinuum", develop = true}
quri-parts-ionq = {path = "packages/ionq", develop = true}
quri-parts-itensor = {path = "packages/itensor", develop = true}
quri-parts-pyscf = {path = "packages/pyscf", develop = true}
quri-parts-tket = {path = "packages/tket", develop = true}
# To avoid poetry downloading hundreds versions of botocore
# https://github.com/python-poetry/poetry/issues/7858
botocore = ">=1.29.115"
pytest = ">=7.0.1,<9.0.0"
maturin = "^1.0"
[tool.poetry.group.lint.dependencies]
black = "^23.1.0"
flake8 = ">=4.0.1,<8.0.0"
# Exclude docformatter 1.6.0 to avoid this issue: https://github.com/PyCQA/docformatter/issues/161
docformatter = "^1.4,!=1.6.0"
isort = "^5.10.1"
[tool.poetry.group.typecheck.dependencies]
mypy = ">=0.950"
[tool.poetry.group.doc.dependencies]
Sphinx = ">=4.4,<8.0"
furo = ">=2022.2.23,<2024.0.0"
sphinx-autobuild = "^2021.3.14"
nbsphinx = ">=0.8.9,<0.10.0"
ipython = "^8.4.0"
notebook = ">=6.4.12,<8.0.0"
myst-parser = ">=0.18.1,<2.1.0"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"