SU2 routines re-organized in different files

This commit is contained in:
Alberto Ramos 2021-10-03 09:35:25 +02:00
parent d11f7eefa3
commit a27ac98554
4 changed files with 149 additions and 122 deletions

View file

@ -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
##