Partial Trace
This is the canonical treatment of the partial trace, including its characterizing properties, matrix rules, examples, and computational extensions. The Reduced States and Partial Trace gateway supplies the subsystem interpretation and reading path; for the first explicit calculation here, jump to Basis calculation.
Required background. Density Operators supplies the state and trace language, and Entangled States supplies the subsystem interpretation. Familiarity with finite-dimensional product bases and operator matrices is assumed.
The partial trace removes one tensor factor from an operator while retaining exactly the information needed for the other factor. For a bipartite density operator ,
What Partial Trace Does
Section titled “What Partial Trace Does”Let
The full trace returns a scalar:
The partial trace returns an operator on the subsystem that remains:
If and are finite, the map changes a matrix into a matrix. Tracing out instead gives a matrix.
The partial trace is linear, positive, and trace-preserving:
When is a density operator, the result is therefore a normalized positive operator: the reduced state of subsystem .
Tracing out is not the same as projecting onto one selected state. It is a sum over a complete orthonormal basis of the subsystem being ignored.
Basis Calculation
Section titled “Basis Calculation”Choose an orthonormal basis . The partial trace over can be written as a sum of contractions. Define
Then
Each term inserts a bra and ket on subsystem , leaving an operator on subsystem .
Why the result is basis-independent
Section titled “Why the result is basis-independent”Let another orthonormal basis be related by a unitary matrix:
Define in the new basis.
Using
the basis sum becomes
The basis formula is a calculation device; the resulting operator does not depend on which orthonormal basis was used.
Tensor-Product and Dyad Rules
Section titled “Tensor-Product and Dyad Rules”For a simple tensor of operators,
Linearity then handles every finite sum of tensor products. The most useful elementary case is the dyad rule:
This is just the ordinary trace on the factor:
The cross terms in the subsystem being traced out vanish when their basis labels are different.
Coefficient and Block Rules
Section titled “Coefficient and Block Rules”In product bases, write
Then
Equivalently, the matrix elements of the reduced state are
The repeated label is the one being summed. The labels remain because the result is still an operator on .
Block-matrix view
Section titled “Block-matrix view”With the index first and the index changing fastest, regard as a array of blocks:
Tracing out takes the ordinary trace of every block:
By contrast, tracing out sums the diagonal -space blocks:
These recipes assume the declared -first ordering. If a matrix uses a different flattened product basis, reorder it before applying a memorized block rule.
Pure-State Shortcut
Section titled “Pure-State Shortcut”Suppose
where is the coefficient matrix with indexing rows. Then
For example,
This is exactly the coefficient rule above. It avoids constructing the full matrix .
Local Expectation Value Property
Section titled “Local Expectation Value Property”The partial trace is defined so that local expectation values are preserved. For every operator on subsystem ,
So a local observer using gets the same predictions as an observer using the full state and the embedded local observable .
This identity is often the safest way to remember which subsystem is being traced out: tracing out leaves the operator that predicts measurements on . It also characterizes the partial trace uniquely, because choosing matrix units for fixes every matrix element of the result.
Two-Qubit Matrix Rule
Section titled “Two-Qubit Matrix Rule”For two qubits in the ordered product basis
the reduced density matrix of qubit has entries
The convention is
The pair labels the matrix row and labels the matrix column. For example,
This rule says: keep the labels and sum over matching labels.
Bell State Example
Section titled “Bell State Example”For
the density matrix in the same ordered basis is
Using the two-qubit rule,
Therefore
The same calculation gives .
Same marginal from a different joint state
Section titled “Same marginal from a different joint state”The separable, classically correlated state
has matrix
The same block trace gives
The Bell state and have the same reduced state but different joint coherence and correlations. This illustrates directly that the partial trace is many-to-one.
Calculation workflow and checks
Section titled “Calculation workflow and checks”- Declare the tensor-factor order and the subsystem being discarded.
- Choose a product, dyad, coefficient-matrix, or block representation.
- Contract only the input and output indices of the discarded subsystem.
- Reassemble the operator on the retained Hilbert space.
- Check dimension, trace, Hermiticity, positivity, and the product rule.
- Verify one local expectation value when the bookkeeping is uncertain.
For a density operator, these checks require a positive matrix of trace one. A wrong dimension usually means that the wrong factor was retained; a wrong trace usually signals a missing diagonal term or normalization factor.
Diagrammatic Preview
Section titled “Diagrammatic Preview”In tensor-network notation, an operator on has an input and output leg for and an input and output leg for . Taking connects the output leg back to the input leg and sums over that internal label. The input and output legs remain open, so the result is an operator on .
This picture is often the cleanest way to remember the operation: a trace closes a pair of matching legs. A partial trace closes only the legs belonging to the subsystem being discarded.
Multiple Subsystems
Section titled “Multiple Subsystems”For three subsystems,
one may trace over more than one subsystem:
Partial traces over distinct factors commute:
The order of tensor factors still matters for index bookkeeping. If the register order is , then tracing out the middle subsystem means summing over the middle input-output pair, not simply deleting adjacent rows and columns of a matrix.
Computational Implementation
Section titled “Computational Implementation”For finite-dimensional systems, the safest implementation is to reshape the matrix into a tensor with one row index and one column index for each subsystem.
For a bipartite operator with dimensions and , use components
Then
In array language, this is a contraction over the row index and the column index. A good implementation should make the subsystem dimensions and basis ordering explicit rather than inferring them from the total matrix size.
Apply the calculation checks above to the numerical result, allowing only the stated floating-point tolerance when testing Hermiticity, trace, and nonnegative eigenvalues.
Common Mistakes
Section titled “Common Mistakes”- Tracing out the subsystem you meant to keep.
- Projecting onto one state of instead of summing over a complete basis of .
- Forgetting that only terms with matching traced-out indices survive.
- Applying an -first block rule to a matrix stored in a different product-basis order.
- Confusing “take the trace of every block” with “sum the diagonal blocks”; which recipe applies depends on the factor being traced out.
- Thinking the partial trace destroys normalization; for a normalized density operator, the reduced density operator still has trace one.
- Expecting the reduced state to preserve joint correlations with the subsystem that was traced out.
- Treating the basis formula as basis-dependent in its result. The calculation uses a basis, but the operator it returns is basis-independent.
- Building the full pure-state density matrix when the smaller coefficient-matrix shortcut would suffice.
Cross-Links
Section titled “Cross-Links”- Reduced States and Partial Trace
- Density Operators
- Entangled States
- Quantum Operations
- No-Broadcasting Theorem
References
Section titled “References”- J. von Neumann, Mathematical Foundations of Quantum Mechanics, Princeton University Press, 1955.
- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010.
- J. J. Sakurai and J. Napolitano, Modern Quantum Mechanics, 3rd ed., Cambridge University Press, 2020.
- A. Peres, Quantum Theory: Concepts and Methods, Kluwer Academic Publishers, 1995.
- J. Watrous, The Theory of Quantum Information, Cambridge University Press, 2018.
- H.-P. Breuer and F. Petruccione, The Theory of Open Quantum Systems, Oxford University Press, 2002.
Exercises
Section titled “Exercises”- Compute
Solution
The trace of is , so
- Compute
Solution
The trace of is , so the result is
- Trace out qubit from the product state .
Solution
Write
Taking the trace over gives
- For the Bell state , compute the reduced state of qubit .
Solution
By symmetry, the reduced state of qubit is the same as that of qubit :
Directly tracing out gives the same result because the terms and have zero overlap on subsystem .
- If , what operator on corresponds to measuring an observable only on subsystem ?
Solution
The corresponding composite-system observable is
The defining expectation-value property is
- Verify trace compatibility for a product operator:
Why does the result extend to finite sums of product operators?
Solution
First trace over :
Then
Both the full trace and partial trace are linear, so the identity extends term by term to finite sums.
- Use the coefficient-matrix shortcut for
Compute both reduced states and check their traces.
Solution
The coefficient matrix is
Therefore
and
Both have unit trace:
- For the Bell state , compare (a) tracing out , (b) projecting onto the outcome , and (c) performing a complete computational-basis measurement on and discarding its outcome. Identify the output object in each case and explain why (a) and (c) give the same local state on even though they are different operations on the joint system.
The expressions for (a) and the unnormalized branch in (b) are
and
Solution
The partial trace sums over a complete basis of and gives
The second expression selects only the component:
It is an unnormalized conditional operator with trace , the probability of the selected outcome. After normalization it becomes .
For (c), the nonselective measurement produces the joint state
This operation removes joint coherence and therefore differs from merely computing a reduced state. Nevertheless, , the same local state obtained in (a). Projection selects one branch, nonselective measurement changes the joint state and averages all branches, and partial trace extracts the local state without specifying a measurement.