Skip to content

Commit 5b4d245

Browse files
committed
Format
1 parent 8c8290e commit 5b4d245

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

src/ITensors.jl

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,21 @@ module ITensors
33
export ITensor, Index
44

55
using TensorAlgebra: contract
6-
using ITensorBase: ITensor, Index, addtags, prime, tags
6+
using ITensorBase:
7+
ITensor,
8+
Index,
9+
addtags,
10+
commonind,
11+
commoninds,
12+
inds,
13+
plev,
14+
prime,
15+
tags,
16+
uniqueind,
17+
uniqueinds
718

819
# Quirks, decide where or if to define.
9-
using ITensorBase: dag, dim, hasqns, inds, itensor
20+
using ITensorBase: dag, dim, factorize, hasqns, itensor, onehot
1021

1122
include("SiteTypes/SiteTypes.jl")
1223
using .SiteTypes: SiteTypes
@@ -39,8 +50,6 @@ macro ts_str(tags) end
3950
struct OneITensor end
4051

4152
# TODO: Used in `ITensorMPS.jl`, define in `ITensorBase.jl`.
42-
function commonind end
43-
function commoninds end
4453
function noprime end
4554
function removetags end
4655
function replaceprime end
@@ -49,8 +58,6 @@ function setprime end
4958
function settags end
5059
function sim end
5160
function swapprime end
52-
function uniqueind end
53-
function uniqueinds end
5461

5562
# TODO: Delete these in-place versions, only define
5663
# them in `ITensorMPS.jl`.

0 commit comments

Comments
 (0)