From def58d5a4961ce35c9576734a16ee9b8ec6e8e57 Mon Sep 17 00:00:00 2001 From: amitjamadagni Date: Mon, 13 Jul 2015 09:17:04 +0800 Subject: [PATCH] Tests added. --- test/multest.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/multest.jl b/test/multest.jl index 542e280..7906c68 100644 --- a/test/multest.jl +++ b/test/multest.jl @@ -53,3 +53,6 @@ qv1 = normalize!(QuArray(v1)) # Vectorize @assert vec(qv) == vec(qv') + +# Complex coeffs +@assert complex(statevec(1, FiniteBasis(2))) == QuArray([1.+0.*im, 0.+0.*im])