Degrees of freedom

IID, Internal and Index

Config

OID and Operator

Operators

Metric and Table

LaTeX

Boundary

Manual

Core.TypeMethod
(INDEX::Type{<:Index})(pid::PID, iid::IID) -> INDEX

Get the corresponding index from a pid and an iid.

source
QuantumLattices.Essentials.DegreesOfFreedom.TableType
Table(oids::AbstractVector{<:AbstractOID}, by::Metric=OIDToTuple(eltype(oids)))

Convert a set of concrete oids to the corresponding table of oid-sequence pairs.

The input oids are measured by the input by function with the duplicates removed. The resulting unique values are sorted, which determines the sequence of the input oids. Note that two oids have the same sequence if their converted values are equal to each other.

source
Base.:==Method
==(bound1::Boundary, bound2::Boundary) -> Bool

Judge whether two boundaries conditions are equivalent to each other.

source
Base.adjointMethod
adjoint(opts::Operators) -> Operators

Get the adjoint of a set of operators.

source
Base.adjointMethod
adjoint(index::Index) -> typeof(index)

Get the adjoint of an index.

source
Base.adjointMethod
adjoint(oid::OID) -> typeof(oid)
adjoint(oid::ID{OID, N}) where N -> typeof(oid)

Get the adjoint of an operator id.

source
Base.adjointMethod
adjoint(opt::Operator) -> Operator

Get the adjoint of an operator.

source
Base.angleMethod
angle(bound::Boundary, operator::Operator) -> Float

Get the boundary twist phase of an operator.

source
Base.angleMethod
angle(id::ID{AbstractOID}, vectors::AbstractVector{<:AbstractVector{Float}}, values::AbstractVector{Float}) -> Float

Get the total twist phase of an id.

source
Base.filterMethod
filter(f::Function, oidtotuple::OIDToTuple) -> OIDToTuple

Filter the selected fields.

source
Base.getindexMethod
getindex(table::Table, oid::AbstractOID) -> Int

Inquiry the sequence of an oid.

source
Base.haskeyMethod
haskey(table::Table, oid::AbstractOID) -> Bool
haskey(table::Table, id::ID{AbstractOID}) -> Tuple{Vararg{Bool}}

Judge whether a single oid or a set of oids have been assigned with sequences in table.

source
Base.isequalMethod
isequal(bound1::Boundary, bound2::Boundary) -> Bool

Judge whether two boundaries conditions are equivalent to each other.

source
Base.keysMethod
keys(bound::Boundary) -> Tuple{Vararg{Symbol}}
keys(::Type{<:Boundary{Names}}) where Names -> Names

Get the names of the boundary parameters.

source
Base.keysMethod
keys(::OIDToTuple{Fields}) where Fields -> Fields
keys(::Type{<:OIDToTuple{Fields}}) where Fields -> Fields

Get the names of the selected fields.

source
Base.reprMethod
repr(oid::AbstractOID) -> String
repr(oid::OID, l::LaTeX) -> String

LaTeX string representation of an oid.

source
Base.reprMethod
repr(opts::Operators) -> String

Get the string representation of a set of operators in the LaTeX format.

source
Base.reprMethod
repr(opt::Operator) -> String

Get the string representation of an operator in the LaTeX format.

source
Base.showMethod
show(io::IO, ::MIME"text/latex", opts::Operators)

Show LaTeX formed operators.

source
Base.showMethod
show(io::IO, ::MIME"text/latex", opt::Operator)

Show an operator.

source
Base.summaryMethod
summary(io::IO, opts::Operators)

Print a brief description of a set of operators to an io.

source
Base.unionMethod
union(tables::Table...) -> Table

Unite several oid-sequence tables.

source
Base.unionMethod
union(::Type{P}, ::Type{I}) where {P<:PID, I<:IID}

Combine a concrete PID type and a concrete IID type to a concrete Index type.

source
Base.valtypeMethod
valtype(::Type{<:OIDToTuple}, ::Type{<:Index})
valtype(::Type{<:OIDToTuple}, ::Type{<:OID})

Get the valtype of applying an OIDToTuple rule to a subtype of AbstractOID.

source
QuantumLattices.Essentials.DegreesOfFreedom.scriptMethod
script(::Val{:BD}, oid::AbstractOID, l::LaTeX) -> Any
script(::Val{:SP}, oid::AbstractOID, l::LaTeX) -> Tuple
script(::Val{:SB}, oid::AbstractOID, l::LaTeX) -> Tuple

Get the body/superscript/subscript of the LaTeX string representation of an oid.

source