arXiv · 2609.17294
ConteXtuAlity: an open source Python package for contextuality
Abstract
We present an open source Python package, ConteXtuAlity, for computing various quantities related to contextuality. This package features an interface to the sheaf-theoretic framework for contextuality, providing an implementation of measurement scenarios and empirical models as well as linear programs to compute the contextual fraction and the signalling fraction. In this work, we demonstrate the package's features and give examples of its use. We also provide benchmarks, demonstrating how performances scale with the size of measurement scenarios. The package is designed for both experienced theorists and newcomers to the field of contextuality alike, with an emphasis on flexibility and extensibility.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Vallée Kim. 2026-09-15. ConteXtuAlity: an open source Python package for contextuality. https://arxiv.org/abs/2609.17294
Cite the original work for its findings. Save a collection to share your selection of sources.