Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • 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
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

TensorNetworks

Tutorials

  • Index conventions and contraction path

Guides

  • TensorNetworks

Tech Notes

  • Building Tensor Networks
  • Contraction Paths and Execution
  • Named Indices and Metrics
  • Matrix Product States
  • A Working Tour of the Symmetry Functions
  • Tensor Networks Overview
  • Young Tableaux and Tensor Symmetries

Symbols

  • ActivateTensors
  • ArraySymmetry
  • BinaryTensorNetwork
  • BinaryTensorNetworkQ
  • CanonicalPath
  • CanonicalPathQ
  • ContractIndices
  • ContractionTree
  • Dimension
  • DimensionQ
  • EinsteinSummation
  • GreedyContractionPath
  • HookFactor
  • HookLength
  • HookLengths
  • IndexArray
  • IndexArrayQ
  • IndexContract
  • IndexedMultiply
  • IndexJuggling
  • IndexPart
  • IndexTensor
  • IndexTensorQ
  • InitializeTensorNetwork
  • MetricTensor
  • MetricTensorQ
  • MPSCanonicalForm
  • MPSCanonicalQ
  • MPSEntanglementEntropy
  • MPSNormalize
  • MPSNorm
  • MPSOverlap
  • MPSSchmidtValues
  • MPSTruncate
  • OptimalContractionPath
  • PartitionQ
  • PathIndexContractions
  • PathQ
  • PathToTreePath
  • RandomTensorNetwork
  • SchurDimension
  • Shape
  • ShapeQ
  • SparseTensorNetwork
  • TableauColumns
  • TableauDimension
  • TableauRows
  • TableauShape
  • TableauSize
  • TableauWeylDimension
  • TensorNetworkAdd
  • TensorNetworkContraction
  • TensorNetworkContractions
  • TensorNetworkContract
  • TensorNetworkData
  • TensorNetworkDelete
  • TensorNetworkFindContractionPath
  • TensorNetworkFreeIndices
  • TensorNetworkGraphData
  • TensorNetworkGraphQ
  • TensorNetworkIndexDimensions
  • TensorNetworkIndexGraph
  • TensorNetworkIndices
  • TensorNetwork
  • TensorNetworkQ
  • TensorNetworkRemoveCycles
  • TensorNetworkReplaceIndices
  • TensorNetworkSize
  • TensorNetworkTensors
  • TensorNetworkToNetGraph
  • ToTensorNetworkGraph
  • TransposePartition
  • TreePathQ
  • TreePathToPath
  • YoungProject
  • YoungSymmetrize
  • YoungTableau
  • YoungTableauQ
  • $TensorNetworkContractionMethods
Wolfram`TensorNetworks`Symmetry`
TableauSize
​
TableauSize
[tableau]
returns the total number of boxes in a Young tableau, i.e. the sum of its row lengths.
​
Details and Options
▪
This symbol lives in the subpackage context
"Wolfram`TensorNetworks`Symmetry`"
. Load it explicitly with
Needs
["Wolfram`TensorNetworks`Symmetry`"]
; loading only the main context does not auto-load this subpackage.
▪
For a tableau
yt
whose rows are
rows
,
TableauSize
[yt]
equals
Total
[
Length
/@rows]
.
▪
Equivalent to
Total
[
TableauShape
[yt]]
; the size is the sum of the partition stored as the tableau's shape.
▪
Issues
TableauSize
::noyt
and returns
$Failed
when called on anything other than a valid
YoungTableau
; use
YoungTableauQ
to test inputs first.
▪
The tensor rank required by
YoungSymmetrize
and
YoungProject
matches
TableauSize
of the tableau, since one slot of the tensor is consumed by each box of the diagram.
Examples  
(14)
Basic Examples  
(3)
Count the boxes of a tableau given by explicit rows:
In[1]:=
TableauSize

YoungTableau
[{{1,2,3},{4,5}}]
Out[1]=
5
​
For a tableau constructed from a partition, the size is the total number of cells of the diagram:
In[1]:=
TableauSize

YoungTableau
[{4,3}]
Out[1]=
7
​
The same number is the total of the shape:
In[1]:=
Total
TableauShape

YoungTableau
[{{1,2,3},{4,5}}]
Out[1]=
5
Scope  
(4)

Applications  
(3)

Properties & Relations  
(4)

SeeAlso
YoungTableau
 
▪
TableauShape
 
▪
TableauDimension
 
▪
YoungTableauQ
 
▪
YoungSymmetrize
 
▪
YoungProject
 
▪
HookFactor
 
▪
HookLengths
 
▪
Total
TechNotes
▪
Young Symmetries
RelatedGuides
▪
TensorNetworks
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com