You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A map-like rename_vertices for general AbstractNamedGraphs, as suggested by Matt, was merged into NamedGraphs.jl recently (ITensor/NamedGraphs.jl#8). So I think the one in ITensorNetworks with the function as the second argument will be removed in the future.
That still doesn't solve the problem though, since an ITensorNetwork is not an AbstractNamedGraph. I think the proper thing to do is to add a rename_vertices(::AbstractDataGraph, ...) to DataGraphs.jl, which should just work for ITensorNetworks.
Trying to apply rename_vertices to an ITensorNetwork does not automatically work, i.e the following error is raised:
The text was updated successfully, but these errors were encountered: