Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

6
misc/libquantum/DESCR Normal file
View File

@@ -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.

18
misc/libquantum/Makefile Normal file
View File

@@ -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
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"

5
misc/libquantum/PLIST Normal file
View File

@@ -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

6
misc/libquantum/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.5 2010/08/15 07:35:56 obache Exp $
SHA1 (libquantum-1.0.0.tar.gz) = 1b3476ac5061ee49b470d4170863d221c0acb903
RMD160 (libquantum-1.0.0.tar.gz) = ebd88b646cb874f192cc0ce41272fff22820a8df
Size (libquantum-1.0.0.tar.gz) = 223241 bytes
SHA1 (patch-aa) = ae9d274d7074e26b78817eb7723413b569154918

View File

@@ -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 */