Displaced-Parity Sampling
- Displaced-Parity Sampling is a dual-purpose framework that uses parity-only observation in distribution testing and displaced photon-number parity in phase-space sampling for quantum optics.
- In the distribution testing context, it converts label misalignment into observable run statistics, leading to tight sample complexity bounds blending classical and parity-trace bottlenecks.
- In quantum optics, it underpins displaced detection strategies for boson sampling and cat state certification, linking experimental methods with computational hardness.
Displaced-Parity Sampling denotes several distinct constructions in contemporary theory and quantum optics. In the literature represented here, it refers, first, to parity-only observation under systematic label misalignment in distribution testing, where an ordered sample reveals only the least significant bit of each draw and nearby labels may be “displaced” or confused on a path or cycle; and, second, to phase-space sampling of the displaced photon-number parity operator in linear optics and cat-state certification, where parity is measured after a displacement and thereby samples the Wigner function at chosen phase-space points (Jr. et al., 2023, Seshadreesan et al., 2014, Matulík et al., 21 Jun 2026).
1. Scope and basic formalism
In the parity-trace setting, the basic observable is the parity function
applied to an ordered i.i.d. sample from an unknown distribution over . The tester does not observe the labels themselves; it observes only the binary sequence , while preserving order. The associated distance notion is total variation,
Over , the analysis separates odd and even parts and studies the resulting run structure of the binary trace (Jr. et al., 2023).
In the quantum-optical setting, the core operators are the displacement operator and the parity operator,
with . The displaced-parity operator is
For a single mode, the Wigner function is linked to displaced parity by
0
while the catability work adopts the convention
1
In both conventions, expectation values of displaced parity sample the Wigner function at the chosen phase-space point (Seshadreesan et al., 2014, Matulík et al., 21 Jun 2026).
The displacement in these usages is therefore not the same object. In (Jr. et al., 2023), displacement is a mislabeling or local confusability abstraction on a path or cycle. In (Seshadreesan et al., 2014) and (Matulík et al., 21 Jun 2026), displacement is the phase-space operator 2 acting on bosonic modes.
2. Parity-trace distribution testing and the displaced-label abstraction
The formal testing problem asks whether an unknown distribution 3 is uniform, given only the parity sequence 4: decide whether 5 versus 6 with success probability at least 7, using as few samples as possible. Much of the analysis is performed over 8, writing the odd and even partial distributions as
9
so that the observed trace is a binary string whose alternating runs of 0s and 1s encode information about 2 through run lengths (Jr. et al., 2023).
The displaced-label interpretation is formalized by the confused collector model. Here the base graph 3 is a path or cycle on 4 vertices, and a resolution parameter 5 controls how accurately adjacent vertices are separated. Each edge is included with probability 6 to form a random subgraph 7. One then draws 8 i.i.d. samples from 9 over 0, but each sample is labeled only by the representative of its connected component in 1. Samples from indistinguishable joined vertices therefore collapse to the same label. As 2 decreases, nearby labels are more often confused (Jr. et al., 2023).
The parity trace over 3 becomes a weighted confused collector on a cycle of odd positions. Edges between adjacent odd vertices are included with probability
4
namely the event that no even index between them appears in the trace. The resulting connected components are the observable buckets, and parity runs are precisely these connected components. This means that the observed order carries coarse adjacency information while suppressing absolute position. A plausible implication is that order becomes the critical surrogate for identity once labels are systematically misaligned.
3. Tight uniformity testing under the parity trace
The main technical theorem gives a tight sample complexity for parity-trace uniformity testing:
5
The 6 term is the classical 7/collision term from fully labeled uniformity testing, while the new 8 term is the parity-trace bottleneck. The crossover occurs at 9: for 0, 1 dominates, whereas for 2, 3 dominates (Jr. et al., 2023).
The upper-bound algorithm has three steps. The first is a bias test: count the total number 4 of 5s, and reject if 6 differs significantly from 7, with threshold 8. The second is a concentration test on the circularized trace: compute the maximum run length among 9s and 0s, and reject if the maximum run length exceeds 1. The third is a collision-based run statistic. If 2 are the positive run lengths of 3s in the circular trace, define
4
where 5 is the hidden odd-count vector and 6 is the join matrix indicating whether odd indices lie in the same connected component. The tester rejects when 7 exceeds the expected uniform baseline by at least 8 (Jr. et al., 2023).
The analysis proceeds through expectation separation and variance control. With 9, one has
0
On a path, 1 is Toeplitz; on a cycle, it is circulant. Writing 2, where 3 is the “uniform conjugate” of 4, gives
5
so the separation from uniformity is driven by 6. The associated concentration bound in the parity-trace model is
7
The approximate uniform conjugate is built so that each connected component induced by 8 has approximately equal expected odd mass 9, with
0
This reduction makes the spectral term 1 central to both the mean and variance analyses (Jr. et al., 2023).
The lower bound is based on a domino construction. The domain 2 is partitioned into 3 consecutive dominoes of length 4, each covering 5. The even parts are fixed as 6. In the YES case, each domino is uniform. In the NO case, each domino independently receives one of the two local biases
7
with equal probability. Dominoes with at most two samples reveal no information about the 8 sign; only 9-way or higher collisions matter. The resulting mutual-information bound is
0
which, via Fano’s inequality, yields
1
in the regime 2. Combined with the standard fully labeled lower bound 3, this gives the full lower bound
4
4. Consequences for confused collectors, property testing, and trace reconstruction
The parity-trace abstraction yields direct results for the confused collector on cycles and paths. For 5 and 6, testing uniformity on 7 requires
8
This interpolates between the standard 9 rate at 0 and 1 when 2 is as small as the theorem allows. The displacement here arises because connected components join contiguous vertices, so the tester must exploit ordering and collision-like statistics to undo local confusability (Jr. et al., 2023).
The same framework yields equivalences between parity-trace distribution testing and distribution-free sample-based property testing for density properties. A labeled distribution 3 induces an alternation sequence and a density sequence 4; membership in a density property depends only on that sequence. The equivalence is stated using an edit distance on fractional strings of the form
5
where insert/delete zero-length blocks and rearrangement of adjacent equal blocks are free, while changing block length by 6 costs 7. Two distributions are indistinguishable under parity trace iff this edit distance is 8. Within this framework, testing support size 9 under parity trace matches distribution-free sample-based testing of 00-alternating functions, giving the first tight equivalence between distribution testing and property testing for a non-symmetric property. The promised uniformly 01-alternating problem has sample complexity
02
and the reductions recover lower bounds 03 for 04-alternating functions on 05 and 06 for halfspaces on 07 (Jr. et al., 2023).
There is also a black-box reduction to property testing in trace reconstruction. If 08 denotes the deletion channel on 09 with retention rate 10, then a single trace can be “Poissonized” to a parity trace of 11, where
12
and 13 matches a 14 sample. This yields, among other consequences, a one-trace tester for whether 15 is a uniform 16-block string versus 17-far in relative edit distance, with expected trace size
18
and a tester for whether 19 is an 20-block string versus 21-far with expected trace size 22. A lower bound gives 23 for any 24-trace tester. The multiple-trace uniform-25-block problem admits a matching lower bound
26
This suggests that the parity-trace abstraction functions as a transport mechanism between distribution testing, sample-based property testing, and trace reconstruction rather than as an isolated model.
5. Linear-optical displaced parity and computational complexity
In linear optics, displaced-parity sampling arises from displaced photon-number detection. At the outputs of an interferometer, one applies mode-wise displacements 27, implementable by unbalanced homodyne, and then performs number-resolving detection. From the resulting distribution 28, the parity statistic is obtained by coarse-graining modulo 29:
30
equivalently
31
Since displaced parity is a linear functional of displaced number sampling, it does not introduce additional post-processing complexity beyond number sampling. In boson sampling’s no-collision regime 32, where each mode contains at most one photon with high probability, per-mode parity is identical to on-off detection (Seshadreesan et al., 2014).
For displaced single-photon Fock states (DSPFS), the single-mode input is 33, and the 34-mode input is
35
Under a passive linear-optical interferometer 36,
37
Applying the counter-displacement 38 exactly removes the coherent offsets and yields the usual AA output superposition with amplitudes proportional to matrix permanents,
39
Consequently, sampling with DSPFS inputs and displaced detection is in the same complexity class as AA boson sampling for all displacement values. In the no-collision regime, per-mode parity after cancellation samples the same bitstrings as standard boson sampling. Total parity, by contrast, is fixed to 40 and is therefore uninformative (Seshadreesan et al., 2014).
For single-photon-added coherent states (SPACS), the normalized single-mode state is
41
With equal amplitudes 42, output cancellation leads to a superposition over total photon-number sectors 43, with probabilities
44
This produces a computational-complexity transition. If 45, then 46 remains inverse-polynomial, and at 47,
48
If 49, then 50, so the AA term dominates. By contrast, when 51 scales as 52 or larger, the vacuum sector dominates,
53
and the output becomes classically simulatable. The same transition carries over to displaced parity sampling: in the small-54 regime, post-selection on the 55-photon sector retains AA hardness, whereas in the large-56 regime displaced-parity expectations become trivial and the output is Gaussian-like (Seshadreesan et al., 2014).
6. Parity-less Kerr cats and generalized catability
In the certification of parity-less Kerr cat states, displaced-parity sampling is used because Kerr cats cannot be distinguished by parity at the origin. The construction begins with the nullifier
57
whose nullspace is spanned by 58 and 59. Earlier catability used
60
but for Kerr cats the parity term is replaced by displaced parity,
61
The resulting approximate nullifier is
62
Here the displacement 63 is chosen to target the shifted interference fringes characteristic of parity-less Kerr cats (Matulík et al., 21 Jun 2026).
For equatorial cat states
64
the displaced-parity expectation used for 65-selection is
66
The paper gives
67
with
68
Under 69 and 70, one obtains the simplified forms quoted in the source, and for Kerr cats 71,
72
This makes 73 a direct control parameter for locating the central positive or negative fringe (Matulík et al., 21 Jun 2026).
Because 74 for general 75, the paper introduces a normalized nullifier
76
where
77
This normalization yields expectation values that approach zero on ideal Kerr cats. The work also identifies an exact anti-linear nullifier based on complex conjugation 78, with
79
and
80
These nullify ideal Kerr cats in expectation but are not directly measurable, so displaced parity serves as the practical surrogate (Matulík et al., 21 Jun 2026).
The measurement protocol evaluates 81 from photon-number statistics at a finite set of displacements. Writing
82
one has the estimator
83
and the source gives an explicit decomposition of 84 and of 85 in terms of 86, 87, 88, and 89. The displacement settings 90 therefore suffice. The generalized catability is
91
with 92 witnessing cat-like non-Gaussianity. Loss is modeled by the pure-loss channel with Kraus operators
93
The numerical benchmarks use 94, optimize 95, set 96, and report that the generalized catability is more resilient to optical loss than fidelity-based certification, especially for smaller 97 (Matulík et al., 21 Jun 2026).
7. Distinctions, limitations, and open directions
The main distinction across these usages is operational. In distribution testing, displaced-parity sampling is fundamentally a model of partial observability with preserved order: the tester sees only parity bits and run lengths, and the difficulty comes from systematic misalignment of nearby labels. The cited work explicitly relies on i.i.d. sampling, on order preservation, and on path or cycle structure; it identifies extensions to trees, identity and closeness testing under parity trace, multi-bit traces, and other channels such as insertions and substitutions as open problems (Jr. et al., 2023).
In linear optics, the principal distinction is between total parity and per-mode parity. Total parity is often too coarse: it is fixed for DSPFS and becomes trivial in the large-98 SPACS regime. Per-mode parity in the no-collision regime, by contrast, coincides with on-off detection and therefore preserves the hardness of AA boson sampling after displacement cancellation. This suggests that the computational content of displaced-parity sampling depends sharply on whether parity is used as a global scalar observable or as a mode-resolved bitstring (Seshadreesan et al., 2014).
In Kerr-cat certification, the generalized nullifier with displaced parity is approximate when written as 99, because 00; the normalized version 01 corrects this by inserting the ideal target value 02. The same work emphasizes further limitations: accurate phase-stable calibration of 03 is essential, finite-sample statistics and detector nonidealities introduce variance and bias, the anti-linear nullifier based on 04 is not directly measurable, and explicit sample-complexity bounds are not provided. A plausible implication is that displaced-parity sampling is most powerful when it targets a small number of physically motivated phase-space points rather than attempting full tomography (Matulík et al., 21 Jun 2026).