Skip to content

Commit

Permalink
Remove commented out functions
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyT1994 committed Apr 16, 2024
1 parent 1fcf58e commit 2690e29
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,6 @@ function c_tensor(phys_ind::Index, virt_inds::Vector)
return T
end

# """Tag for a vertex based on its dimension (Dim) and digit (N)"""
# function digit_tag(im::IndexMap, v)
# dig = digit(im, v)
# dim = dimension(im, v)
# return "N $dig, Dim $dim"
# end

# """Generate network of physical indices given a graph and a IndexMap"""
# function ITensors.siteinds(g::AbstractGraph, im::IndexMap)
# is = IndsNetwork(g)
# for v in vertices(g)
# is[v] = [Index(base(im), "Digit, $(digit_tag(im, v)), V$(vertex_tag(v))")]
# end
# return is
# end

function ITensors.inds(s::IndsNetwork, v)
return s[v]
end
Expand Down

0 comments on commit 2690e29

Please sign in to comment.