git: 522ac45a6940 - main - science/quantum-jet: New port: Cross-platform header-only library for simulating quantum circuits
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 May 2022 20:02:20 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=522ac45a6940a2ca9717e78280d165df056b20fb commit 522ac45a6940a2ca9717e78280d165df056b20fb Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2022-05-31 20:01:30 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2022-05-31 20:02:18 +0000 science/quantum-jet: New port: Cross-platform header-only library for simulating quantum circuits --- science/Makefile | 1 + science/quantum-jet/Makefile | 35 +++++++++++++++++++++++++++++++++++ science/quantum-jet/distinfo | 3 +++ science/quantum-jet/pkg-descr | 4 ++++ science/quantum-jet/pkg-plist | 18 ++++++++++++++++++ 5 files changed, 61 insertions(+) diff --git a/science/Makefile b/science/Makefile index 6433804ff343..cc41e4b7e355 100644 --- a/science/Makefile +++ b/science/Makefile @@ -355,6 +355,7 @@ SUBDIR += qmcpack SUBDIR += quantum-espresso SUBDIR += quantum-espresso-pseudopotentials + SUBDIR += quantum-jet SUBDIR += qwalk SUBDIR += rdkit SUBDIR += rmf diff --git a/science/quantum-jet/Makefile b/science/quantum-jet/Makefile new file mode 100644 index 000000000000..7c94e153935e --- /dev/null +++ b/science/quantum-jet/Makefile @@ -0,0 +1,35 @@ +PORTNAME= quantum-jet +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.2-2 +DISTVERSIONSUFFIX= -g99c55ce +CATEGORIES= science # quantum-computing + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Cross-platform header-only library for simulating quantum circuits + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= openblas>0:math/openblas +RUN_DEPENDS= taskflow>0:devel/taskflow \ + openblas>0:math/openblas +TEST_DEPENDS= git:devel/git + +USES= cmake:testing compiler:c++17-lang + +USE_GITHUB= yes +GH_ACCOUNT= XanaduAI +GH_PROJECT= jet + +CMAKE_TESTING_ON= BUILD_TESTS + +NO_BUILD= yes +NO_ARCH= yes + +do-configure: # no configure because it clones the taskflow repository + @${NADA} + +do-install: # tests fail to compile, see https://github.com/XanaduAI/jet/issues/77 + @cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX} + +.include <bsd.port.mk> diff --git a/science/quantum-jet/distinfo b/science/quantum-jet/distinfo new file mode 100644 index 000000000000..9655c4c98915 --- /dev/null +++ b/science/quantum-jet/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1653980414 +SHA256 (XanaduAI-jet-v0.2.2-2-g99c55ce_GH0.tar.gz) = 5b2c40504828c1c89183d9d4fc46ee18e35e6ecc2b27aba43b3683fd49fbf252 +SIZE (XanaduAI-jet-v0.2.2-2-g99c55ce_GH0.tar.gz) = 2428873 diff --git a/science/quantum-jet/pkg-descr b/science/quantum-jet/pkg-descr new file mode 100644 index 000000000000..d2837c52e1a1 --- /dev/null +++ b/science/quantum-jet/pkg-descr @@ -0,0 +1,4 @@ +Jet is a cross-platform library for simulating quantum circuits +using tensor network contractions. + +WWW: https://github.com/XanaduAI/jet diff --git a/science/quantum-jet/pkg-plist b/science/quantum-jet/pkg-plist new file mode 100644 index 000000000000..754c416f9521 --- /dev/null +++ b/science/quantum-jet/pkg-plist @@ -0,0 +1,18 @@ +include/Jet.hpp +include/jet/Abort.hpp +include/jet/CudaTensor.hpp +include/jet/CudaTensorHelpers.hpp +include/jet/PathInfo.hpp +include/jet/TaskBasedContractor.hpp +include/jet/Tensor.hpp +include/jet/TensorHelpers.hpp +include/jet/TensorNetwork.hpp +include/jet/TensorNetworkIO.hpp +include/jet/Utilities.hpp +include/jet/Version.hpp +include/jet/external/nlohmann/json.hpp +include/jet/permute/Default.hpp +include/jet/permute/Hptt.hpp +include/jet/permute/Permuter.hpp +include/jet/permute/PermuterIncludes.hpp +include/jet/permute/QFlex.hpp