aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-11-11 21:28:52 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2023-11-12 04:49:06 +0000
commitfe0473dc1f1c703e8367efc5dc0104beb7da8815 (patch)
treeaaa9cd89e2ba0a017f497ee74b0eeb99a2327f06
parent0860a4e8db4315057714fe85fe1dd0c9ec28b366 (diff)
misc/py-SQImFil: New port: Implicit Filtering optimization for quantum computer algorithms
-rw-r--r--misc/Makefile1
-rw-r--r--misc/py-SQImFil/Makefile25
-rw-r--r--misc/py-SQImFil/distinfo3
-rw-r--r--misc/py-SQImFil/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 37610cf82756..b086f6252610 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -395,6 +395,7 @@
SUBDIR += py-PyWavefront
SUBDIR += py-QSpectrumAnalyzer
SUBDIR += py-SQCommon
+ SUBDIR += py-SQImFil
SUBDIR += py-SimpleSoapy
SUBDIR += py-SoapySDR
SUBDIR += py-alive-progress
diff --git a/misc/py-SQImFil/Makefile b/misc/py-SQImFil/Makefile
new file mode 100644
index 000000000000..b5f17b49f81b
--- /dev/null
+++ b/misc/py-SQImFil/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= SQImFil
+DISTVERSION= 0.3.7
+CATEGORIES= misc math python # quantum-computing
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Implicit Filtering optimization for quantum computer algorithms
+WWW= https://qat4chem.lbl.gov/software
+
+LICENSE= BSD3CLAUSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}SQCommon>0:misc/py-SQCommon@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= pep517 autoplist pytest
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/misc/py-SQImFil/distinfo b/misc/py-SQImFil/distinfo
new file mode 100644
index 000000000000..5e389c769060
--- /dev/null
+++ b/misc/py-SQImFil/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1699737976
+SHA256 (SQImFil-0.3.7.tar.gz) = be48fce9277bf8ff19727f9ab25663937a7c758e8f97d4f0f9a3a67ea4b7e096
+SIZE (SQImFil-0.3.7.tar.gz) = 27965
diff --git a/misc/py-SQImFil/pkg-descr b/misc/py-SQImFil/pkg-descr
new file mode 100644
index 000000000000..9f878cbdb9a4
--- /dev/null
+++ b/misc/py-SQImFil/pkg-descr
@@ -0,0 +1,4 @@
+ImFil is intended for optimizing on derivative-free, noisy, blackbox functions.
+This modified version has preset defaults as intended for hybrid
+quantum-classical algorithms run on Noisy Intermediate Scale Quantum (NISQ)
+computers.