summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-qiskit-nature/package.py
blob: c314caf8fac03d99f516559a2c5fa6048dac9d82 (plain) (blame)
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
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


from spack.package import *


class PyQiskitNature(PythonPackage):
    """Qiskit Nature is an open-source framework which supports
    solving quantum mechanical natural science problems using
    quantum computing algorithms"""

    homepage = "https://github.com/Qiskit/qiskit-nature"
    pypi = "qiskit-nature/qiskit-nature-0.2.2.tar.gz"

    license("Apache-2.0")

    version("0.2.2", sha256="ce3558d4acf2511111cc398361146af36391d67e5a9fe9c4bd0f727cb56022bf")

    depends_on("python@3.6:", type=("build", "run"))
    depends_on("py-setuptools@40.1.0:", type="build")

    depends_on("py-qiskit-terra@0.18.0:", type=("build", "run"))
    depends_on("py-numpy@1.17:", type=("build", "run"))
    depends_on("py-scipy@1.4:", type=("build", "run"))
    depends_on("py-psutil@5:", type=("build", "run"))
    depends_on("py-h5py@:3.2", type=("build", "run"))
    depends_on("py-scikit-learn@0.20.0:", type=("build", "run"))