Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
waltergu committed Apr 18, 2024
1 parent a4e9c36 commit 8b1ab78
Showing 1 changed file with 28 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -519,22 +519,44 @@ Standard concrete spin terms are summarized as follows:
# termkind = :Zeeman
# bondkind = 0
# ishermitian = true
Zeeman(id::Symbol, value, direction::Char, g::Number=1; amplitude::Union{Function, Nothing}=nothing)
Zeeman(id::Symbol, value, direction::Union{AbstractVector{<:Number}, Tuple{Number, Number}}, g::Union{Number, AbstractMatrix{<:Number}}=1; unit::Symbol=:degree, amplitude::Union{Function, Nothing}=nothing)
Zeeman(
id::Symbol, value, direction::Char, g::Number=1;
amplitude::Union{Function, Nothing}=nothing
)
Zeeman(
id::Symbol,
value,
direction::Union{AbstractVector{<:Number}, Tuple{Number, Number}},
g::Union{Number, AbstractMatrix{<:Number}}=1;
unit::Symbol=:degree,
amplitude::Union{Function, Nothing}=nothing
)

# termkind = :SingleIonAnisotropy
# bondkind = 0
# ishermitian = true
SingleIonAnisotropy(id::Symbol, value, direction::Char; amplitude::Union{Function, Nothing}=nothing)
SingleIonAnisotropy(id::Symbol, value, matrix::AbstractMatrix{<:Number}; amplitude::Union{Function, Nothing}=nothing)
SingleIonAnisotropy(
id::Symbol, value, direction::Char;
amplitude::Union{Function, Nothing}=nothing
)
SingleIonAnisotropy(
id::Symbol, value, matrix::AbstractMatrix{<:Number};
amplitude::Union{Function, Nothing}=nothing
)

# termkind = :Ising
# ishermitian = true
Ising(id::Symbol, value, bondkind, direction::Char; amplitude::Union{Function, Nothing}=nothing)
Ising(
id::Symbol, value, bondkind, direction::Char;
amplitude::Union{Function, Nothing}=nothing
)

# termkind = :Heisenberg
# ishermitian = true
Heisenberg(id::Symbol, value, bondkind; form::Symbol=Symbol("+-z"), amplitude::Union{Function, Nothing}=nothing)
Heisenberg(
id::Symbol, value, bondkind;
form::Symbol=Symbol("+-z"), amplitude::Union{Function, Nothing}=nothing
)

# termkind = :Kitaev
# ishermitian = true
Expand Down

0 comments on commit 8b1ab78

Please sign in to comment.