Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LGPU FPP
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Fernando Pérez Panadero
LGPU FPP
Commits
51608be1
Commit
51608be1
authored
1 year ago
by
Fernando Pérez Panadero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Really?
parent
8c3fe4dc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/Groups/FundamentalSU2.jl
src/Groups/FundamentalSU2.jl
+4
-5
No files found.
src/Groups/FundamentalSU2.jl
View file @
51608be1
...
...
@@ -44,15 +44,14 @@ dot(g1::SU2fund{T},g2::SU2fund{T}) where T <: AbstractFloat = conj(g1.t1)*g2.t1+
Returns ga
"""
Base
.:*
(
g
::
SU2
{
T
},
b
::
SU2fund
{
T
})
where
T
<:
AbstractFloat
=
SU2fund
{
T
}(
g
.
t1
*
b
.
t1
+
g
.
t2
*
b
.
t2
,
-
conj
(
g
.
t2
)
*
b
.
t1
+
conj
(
g
.
t1
)
*
b
.
t2
)
Base
.:*
(
g
::
SU2
{
T
},
b
::
SU2fund
{
T
})
where
T
<:
AbstractFloat
=
SU2fund
{
T
}(
g
.
t1
*
b
.
t1
+
g
.
t2
*
b
.
t2
,
-
conj
(
g
.
t2
)
*
b
.
t1
+
conj
(
g
.
t1
)
*
b
.
t2
)
"""
\(g::SU2{T},b::SU2fund{T})
\
\
(g::SU2{T},b::SU2fund{T})
Returns g^dag b
"""
Base
.:\
(
g
::
SU2
{
T
},
b
::
SU2fund
{
T
})
where
T
<:
AbstractFloat
=
SU2fund
{
T
}(
conj
(
g
.
t1
)
*
b
.
t1
-
g
.
t2
*
b
.
t2
,
conj
(
g
.
t2
)
*
b
.
t1
+
g
.
t1
*
b
.
t2
)
Base
.:\
(
g
::
SU2
{
T
},
b
::
SU2fund
{
T
})
where
T
<:
AbstractFloat
=
SU2fund
{
T
}(
conj
(
g
.
t1
)
*
b
.
t1
-
g
.
t2
*
b
.
t2
,
conj
(
g
.
t2
)
*
b
.
t1
+
g
.
t1
*
b
.
t2
)
"""
*(a::SU2alg{T},b::SU2fund{T})
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment