Fix a finite-dimensional quantum system. An ontological model consists of a measurable space of ontic states and
- for each preparation of a state , a probability measure on ;
- for each measurement with outcomes , response functions with for every ,
such that the model reproduces quantum statistics: for every preparation and every measurement with effects . Following Harrigan and Spekkens:
- The model is -ontic if for every pair of distinct pure states (as rays) the measures and have disjoint supports (more precisely, are mutually singular), so that the ontic state determines the quantum state. Otherwise it is -epistemic: some ontic states are compatible with two different pure states, and the quantum state is at least partly a state of knowledge.
- The model is Kochen–Specker noncontextual for projective measurements if each is -valued (outcome determinism) and the response to a projector is the same in every measurement (orthonormal basis or complete set of orthogonal projectors) that contains (Kochen and Specker). Spekkens generalised noncontextuality to preparations, transformations and unsharp measurements without assuming determinism.
A local hidden-variable model of a Bell experiment is the special case in which is shared by separated parties and each party's response depends only on its own setting. The review of Leifer collects the theorems that constrain ontological models.