- Home
- Library
- Quantum Information in Field Theory
- What Local Probes Can Measure
- Measuring Purity and Rényi Entropies
Measuring Purity and Rényi Entropies
Purity is nonlinear in a density matrix, but it is a linear expectation value on two independently prepared copies. This observation makes a Rényi entropy measurable without reconstructing every matrix element. The nonlinear logarithm still has a statistical cost: an unbiased purity estimate does not give an unbiased entropy estimate.
Preparation: Reduced density matrices and elementary independent sampling. Use in nats. The calculation below concerns a finite subsystem with a specified two-copy preparation and readout.
Swap the subsystem, not the entire preparation
Let exchange the two copies of subsystem . In a basis,
Direct multiplication gives
For identical independent copies this is . The same identity holds if the two complete systems are prepared independently and only is swapped. It does not require access to a decomposition of into pure states.
Since is Hermitian and unitary, a direct SWAP measurement has outcomes with
Equivalently, an ancilla prepared in controls the swap, and its readout has mean . This is an implementable two-copy observable when the required gates or interference measurement are available. It is not a cloning procedure for an unknown single specimen.
Preparation matters. Nonidentical inputs estimate , while correlated copies generally do not factorize and need not yield either purity. Likewise, in a field experiment, the regulator, selected modes and implementable subsystem swap must be specified before interpreting a finite measured number as a continuum entropy.
One exact target and a shot model
Prepare the pure two-qubit state
Its reduced state is , so
For independent SWAP shots, let be the number of positive outcomes. Then
The variance includes intrinsic quantum outcome fluctuations even with perfect gates and preparation. Device errors would be an additional model, not part of this ideal sampling distribution.
The companion simulates 40,000 independent experiments at each shot count using a fixed retained random seed. It also computes the exact binomial distribution, rather than using the simulation alone as the statistical reference.
| Shots | Mean | Sample standard deviation | Exact standard deviation |
|---|---|---|---|
These are repeated-experiment statistics. The standard deviation in the table is the uncertainty of one experiment with shots, not the much smaller uncertainty in the tabulated mean over 40,000 repetitions.
The logarithm introduces bias and a domain issue
Expanding around gives, at large ,
The leading bias is positive because the logarithm with a minus sign is convex. At the leading prediction is , while the exact binomial positive-domain bias is . At they are and ; the difference resolves corrections to the large-sample expansion.
There is a necessary qualification: can be nonpositive, where the real logarithm is undefined. For this example the exact failure probability at is ; no such failure occurred in the retained simulations. Exact logarithmic moments quoted here are conditioned on . Arbitrarily clipping invalid estimates would define a different biased estimator. The failure probability is negligible here, but cannot be ignored in a low-purity or low-shot experiment.
Report an interval before taking a logarithm
A conservative distribution-free bound follows from :
Thus an interval of half-width has coverage at least . If the finite dimension is known, intersect it with the physical range . For resulting endpoints , transform the interval to
If the intersection is empty, report the inconsistency rather than manufacture an entropy value. This procedure separates a confidence statement from a point estimate. Tighter binomial intervals are possible without changing the observable.
Summary
The SWAP expectation measures purity directly on independent copies. Its shot estimator is unbiased with an exact variance, while its logarithm has bias and can leave its domain. These distinctions are already visible in a single reduced qubit.
Exercises
- Show that a finite- maximally mixed subsystem requires a shot count of order for fixed relative precision in this simple SWAP protocol.
Solution
Here , while the purity standard deviation is approximately at large . The relative standard deviation is approximately . Requiring it below a fixed therefore needs of order . Direct measurement of a nonlinear functional does not make all low-purity targets cheap.
- If the two preparations have diagonal weights and , what is the SWAP expectation? Is it either preparation's purity?
Solution
The overlap is . The two purities are and , respectively, so it is neither. The difference is a preparation mismatch, not a statistical bias of the SWAP estimator.
References
- Ekert et al., Direct estimations of linear and non-linear functionals of a quantum state, Eqs. (1)–(4) and Fig. 2, for controlled-SWAP overlap measurements and higher copy moments. The binomial error and logarithmic-bias calculation above is carried out for the specified state.
Scrollable formula. Use Left and Right arrow keys to reveal hidden content.
Scrollable table. Use Left and Right arrow keys to reveal hidden columns.
Scrollable figure. Use Left and Right arrow keys to reveal hidden content.