forked from NVIDIA/cuda-quantum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
61 lines (55 loc) · 2.42 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
# ============================================================================ #
# Copyright (c) 2022 - 2024 NVIDIA Corporation & Affiliates. #
# All rights reserved. #
# #
# This source code and the accompanying materials are made available under #
# the terms of the Apache License 2.0 which accompanies this distribution. #
# ============================================================================ #
[project]
name = "cuda-quantum"
dynamic = ["version"]
keywords = [ "cuda-quantum", "cuda", "quantum", "quantum computing", "nvidia", "high-performance computing" ]
description="Python bindings for the CUDA-Q toolkit for heterogeneous quantum-classical workflows."
authors = [{name = "NVIDIA Corporation & Affiliates"}]
maintainers = [{name = "NVIDIA Corporation & Affiliates"}]
readme = "python/README.md"
requires-python = ">=3.8"
license = { file="LICENSE" }
dependencies = [
'astpretty ~= 3.0',
'cuquantum-cu11 ~= 24.03',
'graphlib-backport >= 1.0',
'numpy >= 1.24',
'nvidia-cublas-cu11 == 11.11.3.6; platform_machine == "x86_64"',
'nvidia-cuda-runtime-cu11 == 11.8.89; platform_machine == "x86_64"',
'nvidia-cusolver-cu11 == 11.4.1.48; platform_machine == "x86_64"'
]
[project.urls]
Homepage = "https://developer.nvidia.com/cuda-quantum"
Documentation = "https://nvidia.github.io/cuda-quantum"
Repository = "https://github.com/NVIDIA/cuda-quantum"
Releases = "https://nvidia.github.io/cuda-quantum/latest/releases.html"
# We must use h5py<3.11 because 3.11 doesn't include aarch64 Linux wheels.
# https://github.com/h5py/h5py/issues/2408
[project.optional-dependencies]
chemistry = [ "scipy==1.10.1", "openfermionpyscf==0.5", "h5py<3.11" ]
[build-system]
requires = ["scikit-build-core", "cmake>=3.26,<3.29"]
build-backend = "scikit_build_core.build"
[tool.scikit-build]
wheel.packages = ["python/cudaq"]
wheel.license-files = [ "LICENSE", "NOTICE", "CITATION.cff" ]
build-dir = "_skbuild"
sdist.include = ["_version.py"]
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
cmake.minimum-version = "3.26"
cmake.build-type = "Release"
cmake.verbose = false
cmake.args = [
"-DCUDAQ_ENABLE_PYTHON=TRUE",
"-DCUDAQ_DISABLE_CPP_FRONTEND=TRUE",
"-DCUDAQ_DISABLE_TOOLS=TRUE",
"-DCUDAQ_BUILD_TESTS=FALSE",
]
[tool.setuptools_scm]
write_to = "_version.py"