# $Id$

PortSystem 1.0

name			libquantum
version			0.2.4
categories		science
platforms		darwin
maintainers		nomaintainer
description		library for the simulation of a quantum computer
long_description	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.

homepage		http://www.libquantum.de/
master_sites	${homepage}files/
checksums		md5 ce7b9f942b4b23c7d7e17e974d8ce577

pre-test {
	system "cd ${worksrcpath} && ${build.cmd} demos"
}
test.run		yes
test.cmd		./grover 42 10 && ./shor 15
test.target