summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-qiskit-nature/package.py29
1 files changed, 29 insertions, 0 deletions
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"))