Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Jan 16, 2025
1 parent 8c8290e commit 5b4d245
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions src/ITensors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@ module ITensors
export ITensor, Index

using TensorAlgebra: contract
using ITensorBase: ITensor, Index, addtags, prime, tags
using ITensorBase:
ITensor,
Index,
addtags,
commonind,
commoninds,
inds,
plev,
prime,
tags,
uniqueind,
uniqueinds

# Quirks, decide where or if to define.
using ITensorBase: dag, dim, hasqns, inds, itensor
using ITensorBase: dag, dim, factorize, hasqns, itensor, onehot

include("SiteTypes/SiteTypes.jl")
using .SiteTypes: SiteTypes
Expand Down Expand Up @@ -39,8 +50,6 @@ macro ts_str(tags) end
struct OneITensor end

# TODO: Used in `ITensorMPS.jl`, define in `ITensorBase.jl`.
function commonind end
function commoninds end
function noprime end
function removetags end
function replaceprime end
Expand All @@ -49,8 +58,6 @@ function setprime end
function settags end
function sim end
function swapprime end
function uniqueind end
function uniqueinds end

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

0 comments on commit 5b4d245

Please sign in to comment.