Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
DiracMatrix
Guides
DiracMatrix
Symbols
CliffordBasis
CliffordCanonicalBasis
EuclideanGammaMatrices
FlatMetric
GammaMatrices
MetricVielbein
NumericZeroQ
RandomCurvedMetric
ToDiracBasis
ToWeylBasis
WolframQuantumComputation`DiracMatrix`
T
o
D
i
r
a
c
B
a
s
i
s
T
o
D
i
r
a
c
B
a
s
i
s
[
γ
]
t
a
k
e
s
a
l
i
s
t
o
f
g
a
m
m
a
m
a
t
r
i
c
e
s
i
n
t
h
e
B
r
a
u
e
r
-
W
e
y
l
b
a
s
i
s
a
n
d
r
e
t
u
r
n
s
t
h
e
m
i
n
t
h
e
D
i
r
a
c
b
a
s
i
s
(
w
h
e
r
e
0
γ
i
s
d
i
a
g
o
n
a
l
)
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
7
)
Basic Examples
(
1
)
The standard Dirac matrices in dimension 4:
0
γ
is diagonal
d
i
a
g
(
1
,
1
,
-
1
,
-
1
)
:
I
n
[
1
]
:
=
T
o
D
i
r
a
c
B
a
s
i
s
G
a
m
m
a
M
a
t
r
i
c
e
s
F
l
a
t
M
e
t
r
i
c
[
1
,
3
]
/
/
M
a
p
[
M
a
t
r
i
x
F
o
r
m
]
O
u
t
[
1
]
=
1
0
0
0
0
1
0
0
0
0
-
1
0
0
0
0
-
1
,
0
0
1
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