diff --git a/Project.toml b/Project.toml index f9a14f7..d00fc9e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "FLOYao" uuid = "6d9310a3-f1d0-41b7-8edb-11c1cf57cd2d" authors = ["janlukas.bosse and contributors"] -version = "1.2.2" +version = "1.2.3" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" @@ -10,7 +10,7 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Yao = "5872b779-8223-5990-8dd0-5abbb0748c8c" [compat] -Yao = "0.8" +Yao = "0.8.6" julia = "1" [extras] diff --git a/test/runtests.jl b/test/runtests.jl index 4cac070..4e969da 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -251,7 +251,7 @@ end (in_mreg, in_mregδ), params_mregδ = @test_warn "Calling manual" Yao.AD.apply_back((mreg, mregδ), circuit) (in_areg, in_aregδ), params_aregδ = Yao.AD.apply_back((areg, aregδ), circuit) - @test params_mregδ ≈ 2params_aregδ + @test params_mregδ ≈ params_aregδ @test fidelity(majorana2arrayreg(in_mreg), in_areg) ≈ 1.