From 9f72962dd1ccdff37a80c5d76a3fed6a63213de1 Mon Sep 17 00:00:00 2001 From: João Seródio <48109057+SerodioJ@users.noreply.github.com> Date: Wed, 14 Sep 2022 00:16:38 -0300 Subject: New package: py-qiskit-nature (#32628) --- .../builtin/packages/py-qiskit-nature/package.py | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-qiskit-nature/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-qiskit-nature/package.py b/var/spack/repos/builtin/packages/py-qiskit-nature/package.py new file mode 100644 index 0000000000..7f1831280c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-qiskit-nature/package.py @@ -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")) -- cgit v1.2.3-70-g09d2