Submitted:
28 July 2025
Posted:
29 July 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Mathematical Preliminaries
2.1. Hilbert Space, Contexts, and Empirical Models
2.2. Umegaki Relative Entropy as Divergence Measure
2.3. Sheaf-Theoretic View of Noncontextuality and Divergence
2.4. Categorical Framework and Classical Structures
3. Quantifying Contextuality Locally and Globally
3.1. Optimal Classical Approximations in Each Context
- (the true outcome probability) and from .
- , .
- is the classical KL.
- is the weighted quantum divergence: it vanishes if is block-diagonal (so each ), and otherwise each coherence in contributes a positive term.
3.2. Consistency on Overlaps and Contextual Obstruction
- Optimal local shadows. In each context C, is the best classical approximation—it reproduces exactly the Born-rule probabilities of and any rival model must deviate somewhere or incur greater divergence.
- A quantitative glue for contexts. By framing the search for a global model aswe measure exactly how badly the local pieces fail to glue and identify the “closest” noncontextual model. Although can not match all of ’s statistics when is contextual, it is the best compromise—the nearest point in to the true quantum empirical model.
3.3. Born Rule as the Unique Variational Solution
- the projector constraints and (approximate) global consistency (),
- minimisation of the total relative entropy .
4. Transition and Update Rules for Changing Contexts
- 1.
- Overlap consistency: .
- 2.
- Minimal perturbation: deviates as little as possible from ρ.
6. Worked Analytical Examples
6.1. Single qubit in complementary contexts
6.2. Two-qubit Mermin–Peres magic square
| Row 2 | Row 3 | Row 3 | |
|---|---|---|---|
| Col 1 | |||
| Col 2 | |||
| Col 3 |
6.3. Qutrit Kochen–Specker (18-vector) set
6.4. Three-qubit GHZ paradox
6.5. Numerical Illustration: Contextuality vs. Entanglement in the Magic-Square Cover
- Contexts. We use the standard Mermin–Peres square: three “row” MASAs , , and three “column” MASAs , , .
- Joint probabilities. For each context C and each , we computewhere projects onto the joint eigenspace of the two commuting Pauli generators with eigenvalues .
- Contextuality proxy.** As a proof-of-concept, we definei.e., the sum of per-context Kullback–Leibler divergences between each joint distribution and the product of its one-marginals. By construction for product states and increases with inter-observable correlations.
- Sweep & plot. We sampled at 60 evenly spaced points in , computed and , and plotted one against the other.
- Although is only a proxy for the true global cost , it already captures the hallmark trend: no entanglement ⇒ no contextual correlations; more entanglement ⇒ more contextuality cost.
- Replacing the product-of-marginals by the exact noncontextual assignments (via a small convex program) yields the rigorous , which will follow the same monotonic shape but sit uniformly above .
- This numerical demonstration reinforces our variational framework: entanglement is a resource for contextuality, with the latter rising smoothly as one “turns on” quantum correlations in the magic-square cover.
6.6. Take-aways
- Complementarity (Ex. 6.1) shows that the variational principle reduces to ordinary dephasing when contexts do not overlap.
- Magic-square contextuality (Ex. 6.2) demonstrates how Born-rule weights can be locally optimal yet globally obstructed.
- State-independent KS (Ex. 6.3) underlines that the obstruction can survive every possible state, emphasizing the lattice, not the state.
- GHZ paradox (Ex. 6.4) illustrates maximal contextual “distance” and provides a benchmark where the entropy-of-contextuality attains its upper bound.
- Two-qubit magic-square simulation (Ex. 6.5) tracks a proxy contextuality cost versus entanglement, confirming that contextual divergence grows monotonically with entanglement.
7. Philosophical Reverberations
- From axiom to rule-of-reason. Elevating the Born formula from a postulate to the unique minimizer of an information-geometric variational problem anchors quantum probability in the same rational-update logic that underlies classical Bayesian inference. As with Jaynes’ maximum-entropy principle, the “dice” nature seems to disappear; we merely adopt the least-disturbing classical portrait that any context allows. In this light the trace rule becomes a *normative* prescription on agents confronted with incompatible frames, resonating with the subjective-Bayesian spirit of QBism yet grounded in an objective optimization over state space [48].
- Relational ontology made precise. Rovelli’s relational quantum mechanics asserts that physical quantities obtain values only relative to an interaction, not in vacuo [27]. Our framework realises that creed mathematically: a density matrix has meaning only inside a maximal abelian sub-algebra; probabilities are coordinates in that chart. No “view from nowhere” survives, because a global, chart-independent distribution is blocked by the Čech cocycle of contextuality.
- Contextuality as intrinsic curvature. Abramsky and Brandenburger first cast contextuality as the obstruction to a global section of a measurement sheaf [19]. We show that this obstruction is not merely logical but metric: the bundle of classical charts is twisted in such a way that any attempt to flatten it incurs a strictly positive entropy cost. In analogy with gauge theory, where curvature measures the failure of local trivializations to mesh, contextuality is the “field strength" of quantum probability. Philosophers who argue that gauge potentials encode real holism rather than surplus structure will recognise the parallel [49,50], [philsci-archive.pitt.edu][6]).
- Epistemic–ontic unification. The same relative-entropy functional that tells an observer how to compress her expectations also quantifies the ontic impossibility of a non-contextual hidden-variable model. Hence the epistemic (agent-centred) and ontic (world-centred) aspects of quantum theory are not two realms but two facets of one geometric object. Spekkens’ operational contextuality criterion—originally couched in ontological-model language—fits seamlessly into this picture when rephrased as a distance to the non-contextual polytope [51].
- Non-classicality hierarchies converge. Work equating Wigner-function negativity with contextuality suggests that many signatures of “quantumness" are different cuts of the same topological cloth [52]. By deriving probabilities from a divergence to the non-contextual set, our framework subsumes negativity, entanglement phases and measurement incompatibility into a single resource metric—hinting at a unified taxonomy of quantum resources.
- Rehabilitating structural realism. If properties exist only as chart-dependent relational structures, then what is real are precisely those structural relations—class-to-class transition maps and their curvature. This echoes the structural realist stance that takes morphisms, not objects, as primitive. Quantum foundations thus align with modern philosophy of science, where laws manifest as constraints on possible relational structures rather than as intrinsic traits of isolated systems.
- Prospects for a gauge-theoretic language of measurement. Viewing Born-rule assignment as a choice of local gauge, while contextuality plays the role of curvature, opens the door to exporting the rich toolkit of fibre-bundle mathematics into quantum foundations. Categories, connections and holonomies may become the natural dialect for future debates about “where the weirdness lives,” replacing the venerable but limited particle–wave and ontology–epistemology binaries.
8. Conclusion
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| CPTP | Completely positive, trace-preserving (map) |
| POVM | Positive operator-valued measure |
| MASA | Maximal Abelian self-adjoint algebra (measurement context) |
| RQM | Relational quantum mechanics |
| RQD | Relational quantum dynamics |
| Umegaki relative entropy (quantum Kullback–Leibler divergence) | |
| Quantum Jensen–Shannon divergence | |
| Classical state space for context C (diagonal density operators) | |
| Conditional expectation (dephasing) of onto context C | |
| Contextual integrated-information potential (global divergence) | |
| Weight assigned to context C in the sum defining | |
| Born vs. classical (approximate) probability distributions in context C |
Appendix A. Degenerate & POVM Contexts Survive Naimark Dilation
Appendix A.1. Preliminaries and Notation
Appendix A.2. KL–projection with fixed POVM statistics
Appendix A.3. Quantum Jeffrey update between POVM contexts
Appendix A.4. Global contextuality divergence
Appendix A.5. Degenerate projectors
Appendix B. Rigorous Variational Proof (Finite-Context Setting)
Appendix B.1. Setting and notation
- Hilbert space: .
- Density matrix: .
- Contexts: a finite family .
- Each is a rank-1 PVM with .
- Born distributions: for all .
- Decision variables: a tuple with .
- Weights: and .
- Objective:
Appendix B.2. Existence of a minimizer
Appendix B.3. Uniqueness via strict convexity
Appendix B.4. Characterization by KKT conditions
Appendix B.5. Informational completeness and reconstruction of ρ
References
- Born, M. Zur Quantenmechanik der Stoßvorgänge. Zeitschrift für Physik 1926, 37, 863–867. [Google Scholar] [CrossRef]
- Dirac, P.A.M. The Principles of Quantum Mechanics; Clarendon Press: Oxford, UK, 1930. [Google Scholar] [CrossRef]
- Neumaier, A. The Born Rule–100 Years Ago and Today. Entropy 2025, 27, 415. [Google Scholar] [CrossRef]
- Gleason, A.M. Measures on the Closed Subspaces of a Hilbert Space. Journal of Mathematics and Mechanics 1957, 6, 885–893. [Google Scholar] [CrossRef]
- Budroni, C.; Cabello, A.; Gühne, O.; Kleinmann, M.; Åke Larsson, J. Kochen–Specker contextuality. Reviews of Modern Physics 2022, 94, 045007. [Google Scholar] [CrossRef]
- Kochen, S.; Specker, E.P. The Problem of Hidden Variables in Quantum Mechanics. Journal of Mathematics and Mechanics 1967, 17, 59–87. [Google Scholar] [CrossRef]
- Zurek, W.H. Environment-assisted invariance, entanglement, and probabilities in quantum physics. Physical Review Letters 2003, 90, 120404. [Google Scholar] [CrossRef] [PubMed]
- Zurek, W.H. Probabilities from entanglement, Born’s rule from envariance. Physical Review A 2005, 71, 052105. [Google Scholar] [CrossRef]
- Schlosshauer, M.; Fine, A. On Zurek’s derivation of the Born rule, 2003, [arXiv:quant-ph/quant-ph/0312058]. [CrossRef]
- Deutsch, D. Quantum Theory of Probability and Decisions. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences 1999, 455, 3129–3137. [Google Scholar] [CrossRef]
- Wallace, D. The Emergent Multiverse: Quantum Theory According to the Everett Interpretation; Oxford University Press: Oxford, UK, 2012. [Google Scholar] [CrossRef]
- Wallace, D. A formal proof of the Born rule from decision-theoretic assumptions, 2009, [arXiv:quant-ph/0906.2718]. [CrossRef]
- Das Gupta, P. Born Rule and Finkelstein–Hartle Frequency Operator Revisited, 2011, [arXiv:quant-ph/1105.4499]. [CrossRef]
- Caves, C.M.; Fuchs, C.A.; Schack, R. Unknown quantum states: The quantum de Finetti representation. Journal of Mathematical Physics 2002, 43, 4537–4559. [Google Scholar] [CrossRef]
- Busch, P. Quantum States and Generalized Observables: A Simple Proof of Gleason’s Theorem. Phys. Rev. Lett. 2003, 91, 120403. [Google Scholar] [CrossRef]
- Hardy, L. Quantum Theory From Five Reasonable Axioms, 2001, [arXiv:quant-ph/quant-ph/0101012]. Preprint.
- Chiribella, G.; D’Ariano, G.M.; Perinotti, P. Informational derivation of quantum theory. Phys. Rev. A 2011, 84, 012311. [Google Scholar] [CrossRef]
- Shimony, A. Contextual hidden-variables theories and Bell’s inequalities. British Journal for the Philosophy of Science 1984, 35, 25–45. [Google Scholar] [CrossRef]
- Abramsky, S.; Brandenburger, A. The Sheaf-Theoretic Structure of Non-Locality and Contextuality. New Journal of Physics 2011, 13, 113036. [Google Scholar] [CrossRef]
- Carù, G. On the Cohomology of Contextuality. arXiv preprint arXiv:1701.00656 2017.
- Abramsky, S.; Mansfield, S.; Barbosa, R.S. The Cohomology of Non-Locality and Contextuality. In Proceedings of the Proceedings of the 8th International Workshop on Quantum Physics and Logic (QPL 2011); Jacobs, B.; Selinger, P.; Spitters, B., Eds., 2012, Vol. 95, Electronic Proceedings in Theoretical Computer Science, pp. 1–14. [CrossRef]
- Raussendorf, R. Putting paradoxes to work: contextuality in measurement-based quantum computation, 2022, [arXiv:quant-ph/arXiv:2208.06624].
- Grudka, A.; Horodecki, K.; Horodecki, M.; Horodecki, P.; Horodecki, R.; Joshi, P.; Kłobus, W.; Wójcik, A. Quantifying contextuality. Phys. Rev. Lett. 2014, 112, 120401. [Google Scholar] [CrossRef]
- Hiai, F.; Petz, D. The proper formula for relative entropy and its asymptotics in quantum probability. Communications in Mathematical Physics 1991, 143, 99–114. [Google Scholar] [CrossRef]
- Csiszár, I. I-Divergence Geometry of Probability Distributions and Minimization Problems. Annals of Probability 1975, 3, 146–158. [Google Scholar] [CrossRef]
- Virosztek, D. The metric property of the quantum Jensen-Shannon divergence. Advances in Mathematics 2021, 380, 107595. [Google Scholar] [CrossRef]
- Rovelli, C. Relational Quantum Mechanics. International Journal of Theoretical Physics 1996, 35, 1637–1678. [Google Scholar] [CrossRef]
- Rovelli, C. Relational Quantum Mechanics. In The Stanford Encyclopedia of Philosophy, Spring 2025 ed.; Zalta, E.N.; Nodelman, U., Eds.; Metaphysics Research Lab, Stanford University, 2025.
- Zaghi, A. Integrated Information in Relational Quantum Dynamics (RQD). Applied Sciences 2025, 15, 7521. [Google Scholar] [CrossRef]
- Heunen, C. Categories and Quantum Informatics: Monoidal Categories. Lecture notes, University of Edinburgh, 2018. Accessed: 2025-06-11.
- Heunen, C.; Vicary, J. Categorical Quantum Mechanics: An Introduction. Lecture notes, Department of Computer Science, University of Oxford, 2019.
- Fine, A. Hidden Variables, Joint Probability, and the Bell Inequalities. Phys. Rev. Lett. 1982, 48, 291–295. [Google Scholar] [CrossRef]
- Umegaki, H. Conditional expectation in an operator algebra. IV. Entropy and information. Kodai Mathematical Seminar Reports 1962, 14, 59–85. [Google Scholar] [CrossRef]
- Nielsen, M.A.; Chuang, I.L. Quantum Computation and Quantum Information; Cambridge University Press: Cambridge, UK, 2000. [Google Scholar]
- Petz, D. Sufficient subalgebras and the relative entropy of states of a von Neumann algebra. Communications in Mathematical Physics 1986, 105, 123–131. [Google Scholar] [CrossRef]
- Abramsky, S.; Coecke, B. Categorical Quantum Mechanics. In Handbook of Quantum Logic and Quantum Structures; Engesser, K.; Gabbay, D.M.; Lehmann, D., Eds.; Elsevier, 2009; pp. 261–323. [CrossRef]
- Boyd, S.; Vandenberghe, L. Convex Optimization, 1st ed.; Cambridge University Press: Cambridge, UK, 2004. [Google Scholar]
- Donald, M.J. On the relative entropy. Communications in Mathematical Physics 1986, 105, 13–34. [Google Scholar] [CrossRef]
- Liu, Y. Consistency of Local Density Matrices Is QMA-Complete. In Proceedings of the Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2006). Springer, Berlin, Heidelberg, 2006, Vol. 4110, Lecture Notes in Computer Science, pp. 438–449. https://doi.org/10.1007/11830924_40. [CrossRef]
- Klyachko, A. Quantum marginal problem and representations of the symmetric group, 2004, [arXiv:quant-ph/quant-ph/0409113]. [CrossRef]
- Moakher, M. A Differential Geometric Approach to the Geometric Mean of Symmetric Positive-Definite Matrices. SIAM Journal on Matrix Analysis and Applications 2005, 26, 735–747. [Google Scholar] [CrossRef]
- Ji, Z. Classical and Quantum Iterative Optimization Algorithms Based on Matrix Legendre-Bregman Projections, 2022, [arXiv:quant-ph/arXiv:2209.14185]. [CrossRef]
- Bardet, I.; Capel, A.; Rouzé, C. Approximate Tensorization of the Relative Entropy for Noncommuting Conditional Expectations. Annales Henri Poincaré 2022, 23, 101–140. [Google Scholar] [CrossRef]
- Brièt, J.; Harremoës, P. Properties of classical and quantum Jensen–Shannon divergence. Phys. Rev. A 2009, 79, 052311. [Google Scholar] [CrossRef]
- La Cour, B.R. Quantum contextuality in the Mermin-Peres square: A hidden variable perspective, 2021, [arXiv:quant-ph/arXiv:2105.00940]. [CrossRef]
- Cabello, A.; Estebaranz, J.M.; García-Alcaine, G. Bell–Kochen–Specker theorem: A proof with 18 vectors. Physics Letters A 1996, 212, 183–187. [Google Scholar] [CrossRef]
- Ren, C.; Su, H.; Xu, Z.; Wu, C.; Chen, J. Optimal GHZ Paradox for Three Qubits. Scientific Reports 2015, 5, 13080. [Google Scholar] [CrossRef]
- Fuchs, C.A.; Mermin, N.D.; Schack, R. An Introduction to QBism with an Application to the Locality of Quantum Mechanics. American Journal of Physics 2014, 82, 749–754. [Google Scholar] [CrossRef]
- Healey, R. Gauge Theories and Holisms. Studies in History and Philosophy of Science Part B: Studies in History and Philosophy of Modern Physics 2004, 35, 619–642. [Google Scholar] [CrossRef]
- Rivat, S. Wait, Why Gauge? PhilSci-Archive preprint, 2023.
- Spekkens, R.W. Contextuality for preparations, transformations, and unsharp measurements. Phys. Rev. A 2005, 71, 052108. [Google Scholar] [CrossRef]
- Spekkens, R.W. Negativity and contextuality are equivalent notions of nonclassicality. Phys. Rev. Lett. 2008, 101, 020401. [Google Scholar] [CrossRef] [PubMed]
- Pellonpää, J.P.; Designolle, S.; Uola, R. Naimark dilations of qubit POVMs and joint measurements. Journal of Physics A: Mathematical and Theoretical 2023, 56, 155303. [Google Scholar] [CrossRef]
- Uhlmann, A. Relative entropy and the Wigner–Yanase–Dyson–Lieb concavity in an interpolation theory. Communications in Mathematical Physics 1977, 54, 21–32. [Google Scholar] [CrossRef]
- community, Q.C.S.E. Given a state ρ and operator 0 ≤ Λ ≤ I, what does ρ mean? Quantum Computing Stack Exchange Q&A, 2022. Accessed July 2025.
- Olivares, S.; Paris, M.G.A. Quantum estimation via minimum Kullback entropy principle. Phys. Rev. A 2007, 76, 042120. [Google Scholar] [CrossRef]
- Koßmann, G.; Schwonnek, R. Optimising the relative entropy under semi definite constraints – A new tool for estimating key rates in QKD, 2024, [arXiv:quant-ph/2404.17016]. [CrossRef]
- Fedida, S. Einstein causality of quantum measurements in the Tomonaga–Schwinger picture. arXiv preprint 2025, [arXiv:quant-ph/2506.14693]. [CrossRef]
- community, Q.C.S.E. Does Neumark’s/Naimark’s extension theorem only apply to rank-1 POVMs? Quantum Computing Stack Exchange Q&A, 2021. Question ID 26018, accessed July 26, 2025.
- community, Q.C.S.E. Characterise, via Naimark’s theorem, the POVM corresponding to a PVM in a dilated space. Quantum Computing Stack Exchange Q&A, 2021. Question ID 26029, accessed July 26, 2025.
- Singh, J.; Arvind; Goyal, S.K. Implementation of discrete positive operator valued measures on linear optical systems using cosine–sine decomposition. Phys. Rev. Research 2022, 4, 013007. [Google Scholar] [CrossRef]
- Pointer, T. A continuous function on a compact set is bounded and attains a maximum and minimum: “complex version” of the extreme value theorem? Mathematics Stack Exchange Q&A, 2019. Question ID 3493172, accessed July 26, 2025.

Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).