English

The quantum instrument monad

Logic in Computer Science 2026-06-26 v1 Programming Languages Category Theory Quantum Physics

Abstract

Monads are a ubiquitous structure in functional programming used for modelling computational effects. For example, the state monad models the effect of a computation interacting with a memory system. Here we introduce the quantum instrument monad IA\mathcal{I}_\mathcal{A}, which models the effect of a computation interacting with a quantum system with algebra of observables A\mathcal{A}. It can be thought of as a noncommutative generalization of the state monad. We construct this quantum instrument monad in two versions: a finitary version on the category of sets and a measure-theoretic version on the category of measurable spaces (the latter under the assumption that A\mathcal{A} is a type I von Neumann algebra with separable predual). Both versions are strong monads. The construction of the measure-theoretic version is based on a new notion of integral of a quantum-operation-valued function against a state-valued measure.

Cite

@article{arxiv.2606.27805,
  title  = {The quantum instrument monad},
  author = {Tobias Fritz},
  journal= {arXiv preprint arXiv:2606.27805},
  year   = {2026}
}

Comments

28 pages. Independent work by Booth, Leichtle, Rice and Worrall develops a closely related construction in the Heisenberg picture. The two works provide complementary Schrödinger- and Heisenberg-picture formulations