Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mofeing committed Nov 5, 2024
1 parent 8d887f2 commit bd7752f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/TenetReactantExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ end
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

# TODO try rely on generic fallback for ansatzes
function Reactant.make_tracer(seen, prev::Tenet.Product, path::Tuple, mode::Reactant.TraceMode; kwargs...)
Expand Down

0 comments on commit bd7752f

Please sign in to comment.