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
TensorNetworks
Guides
TensorNetworks
Tech Notes
Building Tensor Networks
Contraction Paths and Execution
Matrix Product States
A Working Tour of the Symmetry Functions
Tensor Networks Overview
Young Tableaux and Tensor Symmetries
Symbols
ActivateTensors
BinaryTensorNetwork
BinaryTensorNetworkQ
CanonicalPath
CanonicalPathQ
ContractIndices
ContractionTree
EinsteinSummation
GreedyContractionPath
HookFactor
HookLength
HookLengths
IndexedMultiply
InitializeTensorNetwork
MetricTensor
MetricTensorQ
MPSCanonicalForm
MPSCanonicalQ
MPSEntanglementEntropy
MPSNormalize
MPSNorm
MPSOverlap
MPSSchmidtValues
MPSTruncate
OptimalContractionPath
PartitionQ
PathIndexContractions
PathQ
PathToTreePath
RandomTensorNetwork
SchurDimension
SparseTensorNetwork
TableauColumns
TableauDimension
TableauRows
TableauShape
TableauSize
TableauWeylDimension
TensorNetworkAdd
TensorNetworkContraction
TensorNetworkContractions
TensorNetworkContract
TensorNetworkData
TensorNetworkDelete
TensorNetworkFreeIndices
TensorNetworkGraphData
TensorNetworkGraphQ
TensorNetworkIndexDimensions
TensorNetworkIndexGraph
TensorNetworkIndices
TensorNetwork
TensorNetworkQ
TensorNetworkRemoveCycles
TensorNetworkReplaceIndices
TensorNetworkSize
TensorNetworkTensors
TensorNetworkToNetGraph
ToTensorNetworkGraph
TransposePartition
TreePathQ
TreePathToPath
YoungProject
YoungSymmetrize
YoungTableau
YoungTableauQ
Wolfram`TensorNetworks`Symmetry`
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
[
t
e
n
s
o
r
,
t
a
b
l
e
a
u
]
r
e
t
u
r
n
s
t
h
e
u
n
n
o
r
m
a
l
i
z
e
d
Y
o
u
n
g
-
s
y
m
m
e
t
r
i
z
e
d
t
e
n
s
o
r
o
b
t
a
i
n
e
d
b
y
f
i
r
s
t
s
y
m
m
e
t
r
i
z
i
n
g
o
v
e
r
t
h
e
r
o
w
s
o
f
t
a
b
l
e
a
u
a
n
d
t
h
e
n
a
n
t
i
s
y
m
m
e
t
r
i
z
i
n
g
o
v
e
r
i
t
s
c
o
l
u
m
n
s
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
▪
T
h
e
r
e
s
u
l
t
e
q
u
a
l
s
n
!
d
Y
o
u
n
g
P
r
o
j
e
c
t
[
t
,
y
t
]
,
w
h
e
r
e
n
i
s
T
a
b
l
e
a
u
S
i
z
e
[
y
t
]
a
n
d
d
i
s
T
a
b
l
e
a
u
D
i
m
e
n
s
i
o
n
[
y
t
]
.
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
i
s
t
h
e
r
a
w
Y
o
u
n
g
o
p
e
r
a
t
o
r
w
i
t
h
o
u
t
t
h
e
d
/
n
!
n
o
r
m
a
l
i
z
a
t
i
o
n
t
h
a
t
m
a
k
e
s
Y
o
u
n
g
P
r
o
j
e
c
t
i
d
e
m
p
o
t
e
n
t
.
▪
The rows are symmetrized first (
b
T
), then the columns are antisymmetrized (
a
T
), so that the column antisymmetry of the Young symmetrizer
c
T
=
a
T
b
T
survives in the output.
▪
For a rank-2
t
e
n
s
o
r
and shape
{
2
}
,
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
returns
t
+
(twice the symmetric part); for shape
{
1
,
1
}
it returns
t
-
(twice the antisymmetric part). The factor of two is exactly the
n
!
/
d
= 2 normalization missing relative to
Y
o
u
n
g
P
r
o
j
e
c
t
.
▪
The output is unnormalized: applying
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
twice scales the result by an extra factor and is not idempotent. The idempotent operator is
Y
o
u
n
g
P
r
o
j
e
c
t
; for explicit irrep projectors use that symbol instead.
▪
The
t
e
n
s
o
r
rank must equal
T
a
b
l
e
a
u
S
i
z
e
[
t
a
b
l
e
a
u
]; mismatched ranks issue
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
:
:
r
a
n
k
and return
$
F
a
i
l
e
d
. Inputs whose second argument is not a valid
Y
o
u
n
g
T
a
b
l
e
a
u
leave
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
unevaluated.
Examples
(
7
)
Basic Examples
(
1
)
Symmetrize a rank-2 tensor over the row of the totally symmetric tableau {2}; the result is the unnormalized symmetric part
t
+
T
t
:
I
n
[
1
]
:
=
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
{
{
1
,
2
}
,
{
3
,
4
}
}
,
Y
o
u
n
g
T
a
b
l
e
a
u
[
{
2
}
]
O
u
t
[
1
]
=
{
{
2
,
5
}
,
{
5
,
8
}
}
Antisymmetrize over the column of the totally antisymmetric tableau {1,1}; the result is the unnormalized antisymmetric part
t
-
T
t
:
I
n
[
2
]
:
=
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
{
{
1
,
2
}
,
{
3
,
4
}
}
,
Y
o
u
n
g
T
a
b
l
e
a
u
[
{
1
,
1
}
]
O
u
t
[
2
]
=
{
{
0
,
-
1
}
,
{
1
,
0
}
}
Apply the mixed-symmetry projector of shape {2,1} to a rank-3 symbolic array:
I
n
[
3
]
:
=
Y
o
u
n
g
S
y
m
m
e
t
r
i
z
e
A
r
r
a
y
[
a
,
{
2
,
2
,
2
}
]
,
Y
o
u
n
g
T
a
b
l
e
a
u
[
{
2
,
1
}
]
O
u
t
[
3
]
=
{
{
{
0
,
2
a
[
1
,
1
,
2
]
-
a
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