pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
import libquantum from pkgsrc
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Mon May 2 19:36:48 2016 +0300
Changeset: 6c699441c5eb952a77cae263f03c8ff76d7051a0
Added Files:
libquantum/DESCR
libquantum/Makefile
libquantum/PLIST
libquantum/distinfo
libquantum/patches/patch-aa
Log Message:
import libquantum from pkgsrc
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=6c699441c5eb952a77cae263f03c8ff76d7051a0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
libquantum/DESCR | 6 ++++++
libquantum/Makefile | 18 ++++++++++++++++++
libquantum/PLIST | 5 +++++
libquantum/distinfo | 7 +++++++
libquantum/patches/patch-aa | 13 +++++++++++++
5 files changed, 49 insertions(+)
diffs:
diff --git a/libquantum/DESCR b/libquantum/DESCR
new file mode 100644
index 0000000..e08c449
--- /dev/null
+++ b/libquantum/DESCR
@@ -0,0 +1,6 @@
+libquantum is a C library for the simulation of a quantum
+computer. Based on the principles of quantum mechanics, it provides an
+implementation of a quantum register. Basic operations for register
+manipulation such as the Hadamard gate or the Controlled-NOT gate are
+available through an easy-to-use interface. Measurements can be
+performed on either single qubits or the whole quantum register.
diff --git a/libquantum/Makefile b/libquantum/Makefile
new file mode 100644
index 0000000..174947c
--- /dev/null
+++ b/libquantum/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.4 2012/10/08 09:57:28 asau Exp $
+#
+
+DISTNAME= libquantum-1.0.0
+CATEGORIES= misc
+MASTER_SITES= http://www.libquantum.de/files/
+
+MAINTAINER= lennart%augustsson.net@localhost
+HOMEPAGE= http://www.libquantum.de/
+COMMENT= Quantum computing simulation library
+LICENSE= gnu-gpl-v3
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+
+INSTALL_TARGET= install quobtools_install
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/libquantum/PLIST b/libquantum/PLIST
new file mode 100644
index 0000000..c5c85bc
--- /dev/null
+++ b/libquantum/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.2 2005/10/23 20:10:57 rillig Exp $
+bin/quobdump
+bin/quobprint
+include/quantum.h
+lib/libquantum.la
diff --git a/libquantum/distinfo b/libquantum/distinfo
new file mode 100644
index 0000000..6b47d64
--- /dev/null
+++ b/libquantum/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.6 2015/11/03 23:49:42 agc Exp $
+
+SHA1 (libquantum-1.0.0.tar.gz) = 1b3476ac5061ee49b470d4170863d221c0acb903
+RMD160 (libquantum-1.0.0.tar.gz) = ebd88b646cb874f192cc0ce41272fff22820a8df
+SHA512 (libquantum-1.0.0.tar.gz) = c5b0aa8151a7aa156e59ff4653cf757008eac8dbc2e1691fd9640e3e979338298719fdb4a9942d7e08b9f4d9bef7ed2c4972665dd4a3cca35eca0b14082da13f
+Size (libquantum-1.0.0.tar.gz) = 223241 bytes
+SHA1 (patch-aa) = ae9d274d7074e26b78817eb7723413b569154918
diff --git a/libquantum/patches/patch-aa b/libquantum/patches/patch-aa
new file mode 100644
index 0000000..89a75d2
--- /dev/null
+++ b/libquantum/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.3 2010/08/15 07:35:56 obache Exp $
+
+--- measure.c.orig 2008-09-07 11:02:28.000000000 +0000
++++ measure.c
+@@ -40,7 +40,7 @@
+ double
+ quantum_frand()
+ {
+- return (double) rand() / RAND_MAX;
++ return (double) random() / RAND_MAX;
+ }
+
+ /* Measure the contents of a quantum register */
Home |
Main Index |
Thread Index |
Old Index