diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-03-30 15:13:59 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-03-30 23:00:17 +0000 |
commit | e052de5ec9c3f6194b003e6b774808fd8fe3dca5 (patch) | |
tree | 0ca2c78299e5ec715e2902fc9430038f63fc049f | |
parent | 8601441eb82908816f078676d000d062751d0072 (diff) | |
download | ports-e052de5ec9c3f6194b003e6b774808fd8fe3dca5.tar.gz ports-e052de5ec9c3f6194b003e6b774808fd8fe3dca5.zip |
science/py-qiskit-dynamics: New port: Qiskit ODE solver
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/py-qiskit-dynamics/Makefile | 36 | ||||
-rw-r--r-- | science/py-qiskit-dynamics/distinfo | 3 | ||||
-rw-r--r-- | science/py-qiskit-dynamics/pkg-descr | 7 |
4 files changed, 47 insertions, 0 deletions
diff --git a/science/Makefile b/science/Makefile index 296dfc91f0d2..7ff6a322b6e1 100644 --- a/science/Makefile +++ b/science/Makefile @@ -399,6 +399,7 @@ SUBDIR += py-qcengine SUBDIR += py-qiskit SUBDIR += py-qiskit-aer + SUBDIR += py-qiskit-dynamics SUBDIR += py-qiskit-experiments SUBDIR += py-qiskit-finance SUBDIR += py-qiskit-ibm-experiment diff --git a/science/py-qiskit-dynamics/Makefile b/science/py-qiskit-dynamics/Makefile new file mode 100644 index 000000000000..e3137028e1ed --- /dev/null +++ b/science/py-qiskit-dynamics/Makefile @@ -0,0 +1,36 @@ +PORTNAME= qiskit-dynamics +DISTVERSION= 0.4.0 +CATEGORIES= science python # quantum-computing +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Qiskit ODE solver +WWW= https://qiskit.org/ + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}matplotlib>=3.0:math/py-matplotlib@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}multiset>=3.0.1:devel/py-multiset@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}qiskit-terra>=0.23.0:science/py-qiskit-terra@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jax>0:math/py-jax@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}qiskit-aer>0:science/py-qiskit-aer@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}qiskit-experiments>0:science/py-qiskit-experiments@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}qutip>0:devel/py-qutip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= distutils autoplist pytest # one test hangs forever, see https://github.com/Qiskit/qiskit-experiments/issues/873 + +USE_GITHUB= yes +GH_ACCOUNT= Qiskit + +NO_ARCH= yes + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +.include <bsd.port.mk> diff --git a/science/py-qiskit-dynamics/distinfo b/science/py-qiskit-dynamics/distinfo new file mode 100644 index 000000000000..2b664dd8b700 --- /dev/null +++ b/science/py-qiskit-dynamics/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1680194840 +SHA256 (Qiskit-qiskit-dynamics-0.4.0_GH0.tar.gz) = f64cab931d9ce68c369d808ad9694613f60424c079d1724f1f6fef24b5e0109b +SIZE (Qiskit-qiskit-dynamics-0.4.0_GH0.tar.gz) = 280155 diff --git a/science/py-qiskit-dynamics/pkg-descr b/science/py-qiskit-dynamics/pkg-descr new file mode 100644 index 000000000000..8bf4dfcbf66a --- /dev/null +++ b/science/py-qiskit-dynamics/pkg-descr @@ -0,0 +1,7 @@ +Qiskit Dynamics is an open-source project for building, transforming, and +solving time-dependent quantum systems in Qiskit. + +The goal of Qiskit Dynamics is to provide access to different numerical methods +for solving differential equations, and to automate common processes typically +performed by hand, e.g. applying frame transformations or rotating wave +approximations to system and control Hamiltonians. |