forked from qiboteam/boostvqe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (40 loc) · 1.12 KB
/
pyproject.toml
File metadata and controls
46 lines (40 loc) · 1.12 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "boostvqe"
version = "0.0.1"
description = "Boosting VQE training with DBI algorithm"
authors = ["Qibo&DBI team"]
readme = "README.md"
packages = [{ include = "boostvqe", from = "src" }]
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
numpy = "^1.26.4"
numba = "^0.59.0"
qibo = "^0.2.12"
tensorflow = "^2.17.0"
matplotlib = "^3.9.2"
seaborn = "^0.13.2"
hyperopt = "^0.2.7"
qibojit = "^0.1.6"
qiboml = {git = "https://github.com/qiboteam/qiboml"}
[tool.poetry.group.dev.dependencies]
ipython = "^7.34"
pdbpp = "^0.10.3"
[tool.poetry.group.benchmark.dependencies]
pytest = "^8.0.0"
pytest-benchmark = { version = "^4.0.0", extras = ["histogram"] }
[tool.poe.tasks]
bench = "pytest benchmarks/"
[tool.pytest.ini_options]
testpaths = ['tests/', 'benchmarks/']
python_files = ['test_*.py', 'bench_*.py']
python_classes = ['Test*', 'Benchmark*']
python_functions = ['test_*', 'bench_*']
addopts = [
"--benchmark-warmup=on",
"--benchmark-warmup-iterations=100000",
"--benchmark-disable-gc",
"--benchmark-histogram=bench-hists/bench",
]