From 9e32ffda2e9b2f9563e34b7616c303188a636f7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Sat, 28 Sep 2024 16:43:36 -0400 Subject: [PATCH] Stop using `IdDict` on Reactant extension --- ext/TenetReactantExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/TenetReactantExt.jl b/ext/TenetReactantExt.jl index 07430de2..69640667 100644 --- a/ext/TenetReactantExt.jl +++ b/ext/TenetReactantExt.jl @@ -31,7 +31,7 @@ function Reactant.make_tracer(seen, prev::Quantum, path::Tuple, mode::Reactant.T return Quantum(tracetn, copy(prev.sites)) end -function Reactant.make_tracer(seen::IdDict, prev::Ansatz, path::Tuple, mode::Reactant.TraceMode; kwargs...) +function Reactant.make_tracer(seen, prev::Ansatz, path::Tuple, mode::Reactant.TraceMode; kwargs...) tracetn = Reactant.make_tracer(seen, Quantum(prev), Reactant.append_path(path, :tn), mode; kwargs...) return Ansatz(tracetn, copy(Tenet.lattice(prev))) end