11module ITensors
22
33using TensorAlgebra: contract
4- using ITensorBase: ITensor, Index, addtags, tags
4+ using ITensorBase: ITensor, Index, addtags, prime, tags
5+
6+ # Quirks, decide where or if to define.
7+ using ITensorBase: dag, dim, hasqns, inds, itensor
8+
59include (" SiteTypes/SiteTypes.jl" )
610using . SiteTypes: SiteTypes
711include (" LazyApply/LazyApply.jl" )
812using . LazyApply: LazyApply
913include (" Ops/Ops.jl" )
1014using . Ops: Ops
1115
12- # Quirks, decide where or if to define.
13- using ITensorBase: dag, dim, hasqns
14-
1516# TODO : Used in `ITensorMPS.jl`, define in `BackendSelection.jl`.
1617struct Algorithm{algname} end
1718macro Algorithm_str (algname)
1819 return :(Algorithm{$ (Expr (:quote , Symbol (algname)))})
1920end
2021
2122# TODO : Used in `ITensorMPS.jl`, decide where or if to define it.
23+ # Maybe define in `TensorAlgebra.jl`.
2224function outer end
2325
2426# TODO : Used in `ITensorMPS.jl`, decide where or if to define it.
@@ -27,34 +29,37 @@ struct Apply{Args}
2729end
2830
2931# TODO : Used in `ITensorMPS.jl`, decide where or if to define it.
32+ # Probably define in `ITensorBase.jl` as a shorthand for
33+ # constructing a set of tags.
3034macro ts_str (tags) end
3135
3236# TODO : Used in `ITensorMPS.jl`, decide where or if to define it.
3337struct OneITensor end
3438
3539# TODO : Used in `ITensorMPS.jl`, define in `ITensorBase.jl`.
36- # function addtags end
37- function addtags! end
3840function commonind end
3941function commoninds end
4042function noprime end
41- function noprime! end
42- function prime end
43- function prime! end
4443function removetags end
45- function removetags! end
4644function replaceprime end
47- function replaceprime! end
4845function replacetags end
49- function replacetags! end
5046function setprime end
51- function setprime! end
5247function settags end
53- function settags! end
5448function sim end
5549function swapprime end
56- function swapprime! end
5750function uniqueind end
5851function uniqueinds end
5952
53+ # TODO : Delete these in-place versions, only define
54+ # them in `ITensorMPS.jl`.
55+ function addtags! end
56+ function noprime! end
57+ function prime! end
58+ function removetags! end
59+ function replaceprime! end
60+ function replacetags! end
61+ function setprime! end
62+ function settags! end
63+ function swapprime! end
64+
6065end
0 commit comments