From abee505e26ea2894bfab1e70a2f2cdd9f0a43d4c 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 fb93748..946d10f 100644 --- a/test/multest.jl +++ b/test/multest.jl @@ -55,3 +55,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])