Spin package

Spin degrees of freedom

SID, Spin and SIndex

SOperator

Spin terms

SpinCoupling

STerm

Manual

Base.MatrixMethod
Matrix(sid::SID{S}, dtype::Type{<:Number}=Complex{Float}) where S -> Matrix{dtype}

Get the matrix representation of a sid.

source
QuantumLattices.Essentials.SpinPackage.SpinTermType
SpinTerm{R}(id::Symbol, value::Any, bondkind::Any;
    couplings::Union{Function, Coupling, Couplings},
    amplitude::Union{Function, Nothing}=nothing,
    modulate::Union{Function, Bool}=false,
    ) where R

Spin term.

Type alias for Term{:SpinTerm, R, id, V, <:Any, <:TermCouplings, <:TermAmplitude, <:TermModulate}.

source
Base.:*Method
*(sc₁::SpinCoupling, sc₂::SpinCoupling) -> SpinCoupling

Get the multiplication between two spin couplings.

source
Base.reprMethod
repr(sc::SpinCoupling) -> String

Get the repr representation of a spin coupling.

source
Base.showMethod
show(io::IO, sc::SpinCoupling)

Show a spin coupling.

source
QuantumLattices.Interfaces.expandMethod
expand(sc::SpinCoupling, points::NTuple{R, Point}, spins::NTuple{R, Spin}, ::Val) where R  -> Union{SCExpand, Tuple{}}

Expand a spin coupling with the given set of points and spin degrees of freedom.

source