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`
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
p
a
r
t
i
t
i
o
n
]
r
e
t
u
r
n
s
t
h
e
c
o
n
j
u
g
a
t
e
(
t
r
a
n
s
p
o
s
e
)
o
f
a
n
i
n
t
e
g
e
r
p
a
r
t
i
t
i
o
n
,
e
q
u
i
v
a
l
e
n
t
t
o
s
w
a
p
p
i
n
g
r
o
w
s
a
n
d
c
o
l
u
m
n
s
o
f
t
h
e
c
o
r
r
e
s
p
o
n
d
i
n
g
Y
o
u
n
g
d
i
a
g
r
a
m
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
▪
Each entry of the result is the count of partition parts at least as large as the column index: the j-th element of the conjugate is
C
o
u
n
t
[
p
a
r
t
i
t
i
o
n
,
x
_
/
;
x
≥
j
]
.
▪
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
is the partition-level analogue of swapping rows and columns of the Young diagram associated with the partition.
▪
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
is a self-inverse operation:
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
p
a
r
]
]
is identical to
p
a
r
for every valid partition.
▪
Self-conjugate partitions (those whose Young diagram is symmetric about its main diagonal) satisfy
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
p
a
r
]
=
=
=
p
a
r
. Examples include
{
3
,
2
,
1
}
and
{
4
,
2
,
1
,
1
}
.
▪
The length of the conjugate equals the largest part of the input:
L
e
n
g
t
h
[
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
p
a
r
]
]
equals
F
i
r
s
t
[
p
a
r
]
.
▪
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
{
}
]
is defined and returns
{
}
as a special case, even though
P
a
r
t
i
t
i
o
n
Q
[
{
}
]
returns
F
a
l
s
e
.
▪
Non-partition input (anything failing
P
a
r
t
i
t
i
o
n
Q
[
…
]
) issues a
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
:
:
n
o
t
p
a
r
message and returns
$
F
a
i
l
e
d
.
Examples
(
2
0
)
Basic Examples
(
4
)
The conjugate of the partition {4, 2, 1}:
I
n
[
1
]
:
=
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
{
4
,
2
,
1
}
]
O
u
t
[
1
]
=
{
3
,
2
,
1
,
1
}
TransposePartition is a self-inverse operation; applying it twice returns the original partition:
I
n
[
1
]
:
=
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
{
4
,
2
,
1
}
]
O
u
t
[
1
]
=
{
4
,
2
,
1
}
The partition {3, 2, 1} is self-conjugate: its Young diagram is symmetric about the main diagonal, so the result equals the input:
I
n
[
1
]
:
=
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
{
3
,
2
,
1
}
]
O
u
t
[
1
]
=
{
3
,
2
,
1
}
For any self-conjugate partition the self-inverse property is doubly demonstrated:
I
n
[
1
]
:
=
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
T
r
a
n
s
p
o
s
e
P
a
r
t
i
t
i
o
n
[
{
3
,
2
,
1
}
]
O
u
t
[
1
]
=
{
3
,
2
,
1
}
S
c
o
p
e
(
9
)
A
p
p
l
i
c
a
t
i
o
n
s
(
3
)
P
r
o
p
e
r
t
i
e
s
&
R
e
l
a
t
i
o
n
s
(
4
)
S
e
e
A
l
s
o
P
a
r
t
i
t
i
o
n
Q
▪
T
a
b
l
e
a
u
D
i
m
e
n
s
i
o
n
▪
H
o
o
k
L
e
n
g
t
h
s
▪
H
o
o
k
F
a
c
t
o
r
▪
Y
o
u
n
g
T
a
b
l
e
a
u
▪
T
a
b
l
e
a
u
S
h
a
p
e
▪
I
n
t
e
g
e
r
P
a
r
t
i
t
i
o
n
s
▪
T
r
a
n
s
p
o
s
e
T
e
c
h
N
o
t
e
s
▪
Y
o
u
n
g
S
y
m
m
e
t
r
i
e
s
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
T
e
n
s
o
r
N
e
t
w
o
r
k
s
"
"