git: eb9d9d12a302 - main - devel/py-qutip-qip: New port: QuTiP quantum information processing package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Jun 2022 14:40:02 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb9d9d12a3022ad9ed5f963c1c3df825633cee7f commit eb9d9d12a3022ad9ed5f963c1c3df825633cee7f Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-06-08 14:39:21 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-06-08 14:39:59 +0000 devel/py-qutip-qip: New port: QuTiP quantum information processing package --- devel/Makefile | 1 + devel/py-qutip-qip/Makefile | 32 ++++++++++++++++++++++++++++++++ devel/py-qutip-qip/distinfo | 3 +++ devel/py-qutip-qip/pkg-descr | 20 ++++++++++++++++++++ 4 files changed, 56 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index bacba7513701..dad44f40bfc6 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5218,6 +5218,7 @@ SUBDIR += py-qtconsole SUBDIR += py-questionary SUBDIR += py-qutip + SUBDIR += py-qutip-qip SUBDIR += py-ramlfications SUBDIR += py-rapidfuzz SUBDIR += py-rapidfuzz-capi diff --git a/devel/py-qutip-qip/Makefile b/devel/py-qutip-qip/Makefile new file mode 100644 index 000000000000..39698a7cfd8d --- /dev/null +++ b/devel/py-qutip-qip/Makefile @@ -0,0 +1,32 @@ +PORTNAME= qutip-qip +DISTVERSION= 0.2.1 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= QuTiP quantum information processing package + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +PY_DEPENDS= ${PYNUMPY} \ + ${PYTHON_PKGNAMEPREFIX}qutip>=4.5:devel/py-qutip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=1.0:science/py-scipy@${PY_FLAVOR} +BUILD_DEPENDS= ${PY_DEPENDS} +RUN_DEPENDS= ${PY_DEPENDS} + +USES= python:3.7+ +USE_PYTHON= distutils autoplist + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + +NO_ARCH= yes + +post-patch: + @cd ${WRKSRC} && ${ECHO} ${DISTVERSION} > VERSION + +do-test: + @cd ${WRKDIR} && ${SETENV} ${TEST_ENV} pytest + +.include <bsd.port.mk> diff --git a/devel/py-qutip-qip/distinfo b/devel/py-qutip-qip/distinfo new file mode 100644 index 000000000000..6e5e5e68a2d2 --- /dev/null +++ b/devel/py-qutip-qip/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1654668649 +SHA256 (qutip-qip-0.2.1.tar.gz) = 716a0a806d80306fab2567f29d629b8a2c80b7869391c2490a0e0585adbffd39 +SIZE (qutip-qip-0.2.1.tar.gz) = 118123 diff --git a/devel/py-qutip-qip/pkg-descr b/devel/py-qutip-qip/pkg-descr new file mode 100644 index 000000000000..dba4f31d66d0 --- /dev/null +++ b/devel/py-qutip-qip/pkg-descr @@ -0,0 +1,20 @@ +The qutip-qip package used to be a module qutip.qip under QuTiP +(Quantum Toolbox in Python). From QuTiP 5.0, the community has decided +to decrease the size of the core QuTiP package by reducing the +external dependencies, in order to simplify maintenance. Hence a few +modules are separated from the core QuTiP and will become QuTiP family +packages. They are still maintained by the QuTiP team but hosted under +different repositories in the QuTiP organization. + +The qutip-qip package, QuTiP quantum information processing, aims at +providing basic tools for quantum computing simulation both for simple +quantum algorithm design and for experimental realization. Compared to +other libraries for quantum information processing, qutip-qip puts +additional emphasis on the physics layer and the interaction with the +QuTiP package. The package offers two different approaches for +simulating quantum circuits, one with QubitCircuit calculating unitary +evolution under quantum gates by matrix product, another called +Processor using open system solvers in QuTiP to simulate noisy quantum +device. + +WWW: https://github.com/qutip/qutip-qip