Skip to main content
KetQat

Appearance

Definition · advanced

Dagger compact category

A symmetric monoidal category with an involutive contravariant dagger on morphisms and, for every object, a cup and a cap obeying the snake equations, related by the dagger. Finite-dimensional Hilbert spaces form the motivating example; the cup is the Bell state and the snake equations encode teleportation.

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 dagger on a category is a contravariant functor †\dagger that is the identity on objects and involutive: each f:A→Bf : A \to B has f†:B→Af\dagg : B \to A with (g∘f)†=f†∘g†(g \circ f)\dagg = f\dagg \circ g\dagg, idA†=idA\mathrm{id}_A\dagg = \mathrm{id}_A and f††=ff^{\dagger\dagger} = f. A morphism is unitary if f†=f−1f\dagg = f^{-1}.

A symmetric monoidal category is compact closed if every object AA has a dual object A∗A^{*} with morphisms ηA:I→A∗⊗A\eta_A : I \to A^{*} \otimes A (the cup) and εA:A⊗A∗→I\varepsilon_A : A \otimes A^{*} \to I (the cap) satisfying the snake equations

(εA⊗idA)∘(idA⊗ηA)=idA,(idA∗⊗εA)∘(ηA⊗idA∗)=idA∗,(\varepsilon_A \otimes \mathrm{id}_A) \circ (\mathrm{id}_A \otimes \eta_A) = \mathrm{id}_A, \qquad (\mathrm{id}_{A^{*}} \otimes \varepsilon_A) \circ (\eta_A \otimes \mathrm{id}_{A^{*}}) = \mathrm{id}_{A^{*}},

with associators and unitors suppressed. In string diagrams these say that a wire bent into an S shape can be pulled straight. A dagger compact category is a symmetric monoidal category with a dagger such that (f⊗g)†=f†⊗g†(f \otimes g)\dagg = f\dagg \otimes g\dagg, the associators, unitors and swap are unitary, and every object has a cup and a cap with εA=ηA†∘σA,A∗\varepsilon_A = \eta_A\dagg \circ \sigma_{A, A^{*}} — the cap is the dagger of the cup, read in the other order.

In FdHilb\mathbf{FdHilb}, the dagger is the Hermitian adjoint, A∗A^{*} is the dual space (identified with AA via a chosen basis {∣i⟩}\{\ket{i}\} when convenient), the cup is the unnormalised maximally entangled state ∑i∣i⟩∣i⟩\sum_i \ket{i}\ket{i} and the cap is ∑i⟨i∣⟨i∣\sum_i \bra{i}\bra{i}. Bending a wire turns a map into its transpose, and the snake equations are the algebraic core of teleportation: Abramsky and Coecke used this structure to give an abstract account of teleportation and entanglement swapping. The axioms in the form above follow Selinger, who also showed that the completely positive maps form a dagger compact category built from any dagger compact category; the coherence theory of compact closed categories goes back to Kelly and Laplaza. A textbook account is Heunen and Vicary.

Part of
Stated in
Related

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. Samson Abramsky, Bob Coecke (2004). A categorical semantics of quantum protocols. Proceedings of the 19th Annual IEEE Symposium on Logic in Computer Science, 415-425. doi:10.1109/LICS.2004.1319636arXiv:quant-ph/0402130
  2. Peter Selinger (2007). Dagger Compact Closed Categories and Completely Positive Maps. Electronic Notes in Theoretical Computer Science 170, 139-163. doi:10.1016/j.entcs.2006.12.018
  3. G. M. Kelly, M. L. Laplaza (1980). Coherence for compact closed categories. Journal of Pure and Applied Algebra 19, 193-213. doi:10.1016/0022-4049(80)90101-2
  4. 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)

    Compared with Selinger, 'Dagger compact closed categories and completely positive maps' (ENTCS 170, author-hosted PDF): compact closure with eta_A : I -> A* (x) A, epsilon_A : A (x) A* -> I and the two snake equations (sec. 2.1), dagger category (Def. 2.2), unitary maps (Def. 2.3), dagger symmetric monoidal category with (f (x) g)^dag = f^dag (x) g^dag and unitary structure maps (Def. 2.4), the compatibility of epsilon with eta^dag and the swap (Def. 2.6, Eq. 3, credited there to Abramsky-Coecke), and the CPM construction (paper's main result). Re-checked typing of both snake equations and the FdHilb cup/cap. Crossref metadata of all four references match.

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 75453c24959a3d06. Source file knowledge/records/definition/dagger-compact-category.md in the content repository (readable there once it is public).