Partial Trace
Formula
Section titled “Formula”Let
and let be an operator on the composite space. For an orthonormal basis of ,
The result is an operator on . For a bipartite density operator,
is the reduced state of subsystem .
Similarly,
At a Glance
Section titled “At a Glance”| Setting | Formula |
|---|---|
| Reduced state on | |
| Basis definition | |
| Matrix indices | |
| Product operator | |
| Local expectation | |
| Pure-state coefficients | |
| Continuous kernel | |
| Full trace |
The subscript on names the subsystem discarded. The output acts on the complementary subsystem.
Meaning
Section titled “Meaning”The partial trace discards selected tensor factors while retaining exactly the information required for observables on the factors that remain.
For every operator on subsystem ,
This characterizing identity is the safest way to interpret : it reproduces all local probabilities and expectation values available from measurements on alone.
The reduced state does not retain all correlations with . Many globally different states can have the same .
Matrix-Index Formula
Section titled “Matrix-Index Formula”Choose product bases
Write
Then
To trace out , set the bra and ket indices equal and sum them. The indices remain as the output row and column.
Likewise,
This rule is reliable only after the tensor-factor order and basis order are fixed.
Rank-One and Product Rules
Section titled “Rank-One and Product Rules”For rank-one product operators,
For general product operators,
Therefore, for a product density operator,
These identities extend by linearity to sums of product operators.
Pure-State Coefficient Formula
Section titled “Pure-State Coefficient Formula”Write a normalized bipartite pure state as
Then
If is the coefficient matrix with labels as rows and labels as columns, this is
For subsystem , the safest convention-independent statement is the indexed formula
Compact matrix formulas for depend on whether coefficient arrays are stored with transposed or conjugated index conventions. The indexed expression fixes the meaning.
Schmidt Form
Section titled “Schmidt Form”For a pure state in Schmidt form,
where
the reduced states are
The nonzero eigenvalues of and are therefore identical for a pure bipartite state.
The state is a product state exactly when one Schmidt coefficient equals one. It is entangled exactly when more than one Schmidt coefficient is nonzero.
Two-Qubit Block Formula
Section titled “Two-Qubit Block Formula”Use the basis order
Group a two-qubit operator into blocks labeled by subsystem :
where each is a matrix acting on . Then
This rule changes appearance under a different basis ordering. Declaring the register and basis order is part of the calculation.
Continuous-Variable Form
Section titled “Continuous-Variable Form”For a two-particle density kernel
tracing over coordinate gives
For a pure wavefunction ,
The integration measure must match the coordinate basis normalization. In curvilinear coordinates or field variables, the appropriate measure replaces .
Multiple Subsystems
Section titled “Multiple Subsystems”For
the reduced state on is
Partial traces over distinct factors commute:
The notation
means that both and are discarded. It does not mean that the output acts on .
Algebraic Properties
Section titled “Algebraic Properties”The partial trace is linear:
It preserves the full trace:
It preserves adjoints:
It preserves positivity:
For operators and on the retained subsystem,
A unitary acting only on the discarded subsystem leaves the reduced operator unchanged:
As a map from operators on to operators on , the partial trace is completely positive and trace preserving. It is not unital in the dimension-independent sense:
when has finite dimension .
Reduced-State Checks
Section titled “Reduced-State Checks”If is a density operator, then
For a pure joint state, local purity is
Then
exactly for a product pure state, while
signals entanglement across the – split. For a mixed joint state, local mixedness alone does not diagnose entanglement.
Bell-State Example
Section titled “Bell-State Example”For
the joint density operator is
Tracing out , the cross terms vanish because their bra and ket are orthogonal. The remaining terms give
The same holds for . The global state is pure, but each one-qubit reduced state is maximally mixed.
Partial Trace Is Not Projection
Section titled “Partial Trace Is Not Projection”Projecting subsystem onto gives the unnormalized conditional operator
The partial trace sums these terms over a complete orthonormal basis:
One projection selects a measurement-conditioned branch. The partial trace computes the unconditional marginal and does not choose an outcome or a measurement basis.
Measuring and forgetting the outcome is a physical channel on the joint state. Computing is a mathematical reduction. A trace-preserving local operation on cannot change , but it can change the joint state and its correlations.
Numerical Implementation
Section titled “Numerical Implementation”For finite dimensions and , reshape the operator into a rank-four array with logical indices
Then contract the two indices:
A reliable implementation records:
- subsystem dimensions;
- tensor-factor order;
- basis order within each factor;
- which row and column axes correspond to the subsystem traced out.
Inferring these from the total matrix dimension is unsafe because the same total dimension can have several factorizations.
Symbols
Section titled “Symbols”| Symbol | Mathematical type | Meaning |
|---|---|---|
| , | Hilbert spaces | Subsystem state spaces |
| Composite operator | General input to the partial trace | |
| Positive trace-one operator | Joint state | |
| Positive trace-one operator | Reduced state on | |
| Linear map | Trace over subsystem | |
| , | Identity operators | Identities on specified factors |
| Complex coefficient | Pure-state amplitude in a product basis | |
| Nonnegative number | Schmidt probability | |
| Positive integer | Finite dimension of subsystem |
The tensor-product factorization is part of the meaning. An abstract Hilbert space without a declared subsystem split does not determine a partial trace.
Units and Dimensions
Section titled “Units and Dimensions”Abstract density operators and the partial-trace map are dimensionless. The trace of a normalized density operator is dimensionless and equals one.
Coordinate kernels can carry units inherited from their normalization measure. In
the units of cancel the -coordinate density units so the reduced kernel has the correct -space normalization.
For a finite-dimensional identity,
so tracing an unnormalized operator can introduce a dimension factor. Trace preservation means preservation of the scalar full trace, not preservation of the identity operator.
Assumptions
Section titled “Assumptions”- A tensor-product factorization into retained and discarded subsystems is specified.
- The basis used in the sum is complete and orthonormal.
- The operator and basis use the same tensor-factor and basis ordering.
- Density operators are positive and trace one.
- Infinite-dimensional inputs are trace class when a trace-class output is required.
- Continuous-variable formulas use the correct measure and kernel normalization.
- Local-observable identities use operators supported on the retained subsystem.
Validity and Limitations
Section titled “Validity and Limitations”The partial trace applies to any trace-class operator on a declared tensor-product Hilbert space. In finite dimensions it is always defined for matrices of the correct composite size.
The reduced state:
- determines all local statistics on the retained subsystem;
- does not determine joint correlations;
- does not identify a unique global state;
- does not by itself distinguish classical from quantum correlations for a mixed joint state;
- depends on the chosen subsystem factorization;
- is not a conditional state unless a measurement outcome and normalization are supplied.
For quantum field theory and gauge theories, Hilbert-space factorization across spatial regions can fail or require extra structure. The elementary tensor-product formula should not be transferred to those settings without checking the operator-algebraic framework.
Calculation Checks
Section titled “Calculation Checks”- The output dimension after tracing must be .
- The output trace must equal the input trace.
- Hermiticity and positivity must be preserved.
- A product state must reduce to its retained factor.
- Results computed in two different orthonormal bases of must agree.
- Local expectations from must match those from with .
- For a pure bipartite state, and must have the same nonzero eigenvalues.
- Tensor reshaping and contractions must respect register ordering.
- Small negative eigenvalues at numerical roundoff scale should shrink with increased precision; large negative eigenvalues indicate an error.
Derivation and Canonical Home
Section titled “Derivation and Canonical Home”Partial Trace owns the basis-independence proof, index rules, block formulas, computational implementation, and worked reductions.
Reduced Density Operators owns the subsystem interpretation. Local Measurement Statistics owns the operational characterization, and Schmidt Decomposition owns the pure-state spectral structure.
Worked Examples
Section titled “Worked Examples”- Density-Matrix Examples
- Partial-Trace Exercises
- Bell States
- Product States
- Position-Space Two-Particle States
Common Mistakes
Section titled “Common Mistakes”- Tracing over the subsystem that should have been retained.
- Forgetting that the trace subscript names the discarded factor.
- Treating the operation as projection onto one state of the discarded subsystem.
- Deleting rows and columns instead of contracting matching subsystem indices.
- Reshaping a matrix with the wrong tensor-factor or basis order.
- Assuming a pure joint state must have pure reduced states.
- Assuming a mixed reduced state proves entanglement when the joint state is mixed.
- Expecting the reduced state to preserve joint correlations.
- Using a nonorthonormal basis in the simple basis-sum formula without a dual basis or Gram-matrix correction.
- Forgetting measure factors in continuous variables.
- Assuming the map is unital because it is trace preserving.
Related Formulas
Section titled “Related Formulas”- Density-Matrix Expectation
- Kraus Map
- Von Neumann Entropy
- Born Rule
- Expectation Value
- Tensor-Product Ordering
- Trace-Class and Hilbert–Schmidt Operators
References
Section titled “References”- J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press, 1955.
- A. Peres, Quantum Theory: Concepts and Methods, Kluwer, 1995, ch. 5.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, 10th anniversary ed., Cambridge University Press, 2010, sec. 2.4.
- J. Watrous, The Theory of Quantum Information, Cambridge University Press, 2018, sec. 1.1.
- H.-P. Breuer and F. Petruccione, The Theory of Open Quantum Systems, Oxford University Press, 2002, ch. 2.