-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
88 lines (79 loc) · 3.24 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
# Copyright 2022-2024 Rigetti & Co, LLC
#
# This Computer Software is developed under Agreement HR00112230006 between Rigetti & Co, LLC and
# the Defense Advanced Research Projects Agency (DARPA). Use, duplication, or disclosure is subject
# to the restrictions as stated in Agreement HR00112230006 between the Government and the Performer.
# This Computer Software is provided to the U.S. Government with Unlimited Rights; refer to LICENSE
# file for Data Rights Statements. Any opinions, findings, conclusions or recommendations expressed
# in this material are those of the author(s) and do not necessarily reflect the views of the DARPA.
#
# Use of this work other than as specifically authorized by the U.S. Government is licensed under
# the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
[tool.black]
line-length = 120
[tool.coverage.report]
exclude_also = [
# Exclude non-implemented methods of abstract base classes that are not meant to be reachable.
"raise NotImplementedError",
# Exclude run-time errors, which are used defensively for conditions that should not occur.
"raise RuntimeError",
# Exclude exceptions
"except AssertionError",
"except Exception",
]
[tool.poetry]
name = "rigetti_resource_estimation"
version = "0.23.6"
description = "A resource estimator for future fault-tolerant superconducting quantum hardware based on graph state compilation to surface code widgets."
license = "As per Agreement HR00112230006 for the US Government; Apache 2.0 otherwise."
authors = ["Mark Hodson <[email protected]>", "Josh Mutus <[email protected]>", "Nariman Saadatmand <[email protected]>", "Tyler Wilson <[email protected]>"]
packages = [{ include = "rigetti_resource_estimation", from = "src" }]
include = ["CHANGELOG.md", "LICENSE", "params.yaml", { path = "examples", format = "sdist" }]
readme = "README.md"
[tool.poetry.scripts]
sweep = "rigetti_resource_estimation.analysis:sweep"
[tool.poetry.dependencies]
argh = ">=0.26.2"
attrs = ">=21.3"
cirq = ">=1.1"
graph-state-generation = { git = "https://github.com/sfc-aqua/gosc-graph-state-generation" }
juliacall = ">=0.9.12"
mbqc-scheduling = ">=0.1"
networkx = "^2.8.3"
pandas = "^1.5.3"
pauli-tracker = ">=0.1"
python = ">=3.8,!=3.9.7,<3.11"
qiskit = ">=0.24"
scipy = ">=1.10"
stim = ">=1.10"
[tool.poetry.dev-dependencies]
black = {extras = ["jupyter"], version = "^22.6.0"}
ipywidgets = "^7.7"
jupyterlab = "^3.4"
jupyterlab-lsp = "^3.10"
jupyterlab-git = "^0.34"
papermill = "^2.4"
pytest = "^7.1"
pytest-cov = "^3.0"
pytest-profiling = "^1.7"
pyyaml = "^6.0"
qiskit-aer = ">=0.14.0.1"
ruff = "^0.0.280"
sphinx = "^4.5.0"
sphinx-autodoc-typehints = "^1.17"
sphinx-rtd-theme = "^1.0"
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]
[tool.ruff]
line-length = 120
exclude = [
"Jabalizer.jl/",
]