Skip to content

Commit afad3c0

Browse files
committed
Remove unneeded functions
1 parent a5a7254 commit afad3c0

File tree

1 file changed

+5
-27
lines changed

1 file changed

+5
-27
lines changed

src/ITensors.jl

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -23,49 +23,27 @@ using ITensorBase:
2323
unsettag
2424

2525
# Quirks, decide where or if to define.
26-
using ITensorBase: OneITensor, dag, dim, factorize, hasqns, itensor, onehot, order, permute
26+
using ITensorBase: dag, dim, factorize, hasqns, onehot
2727

2828
# TODO: Used in `ITensorMPS.jl`, define in `BackendSelection.jl` or `AlgorithmSelection.jl`.
2929
struct Algorithm{algname} end
3030
macro Algorithm_str(algname)
3131
return :(Algorithm{$(Expr(:quote, Symbol(algname)))})
3232
end
3333

34-
# TODO: Used in `ITensorMPS.jl`, decide where or if to define it.
35-
# Maybe define in `TensorAlgebra.jl`.
36-
function outer end
37-
38-
# TODO: Used in `ITensorMPS.jl`, decide where or if to define it.
39-
struct Apply{Args}
40-
args::Args
41-
end
42-
4334
# TODO: Used in `ITensorMPS.jl`, decide where or if to define it.
4435
# Probably define in `ITensorBase.jl` as a shorthand for
4536
# constructing a set of tags.
4637
macro ts_str(tags) end
4738

48-
# TODO: Used in `ITensors.SiteTypes`, need to define.
49-
function product end
50-
5139
# TODO: Used in `ITensorMPS.jl`, define in `ITensorBase.jl`.
52-
function removetags end
5340
function replaceprime end
54-
function replacetags end
5541
function setprime end
56-
function settags end
5742
function swapprime end
5843

59-
# TODO: Delete these in-place versions, only define
60-
# them in `ITensorMPS.jl`.
61-
function addtags! end
62-
function noprime! end
63-
function prime! end
64-
function removetags! end
65-
function replaceprime! end
66-
function replacetags! end
67-
function setprime! end
68-
function settags! end
69-
function swapprime! end
44+
# TODO: Update tag functions for tagdict.
45+
function removetags end
46+
function replacetags end
47+
function settags end
7048

7149
end

0 commit comments

Comments
 (0)