Skip to main content
KetQat

Appearance

Definition · intermediate

Category

A collection of objects and of morphisms between them, with an associative composition and identity morphisms. Examples used in quantum theory are sets and functions, finite-dimensional Hilbert spaces and linear maps, and Hilbert spaces with completely positive maps.

Established definitionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

A category C\mathbf{C} consists of

  • a collection of objects A,B,C,…A, B, C, \dots;
  • for every pair of objects a collection C(A,B)\mathbf{C}(A, B) of morphisms f:A→Bf : A \to B;
  • for every f:A→Bf : A \to B and g:B→Cg : B \to C a composite g∘f:A→Cg \circ f : A \to C;
  • for every object an identity idA:A→A\mathrm{id}_A : A \to A,

such that composition is associative, h∘(g∘f)=(h∘g)∘fh \circ (g \circ f) = (h \circ g) \circ f, and unital, f∘idA=f=idB∘ff \circ \mathrm{id}_A = f = \mathrm{id}_B \circ f, for all composable f,g,hf, g, h. A morphism f:A→Bf : A \to B is an isomorphism if some g:B→Ag : B \to A has g∘f=idAg \circ f = \mathrm{id}_A and f∘g=idBf \circ g = \mathrm{id}_B. The opposite category Cop\mathbf{C}^{\mathrm{op}} has the same objects and a morphism B→AB \to A for each f:A→Bf : A \to B, composed in the reverse order.

Examples:

  • Set\mathbf{Set}: sets and functions.
  • FdHilb\mathbf{FdHilb}: finite-dimensional complex Hilbert spaces and linear maps; isomorphisms are invertible linear maps. This is the category in which pure-state quantum mechanics and the ZX-calculus are interpreted.
  • CPM\mathbf{CPM}: finite-dimensional Hilbert spaces with completely positive maps between their operator spaces; quantum channels are the trace-preserving morphisms.
  • Rel\mathbf{Rel}: sets and relations, a frequent "toy" model in categorical quantum mechanics.
  • A group is a category with one object in which every morphism is an isomorphism.

The definitions are those of chapter I of Mac Lane; the quantum examples are developed in Heunen and Vicary.

Mentions
Part of
Stated in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Saunders Mac Lane (1978). Categories for the Working Mathematician. Springer New York (Graduate Texts in Mathematics 5). doi:10.1007/978-1-4757-4721-8
  2. Chris Heunen, Jamie Vicary (2019). Categories for Quantum Theory. Oxford University Press. doi:10.1093/oso/9780198739623.001.0001

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Axioms (associativity, unit laws), isomorphisms, opposite category and the examples (Set, FdHilb, CPM with channels as trace-preserving maps, Rel, one-object groupoid = group) checked against the standard definitions; the same axioms are restated in Selinger, 'Dagger compact closed categories and completely positive maps' (author-hosted PDF, sec. 2) for the monoidal/dagger setting. Mac Lane and Heunen-Vicary are not openly readable; Crossref metadata of both match. Standard textbook material, independently checked.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e

Current revision 7a4a79bbb869c65d. Source file knowledge/records/definition/category.md in the content repository (readable there once it is public).