git: 52f50bae70cc - main - science/py-qiskit-optimization: New port: Optimization submodule of the Quiskit framework for quantum computing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Aug 2022 07:15:44 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=52f50bae70cc7052775fd129f9527f1992255cc7 commit 52f50bae70cc7052775fd129f9527f1992255cc7 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-08-09 06:47:55 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-08-09 07:15:40 +0000 science/py-qiskit-optimization: New port: Optimization submodule of the Quiskit framework for quantum computing --- science/Makefile | 1 + science/py-qiskit-optimization/Makefile | 34 ++++++++++++++++++++++++++++++++ science/py-qiskit-optimization/distinfo | 3 +++ science/py-qiskit-optimization/pkg-descr | 10 ++++++++++ 4 files changed, 48 insertions(+) diff --git a/science/Makefile b/science/Makefile index eca251309aa1..8bdaf0830778 100644 --- a/science/Makefile +++ b/science/Makefile @@ -340,6 +340,7 @@ SUBDIR += py-qcengine SUBDIR += py-qiskit-aer SUBDIR += py-qiskit-ibm-provider + SUBDIR += py-qiskit-optimization SUBDIR += py-qiskit-terra SUBDIR += py-qspin SUBDIR += py-quantities diff --git a/science/py-qiskit-optimization/Makefile b/science/py-qiskit-optimization/Makefile new file mode 100644 index 000000000000..c35867493b76 --- /dev/null +++ b/science/py-qiskit-optimization/Makefile @@ -0,0 +1,34 @@ +PORTNAME= qiskit-optimization +DISTVERSION= 0.4.0-3 +DISTVERSIONSUFFIX= -g750c2c8 +CATEGORIES= science python # quantum-computing +#MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Optimization submodule of the Quiskit framework for quantum computing + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docplex>=2.21.207:math/py-docplex@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}networkx>=2.2:math/py-networkx@${PY_FLAVOR} \ + ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.4:science/py-scipy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}qiskit-terra>=0.20.0:science/py-qiskit-terra@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cvxpy>0:math/py-cvxpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}qiskit-aer>0:science/py-qiskit-aer@${PY_FLAVOR} + +USES= python:3.7+ +USE_PYTHON= distutils autoplist pytest + +USE_GITHUB= yes +GH_ACCOUNT= Qiskit + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/science/py-qiskit-optimization/distinfo b/science/py-qiskit-optimization/distinfo new file mode 100644 index 000000000000..ec110e638d41 --- /dev/null +++ b/science/py-qiskit-optimization/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1659989668 +SHA256 (Qiskit-qiskit-optimization-0.4.0-3-g750c2c8_GH0.tar.gz) = 3d40078a1d43400e0b693298348ff92f88e93536a2209d920c4bd2df999c8b0c +SIZE (Qiskit-qiskit-optimization-0.4.0-3-g750c2c8_GH0.tar.gz) = 2495353 diff --git a/science/py-qiskit-optimization/pkg-descr b/science/py-qiskit-optimization/pkg-descr new file mode 100644 index 000000000000..7c1e9569f421 --- /dev/null +++ b/science/py-qiskit-optimization/pkg-descr @@ -0,0 +1,10 @@ +Qiskit [quiss-kit] is an open-source SDK for working with quantum computers +at the level of pulses, circuits, and application modules. + +Qiskit Optimization is one of Qiskit components. It covers the whole range from +high-level modeling of optimization problems, with automatic conversion of +problems to different required representations, to a suite of easy-to-use +quantum optimization algorithms that are ready to run on classical simulators, +as well as on real quantum devices via Qiskit. + +WWW: https://qiskit.org/