Skip to main content

Non-deterministic, Probabilistic, and Quantum Effects Through the Lens of Event Structures

  • Conference paper
  • First Online:
Programming Languages and Systems (APLAS 2024)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 15194))

Included in the following conference series:

  • 122 Accesses

Abstract

In this paper, we consider event structures and their probabilistic and quantum extensions as originally defined by Winskel. If these structures have already been part of sophisticated computational models, they have rarely been directly studied as an immediate model of execution traces of programs. This paper offers such an analysis. We propose a simple imperative operational framework and show how to derive soundness and adequacy results with event structures considered as a semantics. We show how event structures naturally handle non-deterministic, probabilistic and quantum effects.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    for any two events \(e_1, e_2 \in E\), \(e_1 \le e_2\) is read: \(e_2\) depends on \(e_1\).

  2. 2.

    \(e \# e^{\prime } \le e^{\prime \prime }\) is to be understood as \((e \# e^{\prime })\) and \((e^{\prime } \le e^{\prime \prime })\).

  3. 3.

    i.e. a configuration x is maximal iff \(\not \exists y \in \mathcal {C}(\textrm{E})\) such that \(x \subset y\).

  4. 4.

    sk is the label for the command skip.

  5. 5.

    The proper definition of the disjoint union is \(A \uplus B = \{(0,a) | a \in A\} \cup \{ (1,b) | b \in B \}\). For \(R,S \in A \times B\), the disjoint union extends to a relation as \((i,e) R \uplus S (i^{\prime },e^{\prime })\) whenever \(i=0=i'\) and \(e R e^{\prime }\) or \(i=1=i'\) and \(e S e^{\prime }\). For the sake of keeping the notations readable, we will keep the 0s and 1s implicit.

  6. 6.

    \({C}_1\, ||\, {C}_2\) being disjoint means that \({C}_1\) and \({C}_2\) do not share any qubit.

References

  1. Andersen, J., Elsborg, E., Henglein, F., Simonsen, J.G., Stefansen, C.: Compositional specification of commercial contracts. Int. J. Softw. Tools Technol. Transf. 8(6), 485–516 (2006). https://doi.org/10.1007/S10009-006-0010-1

  2. Baier, C., Kwiatkowska, M.: Domain equations for probabilistic processes (extended abstract). Electron. Notes Theor. Comput. Sci. 7, 34–54 (1997). https://doi.org/10.1016/S1571-0661(05)80465-7. https://www.sciencedirect.com/science/article/pii/S1571066105804657

  3. Castellan, S.: Weak memory models using event structures. In: Vingt-septièmes Journées Francophones des Langages Applicatifs (JFLA 2016) (2016)

    Google Scholar 

  4. Castellan, S.: Concurrent structures in game semantics. Bull. EATCS 123 (2017), http://eatcs.org/beatcs/index.php/beatcs/article/view/501

  5. Clairambault, P., de Visme, M., Winskel, G.: Game semantics for quantum programming. Proc. ACM Program. Lang. 3(POPL), 32:1–32:29 (2019). https://doi.org/10.1145/3290345

  6. Fernandes, V., de Visme, M., Valiron, B.: Non-deterministic, probabilistic, and quantum effects through the lens of event structures (technical report) (2024). https://arxiv.org/abs/2408.14563

  7. Milner, R.: Communication and Concurrency, vol. 84. Prentice Hall, New York (1989)

    Google Scholar 

  8. Nielsen, M.A., Chuang, I.L.: Quantum Computation and Quantum Information. Cambridge University Press, Cambridge (2000)

    Google Scholar 

  9. Paquet, H.: Probabilistic concurrent game semantics. Ph.D. thesis, University of Cambridge, UK (2020). https://doi.org/10.17863/CAM.61919, https://ethos.bl.uk/OrderDetails.do?uin=uk.bl.ethos.821543

  10. Reynolds, J.C.: Theories of Programming Languages. Cambridge University Press, Cambridge (1998)

    Google Scholar 

  11. Segala, R.: Modeling and verification of randomized distributed real-time systems. Ph.D. thesis, Massachusetts Institute of Technology (1995)

    Google Scholar 

  12. Sokolova, A., De Vink, E.P.: Probabilistic automata: system types, parallel composition and comparison. In: Validation of Stochastic Systems: A Guide to Current Research, pp. 1–43 (2004)

    Google Scholar 

  13. Varacca, D., Völzer, H., Winskel, G.: Probabilistic event structures and domains. Theor. Comput. Sci. 358(2–3), 173–199 (2006). https://doi.org/10.1016/J.TCS.2006.01.015

  14. Varacca, D., Winskel, G.: Distributing probability over non-determinism. Math. Struct. Comput. Sci. 16(1), 87–113 (2006)

    Article  MathSciNet  Google Scholar 

  15. Varacca, D., Yoshida, N.: Probabilistic pi-calculus and event structures. In: Aldini, A., van Breugel, F. (eds.) Proceedings of the Fifth Workshop on Quantitative Aspects of Programming Languages, QAPL 2007, Braga, Portugal, March 24-25, 2007. Electronic Notes in Theoretical Computer Science, vol. 190, pp. 147–166. Elsevier, Amsterdam (2007). https://doi.org/10.1016/J.ENTCS.2007.07.009

  16. de Visme, M.: Event structures for mixed choice. In: The 30th International Conference on Concurrency Theory (CONCUR 2019) (2019)

    Google Scholar 

  17. Winskel, G.: Event structure semantics for ccs and related languages. In: International Colloquium on Automata, Languages, and Programming, pp. 561–576. Springer, Berlin (1982)

    Google Scholar 

  18. Winskel, G.: An introduction to event structures. In: Workshop/School/Symposium of the REX Project (Research and Education in Concurrent Systems), pp. 364–397. Springer, Berlin (1988)

    Google Scholar 

  19. Winskel, G.: Probabilistic and quantum event structures. In: Horizons of the Mind. A Tribute to Prakash Panangaden, pp. 476–497. Springer, Berlin (2014)

    Google Scholar 

Download references

Acknowledgements

This work has been partially funded by the French National Research Agency (ANR) by the project RECIPROG ANR-21-CE48-0019, PPS ANR-19-CE48-0014, TaQC ANR-22-CE47-0012 and within the framework of “Plan France 2030”, under the research projects EPIQ ANR-22-PETQ-0007, OQULUS ANR-23-PETQ-0013, HQI-Acquisition ANR-22-PNCQ-0001 and HQI-R&D ANR-22-PNCQ-0002. This work is partially financed by National Funds through the Portuguese funding agency, FCT— Fundação para a Ciência e a Tecnologia, within project UIDB/50014/2020. DOI 10.54499/UIDB/50014/2020|https://doi.org/10.54499/uidb/50014/2020.

Disclosure of Interests. The authors have no competing interests to declare.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Vítor Fernandes .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2025 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Fernandes, V., Visme, M.d., Valiron, B. (2025). Non-deterministic, Probabilistic, and Quantum Effects Through the Lens of Event Structures. In: Kiselyov, O. (eds) Programming Languages and Systems. APLAS 2024. Lecture Notes in Computer Science, vol 15194. Springer, Singapore. https://doi.org/10.1007/978-981-97-8943-6_10

Download citation

  • DOI: https://doi.org/10.1007/978-981-97-8943-6_10

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-97-8942-9

  • Online ISBN: 978-981-97-8943-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics