Foundations of quantum mechanics · Theory

Network contextuality beyond binary outcomes

Hao Zhang, Gerard John Wong Zhongwei, Rafael Rabelo, Gabriel Ruffolo, Paweł Kurzyński, Dagomir Kaszlikowski

arXiv:2611.29626v1 ↗PDF ↗Submitted 22 November 2026

Question
Bi-contextuality, introduced by Ruffolo and coauthors in 2025, shows that two unentangled qubits from independent sources, measured in one laboratory, can produce statistics that no model with pre-assigned outcome values and independent sources reproduces. The argument uses binary outcomes, where the relevant averages are real and a sign argument suffices. For \(d\)-outcome measurements the outcome labels are complex, and the classical averages could circle around zero. Does the contradiction survive for measurements with more than two outcomes?
Result
Yes, for \(2\le d\le9\). With \(N=d\) independent sources, each preparing the same \(d\)-dimensional product state, and Weyl–Heisenberg measurements \(X\) and \(Y=XZ\), every independent-source noncontextual model predicts \(|C|\ge\Delta_d^{\,d}>0\) for the average product of the two global outcomes, while quantum theory gives \(C=0\). The single-source bounds \(\Delta_d\) are exact, for example \(\Delta_3=1/3\). For this family of states the range is sharp: for \(d\ge10\) the individual probabilities allow a zero average. The paper also gives an inequality in measured probabilities and depolarizing-noise thresholds.

The paper in detail

For two qubits the argument is three lines. Each source prepares \((\ket0+e^{-i\pi/4}\ket1)/\sqrt2\), so \(\langle X\rangle=1/\sqrt2\), \(\langle Y\rangle=-1/\sqrt2\) and \(\langle Z\rangle=0\). The products \(A=X\otimes X\) and \(B=Y\otimes Y\) commute and can be measured jointly, with quantum prediction \(\langle AB\rangle=-\langle Z\rangle^2=0\). A model in which each qubit carries values \(x_i,y_i=\pm1\), drawn independently at the two sources, gives \(\langle ab\rangle=c_1c_2\) with \(c_i\) the average of \(x_iy_i\). Positivity of \((1-x_i)(1+y_i)\) and the observed averages force \(c_i\le1-\sqrt2\), so \(c_1c_2\ge(\sqrt2-1)^2>0\).

The experiment for \(N\) sources passes the systems through a box measuring \(A=X^{\otimes N}\) followed by individual \(X\) measurements, through a box measuring \(B=Y^{\otimes N}\) followed by individual \(Y\) measurements, or through \(A\) and then \(B\). The first two settings check that each global outcome equals the product of the individual ones, and the third gives the joint distribution of \(a\) and \(b\). A model must reproduce all three with one assignment of values and a product distribution over sources.

For \(d\) outcomes, \(X\) shifts the basis, \(Z\) multiplies by powers of \(\omega=e^{2\pi i/d}\), and \(Y=XZ\). Because \(AB=\omega^{-N}BA\), the global products commute when \(N\) is a multiple of \(d\), and the smallest test uses \(N=d\) sources. The state \(\ket{\psi_d}\) superposes eigenvectors of \(X\) and \(Y\) with a phase chosen so that \(\langle XY\rangle=0\), which makes the quantum value of \(C\) vanish, while each individual measurement favours one outcome with weight \(\beta_d\).

The classical average \(c_i\) is now a complex number in a convex set determined by the two marginals. The paper excludes zero from this set with a function of outcome pairs that is nonnegative on every pair, whose average is fixed by the marginals; for \(5\le d\le9\) it needs correction terms depending on one outcome at a time. The bound is attained, so it is the exact distance from zero, and for \(d\ge10\) the set contains zero. Under depolarizing noise the quantum value stays zero, because \(\mathrm{Tr}(XY)=0\), and the test works while the single-source bound stays positive.

Transferable methods

  1. Positivity certificates on outcome pairs

    A classical model is a joint distribution of two incompatible outcomes with prescribed marginals, and the question is whether its correlation can vanish. A function that is nonnegative on every pair of outcomes, and whose average depends only on the marginals plus the correlation, turns this into a single inequality.

    With outcome labels \(x=u\omega^j\) and \(y=v\omega^k\), define \[D_d(x,y)=1+\mathrm{Re}\frac{xy}{uv}-\mathrm{Re}\frac xu-\mathrm{Re}\frac yv.\] For \(d\le4\) it is nonnegative on all \(d^2\) pairs. Averaging over any classical distribution with the marginals of Eq. (27), whose selected outcomes have \(\mathbb E[x/u]=\mathbb E[y/v]=\beta_d\), gives \(\mathrm{Re}(c_i/(uv))\ge2\beta_d-1\), and since \(|uv|=1\), \(|c_i|\ge2\beta_d-1\). For \(5\le d\le9\), adding single-outcome terms \(\ell_{d,j}+\ell_{d,k}\) restores positivity at the cost \(K_d(1-\beta_d)\) in the bound, giving \[|c_i|\ge\Delta_d=\frac{2h_d-K_d}{2+2h_d},\qquad h_d=\frac{\sin(\pi/d)}{\sqrt d}.\]

    Editorial check: the exact minimum of \(\mathrm{Re}(c/(uv))\) over all joint distributions with these marginals is a linear program in \(d^2\) variables. Its value matches the paper's table for every \(d\) from \(2\) to \(9\) to six digits, and the distance from zero to the allowed set of complex averages, the largest over directions of the smallest projection, equals the same number, so the certificate is optimal. At \(d=10\) the minimum is \(-0.0062\) and a zero average is feasible, which is the sharpness statement of Appendix C.5.

    How to reuse it

    Certificates built from a pair function plus single-outcome corrections give exact bounds on correlations of couplings with fixed marginals, a linear-programming duality that applies to other noncontextuality and Bell-type tests with complex or multi-valued labels.

  2. A vanishing quantum product against a factorized classical product

    Independence makes the classical prediction a product of single-source numbers, so it vanishes only if one factor vanishes. A quantum state for which the joint average is exactly zero, and stays zero under noise, then contradicts every model in which each factor is bounded away from zero.

    For a product state \(\rho^{\otimes N}\) and \(A=X^{\otimes N}\), \(B=Y^{\otimes N}\), the quantum value is \(C=\mathrm{Tr}(\rho^{\otimes N}AB)=\bigl(\mathrm{Tr}\,\rho XY\bigr)^N\). The phase \(e^{i(\pi/2-\pi/d)}\) in \(\ket{\psi_d}\) makes the two cross terms of \(\langle\psi_d|XY|\psi_d\rangle\) cancel. Cyclicity and \(XY=\omega^{-1}YX\) give \(\mathrm{Tr}(XY)=\omega\,\mathrm{Tr}(XY)\), so \(\mathrm{Tr}(XY)=0\) and the depolarized state \(t\ket{\psi_d}\bra{\psi_d}+(1-t)I/d\) still gives \(C=0\). Classically \(C=\prod_ic_i\), and the noisy marginals give \(|c_i|\ge(2+K_d)t\beta_d-(1+K_d)\), positive for \[t>t_d^{\rm crit}=\frac{1+K_d}{(2+K_d)\beta_d}.\]

    Editorial check: for the explicit qutrit vector \((-\omega,2\omega,2)/3\) with \(Y=XZ\), a direct computation gives norm \(1\), \(\langle XY\rangle=0\) to machine precision, and probability \(7/9\) for the selected eigenvalue of each of \(X\) and \(Y\), matching \(\beta_3=2/3\). The thresholds are \(1/\sqrt2\) for qubits and \(3/4\) for qutrits.

    How to reuse it

    Testing a factorized classical prediction against an exactly vanishing quantum one is a general design for network tests with independent sources, for example in tests of network nonlocality or in certifying that a joint measurement is genuinely entangling.

Source: Sec. II (Eqs. (2)–(10)); Sec. IV (Eqs. (15)–(20)); Sec. V (Eqs. (21)–(30)); Sec. VI (Eqs. (32)–(40)); Sec. VIII (Eqs. (44)–(48)). Based on the linked paper version. Derivations marked as editorial, and suggested uses in other problems, are editorial guidance rather than results of the paper.

Context & limitations

Why it matters. The result shows that the failure of independent-source value assignments for unentangled systems is not special to binary outcomes, and it gives an explicit, checkable inequality for each dimension up to nine. It also isolates the assumption at stake: the same data admit a noncontextual model once the sources may be correlated, so the conflict is between noncontextuality and source independence.

Limitations. The classical bound shrinks rapidly, from \(0.172\) at \(d=2\) and \(0.037\) at \(d=3\) to about \(3\times10^{-17}\) at \(d=9\), so only the lowest dimensions are experimentally meaningful, and a finite-statistics analysis is not given. Measurements are assumed ideal, cases with \(N=md\) sources only repeat the basic test, and the inequality uses one average of the joint distribution. The range \(d\le9\) is sharp only for this preparation and certificate. The acknowledgements state that OpenAI Codex assisted with language editing, LaTeX preparation and numerical consistency checks.

Description based on the full arXiv HTML of v1, read 2026-11-29: Secs. I–IX (the two-qubit argument, the experiment and model, the d-outcome construction, the positivity certificates, explicit states, the probability inequality and noise thresholds, the discussion) and the acknowledgements; Appendices A–F were read in outline. Editorial checks: for each d from 2 to 12, a linear program over all joint distributions with the marginals of Eq. (27) gives a minimum of Re(c/(uv)) equal to the paper's Delta_d (0.414214, 0.333333, 0.261204, 0.140518, 0.100314, 0.066774, 0.027962, 0.014629 for d = 2 to 9), and the distance from zero to the allowed set of complex averages equals the same value; for d = 10, 11, 12 a zero average is feasible, as stated in Appendix C.5. The explicit qutrit state of Eq. (41) is normalized, gives <XY> = 0, and has probability 7/9 for the selected outcome of each measurement, as Eq. (27) predicts with beta_3 = 2/3. The thresholds of Eq. (48) give 0.7071 and 0.75 for d = 2 and 3.