Skip to content

Commit 05b7989

Browse files
committed
Delete Algorithm definition, moved to BackendSelection
1 parent 702e6b2 commit 05b7989

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/ITensors.jl

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ module ITensors
22

33
export ITensor, Index
44

5+
# TODO: Delete this and require loading instead?
56
using TensorAlgebra: contract
7+
68
using ITensorBase:
79
ITensor,
810
Index,
@@ -25,12 +27,6 @@ using ITensorBase:
2527
# Quirks, decide where or if to define.
2628
using ITensorBase: dag, dim, factorize, hasqns, onehot
2729

28-
# TODO: Used in `ITensorMPS.jl`, define in `BackendSelection.jl` or `AlgorithmSelection.jl`.
29-
struct Algorithm{algname} end
30-
macro Algorithm_str(algname)
31-
return :(Algorithm{$(Expr(:quote, Symbol(algname)))})
32-
end
33-
3430
# TODO: Used in `ITensorMPS.jl`, define in `ITensorBase.jl`.
3531
function replaceprime end
3632
function setprime end

0 commit comments

Comments
 (0)