Skip to content
DraconiticResearch
Search Sources API
197,768 studies31 sourcesUpdated 29 min ago
PreprintCC BY 4.0arXiv

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.

Related

  1. axionbloch: an Open-Source Python Package for Simulating Axion-Induced Spin Dynamics
    Yuzhe Zhang
    arXivPreprintCC BY 4.0Full textHigh-energy & particle physicsarXiv
  2. QwaveMPS: An efficient open-source Python package for simulating non-Markovian waveguide-QED using matrix product states
    Sofia Arranz Regidor, Matthew Kozma, Stephen Hughes
    QuantumPeer-reviewedCC BY 4.0Quantum physics & quantum informationQuantumCrossref
  3. The Python simulations of chemistry framework: 10 years of an open-source quantum chemistry project
    Qiming Sun, Matthew R. Hermes, Xiaojie Wu +97
    The Journal of Chemical PhysicsPeer-reviewedLicence not statedFull text22 citedAtomic, molecular & optical physicsOpenAlex
  4. SmoQyElPhQMC.jl: An open-source Julia package for efficient and scalable quantum Monte Carlo simulations of electron-phonon coupled models
    Benjamin Cohen-Stead, James Neuhaus, Kipton Barros +2
    arXivPreprintarXiv licenceFull textCondensed matterarXiv
  5. Omni-iEEG Planner: an open-source Python platform integrating multimodal neuroimaging and intracranial EEG data for epilepsy surgery research
    Yuta Tanoue, Masaki Izumi, Yipeng Zhang +8
    arXivPreprintCC BY-NC-ND 4.0Full textBiological & medical physicsarXiv
BibTeX
@misc{vallee2026contextuality,
  title = {{ConteXtuAlity: an open source Python package for contextuality}},
  author = {Kim Vallée},
  howpublished = {arXiv},
  year = {2026},
  month = sep,
  doi = {10.48550/arxiv.2609.17294},
  eprint = {2609.17294},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.17294},
  note = {CC BY 4.0},
}
RIS
TY  - UNPB
TI  - ConteXtuAlity: an open source Python package for contextuality
AU  - Kim Vallée
PY  - 2026
DA  - 2026/09/15
PB  - arXiv
DO  - 10.48550/arxiv.2609.17294
UR  - https://arxiv.org/abs/2609.17294
AB  - 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.
ER  -