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

Guides

  • TensorNetworks

Tech Notes

  • Building Tensor Networks
  • Contraction Paths and Execution
  • Matrix Product States
  • 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
  • SparseTensorNetwork
  • TableauColumns
  • TableauDimension
  • TableauRows
  • TableauShape
  • TableauSize
  • 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`
MPSSchmidtValues
​
MPSSchmidtValues
[mps,site]
returns the normalized Schmidt coefficients
λ
i
at the bond between
site
and
site+1
.
​
Details and Options
Examples  
(6)
Scope  
(4)
Across all bonds  
(1)
Sweep the Schmidt spectrum across every bond of an MPS to see how entanglement varies along the chain:
In[1]:=
mps=RandomTensorNetwork["MPS"[6,4,2]]
Out[2]=
TensorNetwork
Tensors: 6
Binary: Yes
Free indices: 6
Sparse: No
Output dimension: 64
​

In[3]:=
(MPSSchmidtValues[mps,#1]&)/@Range[1,5]
Out[4]=
{{0.970888,0.239533},{0.963694,0.235972,0.123871,0.0163128},{0.91737,0.335568,0.189693,0.0992074},{0.714507,0.625619,0.296214,0.101676},{0.83564,0.549277}}
Maximally entangled cut  
(1)

Product state  
(1)

Canonicalization invariance  
(1)

Applications  
(1)

Properties & Relations  
(1)

SeeAlso
MPSEntanglementEntropy
 
▪
MPSCanonicalForm
 
▪
MPSCanonicalQ
 
▪
MPSOverlap
 
▪
MPSNorm
 
▪
MPSTruncate
 
▪
RandomTensorNetwork
 
▪
SingularValueList
 
▪
Norm
TechNotes
▪
MPS Algorithms
RelatedGuides
▪
TensorNetworks
Build a random matrix product state and pull the Schmidt values at a bond:
In[1]:=
mps=RandomTensorNetwork["MPS"[6,4,2]]
Out[1]=
TensorNetwork
Tensors: 6
Binary: Yes
Free indices: 6
Sparse: No
Output dimension: 64
​

In[2]:=
MPSSchmidtValues[mps,3]
Out[2]=
{0.91737,0.335568,0.189693,0.0992074}
​
The squared values sum to one – the Schmidt coefficients are the square roots of a probability distribution:
In[3]:=
mps=RandomTensorNetwork["MPS"[6,4,2]];​​Total[MPSSchmidtValues[mps,3]^2]
Out[3]=
1.
​
Bond indices outside the valid range 1 through N-1 fall back to the trivial single-value distribution:
In[4]:=
mps=RandomTensorNetwork["MPS"[6,4,2]];​​{MPSSchmidtValues[mps,0],MPSSchmidtValues[mps,6]}
Out[4]=
{{1.},{1.}}
""

© 2026 Wolfram. All rights reserved.

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