From adea0f8231aad9e39f01a7f1e9151125b2f4c962 Mon Sep 17 00:00:00 2001 From: araujoms Date: Fri, 6 Dec 2024 23:28:48 +0100 Subject: [PATCH] really fix tests --- test/states.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/states.jl b/test/states.jl index ab0cb64..877f7eb 100644 --- a/test/states.jl +++ b/test/states.jl @@ -18,7 +18,7 @@ coeff = [T(3) / 5, T(4) / 5] @test state_ghz_ket(T; coeff) == (T(3) * ket(1, 8) + T(4) * ket(8, 8)) / 5 @test state_super_singlet(T, 2) ≈ state_psiminus(T) - U = foldl(kron, fill(random_unitary(T, 3), 3)) + U = foldl(kron, fill(Matrix(random_unitary(T, 3)), 3)) rho = state_super_singlet(T, 3) @test U * rho * U' ≈ rho end