mirror of
https://igit.ific.uv.es/alramos/latticegpu.jl.git
synced 2025-05-15 03:33:42 +02:00
SU2 routines re-organized in different files
This commit is contained in:
parent
d11f7eefa3
commit
a27ac98554
4 changed files with 149 additions and 122 deletions
|
@ -12,8 +12,8 @@
|
|||
|
||||
module Groups
|
||||
|
||||
using Random
|
||||
import Base.:*, Base.:+, Base.:-,Base.:/,Base.:\,Base.one,Base.zero
|
||||
using CUDA, Random
|
||||
import Base.:*, Base.:+, Base.:-,Base.:/,Base.:\,Base.exp,Base.one,Base.zero
|
||||
import Random.rand
|
||||
|
||||
abstract type Group end
|
||||
|
@ -21,9 +21,16 @@ abstract type Algebra end
|
|||
|
||||
export Group, Algebra
|
||||
|
||||
include("GroupSU2.jl")
|
||||
##
|
||||
# SU(2) and 2x2 matrix operations
|
||||
##
|
||||
include("SU2Types.jl")
|
||||
export SU2, SU2alg
|
||||
|
||||
include("GroupSU2.jl")
|
||||
include("AlgebraSU2.jl")
|
||||
## END SU(2)
|
||||
|
||||
##
|
||||
# SU(3) and 3x3 matrix operations
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue