-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
137 lines (122 loc) · 3.22 KB
/
pyproject.toml
File metadata and controls
137 lines (122 loc) · 3.22 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
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
131
132
133
134
135
136
137
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "vqe-pennylane"
version = "0.3.25"
description = "Quantum Simulation Suite with VQE, QPE, and QITE modules (PennyLane-based)"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [{ name = "Sid Richards", email = "siddrichards@hotmail.co.uk" }]
license = "MIT"
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
"pennylane>=0.42,<0.45",
"numpy>=1.23,<2.0",
"scipy>=1.10,<2.0",
"matplotlib",
"openfermion",
"openfermionpyscf",
]
keywords = ["quantum", "VQE", "QPE", "QITE", "simulation", "pennylane", "quantum-chemistry"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Physics",
]
[project.urls]
Homepage = "https://github.com/SidRichardsQuantum/Variational_Quantum_Eigensolver"
Issues = "https://github.com/SidRichardsQuantum/Variational_Quantum_Eigensolver/issues"
Documentation = "https://sidrichardsquantum.github.io/Variational_Quantum_Eigensolver/"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"black==26.1.0",
"ruff==0.14.11",
"mypy",
]
docs = [
"sphinx",
"furo",
"myst-parser",
"sphinxcontrib-mermaid",
]
[tool.pytest.ini_options]
addopts = "-m 'not slow'"
markers = [
"slow: tests that are useful integration coverage but too expensive for the default PR loop",
"chemistry: tests that build real chemistry Hamiltonians or invoke expensive quantum chemistry backends",
"full_chemistry: broad chemistry coverage across many registered molecules",
"cli_subprocess: tests that validate python -m entrypoints in a separate interpreter",
]
filterwarnings = [
"error::pennylane.exceptions.PennyLaneDeprecationWarning",
"error::DeprecationWarning",
"error::SyntaxWarning",
"ignore:Output seems independent of input\\.:UserWarning:autograd\\.tracer",
]
[project.scripts]
vqe = "vqe.__main__:main"
qpe = "qpe.__main__:main"
qite = "qite.__main__:main"
[tool.setuptools.packages.find]
include = ["vqe*", "qpe*", "qite*", "common*"]
[tool.setuptools]
include-package-data = true
[tool.black]
line-length = 88
target-version = ["py310"]
extend-exclude = '''
/(
\.venv
| venv
| build
| dist
| results
| images
| vendor_wheels
| notebooks
)/
| \.ipynb$
'''
[tool.ruff]
target-version = "py310"
line-length = 88
exclude = [
".venv",
"venv",
"build",
"dist",
"results",
"images",
"vendor_wheels",
"**/*.ipynb",
]
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = ["E501"]
[tool.ruff.lint.isort]
known-first-party = ["vqe", "qpe", "qite", "common"]
[tool.ruff.lint.per-file-ignores]
"**/__init__.py" = ["F401", "I001"]
"tests/test_*.py" = ["I001"]
"tests/test_imports.py" = ["F401"]
[tool.mypy]
python_version = "3.10"
files = [
"common",
"vqe",
"qpe",
"qite",
]
warn_unused_configs = true
ignore_missing_imports = true
follow_imports = "skip"
check_untyped_defs = true
no_implicit_optional = true