-
Notifications
You must be signed in to change notification settings - Fork 208
/
Copy pathpyproject.toml
131 lines (115 loc) · 4.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
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
125
126
127
128
129
130
[tool.poetry]
name = "qml"
version = "0.0.0"
description = "Introductions to key concepts in quantum machine learning, as well as tutorials and implementations from cutting-edge QML research."
authors = ["PennyLaneAI <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://pennylane.ai/qml/"
repository = "https://github.com/PennyLaneAI/qml"
keywords = ["demo", "qml", "tensorflow", "automatic-differentiation", "tutorials", "pytorch", "autograd", "quantum-computing", "neural-networks", "quantum-chemistry", "key-concepts", "quantum-machine-learning"]
packages = [
{include = "qml", from = "lib"}
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.poetry.source]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
priority = "explicit"
[tool.poetry.scripts]
qml = 'qml.app:app'
[tool.poetry.dependencies]
python = "~3.10.0"
typer = "^0.15.1"
poetry = "^1.8.5"
poetry-plugin-export = "^1.8.0"
dulwich = "<0.22"
requirements-parser = "^0.11.0"
lxml = "^5.3.0"
uv = "^0.5.25"
[tool.poetry.group.base.dependencies]
# Base dependencies needed to build the website without any code execution (*-norun)
sphinx = ">=5.0.2"
sphinx_gallery = "0.17.1"
Jinja2 = "3.0.3"
markupsafe = "2.1.1"
numpy = "~1.24"
pyyaml = "^6.0.1"
pennylane-sphinx-theme = { git = "https://github.com/PennyLaneAI/pennylane-sphinx-theme.git", branch = "sphinx-update" }
pypandoc = "1.5"
pennylane = "0.41.0"
uv = "^0.5.25"
[tool.poetry.group.executable-dependencies.dependencies]
###########################################################
###################### IMPORTANT NOTE #####################
# These pinned versions of PL are NOT used for Dev builds #
# The latest commit from GitHub is used instead #
###########################################################
pennylane = "0.41.0"
pennylane-cirq = "0.41.0"
pennylane-qiskit = "0.41.0"
pennylane-qulacs = "0.41.0"
pennylane-catalyst = "0.11.0"
##########################################################
scipy = ">=1.12"
numpy = "~1.24"
matplotlib = "3.7.2"
jax = "0.4.28"
jaxlib = "0.4.28"
jaxopt = "0.8.3"
seaborn = "0.13.2"
kahypar = "1.1.7"
openfermionpyscf = "0.5"
covalent = "0.227.0rc0"
openqaoa-core = "0.2.5"
dwave-ocean-sdk = "7.0.0"
pyzx = "0.7.0"
neural-tangents = "0.6.2"
plotly = ">=4.5.0"
pydantic = "^2.8.2"
ply = "3.11"
optax = "0.2.3"
flax = "0.9.0"
qutip = "5.1.0"
mitiq = "0.43.0"
pennylane-qrack = "0.11.1"
pyqrack = "1.32.12"
zstd = "*"
dill = "*"
stim = "*"
bluequbit = "0.9.3b1"
quimb = "1.8.2"
aiohttp = "3.9.5"
fsspec = "2024.6.1"
h5py = "3.11.0"
qiskit = ">=1.0.0"
qiskit-aer = ">=0.14.0,<0.16.0"
sphinxcontrib-applehelp = "1.0.8"
sphinx-gallery = "0.17.1"
qrisp = ">=0.6.1"
iqpopt = { git = "https://github.com/XanaduAI/iqpopt.git" }
# Install a difference version of torch from PyPI as the one from PyTorch repo is not compatible with MacOS
torch = [
{ version = "2.1.2", source = "PyPI", markers = "sys_platform == 'darwin'" },
{ version = "2.1.2+cpu", source = "pytorch-cpu", markers = "sys_platform != 'darwin'" }
]
torchvision = [
{ version = "0.16.2", source = "PyPI", markers = "sys_platform == 'darwin'" },
{ version = "0.16.2+cpu", source = "pytorch-cpu", markers = "sys_platform != 'darwin'"}
]
# The following packages are platform locked to not install on MacOS as the installation breaks
scikit-learn = { version = "1.3.0", markers = "platform_machine == 'x86_64'" }
tensorflow = { version = "2.14.1", markers = "platform_machine == 'x86_64'" }
flamingpy = { version = ">=0.10.1b1", markers = "platform_machine == 'x86_64'" }
qulacs = { version = "0.6.1", markers = "platform_machine == 'x86_64'" }
# The following packages are only installed on MacOS for compatibility
tensorflow-macos = { version = "2.14.1", markers = "sys_platform == 'darwin' and platform_machine == 'arm64'" }
[tool.poetry.group.metadata-validation]
optional = true
[tool.poetry.group.metadata-validation.dependencies]
jsonschema = { extras = ["format"], version = "~4.17.3" }
check-jsonschema = "^0.23.3"
[tool.poetry.group.dev.dependencies]
ruff = "^0.8.4"