IndexVal

Description

Constructors

ITensors.IndexValMethod
IndexVal(i::Index, n::Int)

IndexVal(iv::Pair{<:Index, Int})

(i::Index)(n::Int)

Create an IndexVal from a pair of Index and Int.

Alternatively, you can use the syntax i(n).

source

Properties

ITensors.isindequalMethod
isindequal(i::Index, iv::IndexVal)

isindequal(i::IndexVal, iv::Index)

isindequal(i::IndexVal, iv::IndexVal)

Check if the Index and IndexVal have the same indices.

source