From b66f42b2d8aed580f7b2470360716e2aadbe77b6 Mon Sep 17 00:00:00 2001 From: CompatHelper Julia Date: Wed, 7 Aug 2024 01:07:43 +0000 Subject: [PATCH 1/9] CompatHelper: bump compat for QuantumSymbolics to 0.4, (keep existing compat) --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 2088201b..6339c361 100644 --- a/Project.toml +++ b/Project.toml @@ -53,7 +53,7 @@ QuantumClifford = "0.8.20, 0.9" QuantumInterface = "0.3.4" QuantumOptics = "1.0.5" QuantumOpticsBase = "0.4.22, 0.5" -QuantumSymbolics = "0.3" +QuantumSymbolics = "0.3, 0.4" Random = "1" Reexport = "1.2.2" ResumableFunctions = "0.6.9" From ee5ba05f3dcada976256423edc5cfd938ea6238e Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sun, 11 Aug 2024 03:20:22 -0400 Subject: [PATCH 2/9] trigger ci From c6a71b54823b0861e72c7513449a0aae7928a852 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sun, 11 Aug 2024 11:17:40 -0400 Subject: [PATCH 3/9] trigger ci From 60a1d3905190196d1a577af2da5efe7ef48792fb Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sun, 11 Aug 2024 13:57:58 -0400 Subject: [PATCH 4/9] trigger ci From 03c32d31cc9c72d303f0b24ceb3ccc0d485fe364 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sun, 11 Aug 2024 15:39:54 -0400 Subject: [PATCH 5/9] the withmetadata function does not exist anymore --- src/StatesZoo/StatesZoo.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StatesZoo/StatesZoo.jl b/src/StatesZoo/StatesZoo.jl index f8df7992..c03e21b7 100644 --- a/src/StatesZoo/StatesZoo.jl +++ b/src/StatesZoo/StatesZoo.jl @@ -2,7 +2,7 @@ module StatesZoo using DocStringExtensions using QuantumSymbolics, QuantumOpticsBase -using QuantumSymbolics: withmetadata, @withmetadata, Metadata +using QuantumSymbolics: @withmetadata, Metadata import QuantumSymbolics: express_nolookup import LinearAlgebra From 52e64e0a7166607fb8fbe9d7c859e1d45463aefb Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Sun, 11 Aug 2024 18:54:55 -0400 Subject: [PATCH 6/9] bump symbolics --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 36fa550b..b288c59d 100644 --- a/Project.toml +++ b/Project.toml @@ -53,7 +53,7 @@ QuantumClifford = "0.9.9" QuantumInterface = "0.3.5" QuantumOptics = "1.1.0" QuantumOpticsBase = "0.5.3" -QuantumSymbolics = "0.4.1" +QuantumSymbolics = "0.4.2" Random = "1" Reexport = "1.2.2" ResumableFunctions = "0.6.9" From bde832b7adf2f701bde87d9fe1a8c0ff8acab6fd Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Tue, 13 Aug 2024 22:02:00 -0400 Subject: [PATCH 7/9] bump again --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index b288c59d..7f5e0928 100644 --- a/Project.toml +++ b/Project.toml @@ -53,7 +53,7 @@ QuantumClifford = "0.9.9" QuantumInterface = "0.3.5" QuantumOptics = "1.1.0" QuantumOpticsBase = "0.5.3" -QuantumSymbolics = "0.4.2" +QuantumSymbolics = "0.4.3" Random = "1" Reexport = "1.2.2" ResumableFunctions = "0.6.9" From 57f7952de17ada684c15cab6fb042e0ccf8cd63a Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Tue, 13 Aug 2024 22:43:15 -0400 Subject: [PATCH 8/9] skip aqua if jet is running --- test/test_aqua.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_aqua.jl b/test/test_aqua.jl index aa035f27..e873294c 100644 --- a/test/test_aqua.jl +++ b/test/test_aqua.jl @@ -1,6 +1,10 @@ using Aqua using QuantumSavory +if get(ENV,"JET_TEST","")=="true" +# JET generates new methods with ambiguities +else + @test Test.detect_ambiguities(QuantumSavory) == Tuple{Method, Method}[] Aqua.test_all(QuantumSavory, @@ -10,3 +14,5 @@ Aqua.test_all(QuantumSavory, ) @test length(Aqua.Piracy.hunt(QuantumSavory)) == 6 + +end \ No newline at end of file From 32b32aa58ea926ffc806ba64a0f18087c602347f Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Tue, 13 Aug 2024 22:58:05 -0400 Subject: [PATCH 9/9] fix yet another issue with the `observable` api change --- ext/QuantumSavoryMakie/QuantumSavoryMakie.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/QuantumSavoryMakie/QuantumSavoryMakie.jl b/ext/QuantumSavoryMakie/QuantumSavoryMakie.jl index 25f5482a..2aa65390 100644 --- a/ext/QuantumSavoryMakie/QuantumSavoryMakie.jl +++ b/ext/QuantumSavoryMakie/QuantumSavoryMakie.jl @@ -150,7 +150,7 @@ function Makie.plot!(rn::RegisterNetPlot{<:Tuple{RegisterNet}}) ## the colors and locations for various observables if !isnothing(rn[:observables][]) for (O, rsidx, links) in rn[:observables][] - val = real(observable(tuple((network[rs...] for rs in rsidx)...), O, NaN)) + val = real(observable(tuple((network[rs...] for rs in rsidx)...), O; something=NaN)) # TODO issue a warning if val has (percentage-wise) significant imaginary component (here, for plotting, when we implicitly are taking the real part) for (iʳᵉᵍ, iˢˡᵒᵗ) in rsidx xˢ = registercoords[iʳᵉᵍ][1]