New package: py-qiskit-nature (#32628)

This commit is contained in:
João Seródio 2022-09-14 00:16:38 -03:00 committed by GitHub
parent 9e5f3f96dd
commit 9f72962dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,29 @@
# Copyright 2013-2022 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"
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"))
depends_on("py-dataclasses", when="python@:3.6", type=("build", "run"))