Finite-dimensional Hilbert spaces form a dagger compact category
With the unnormalised Bell state as cup and its adjoint as cap, finite-dimensional Hilbert spaces satisfy the snake equations, and sliding a map through the cup transposes it. These two identities are the content of teleportation, gate teleportation and entanglement swapping in categorical form.
Established resultMachine-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.
Let the cup be η=∣Ω⟩:C→A⊗A and the cap be
ε=⟨Ω∣:A⊗A→C. Then:
Snake equations.(⟨Ω∣⊗I)(I⊗∣Ω⟩)=I and
(I⊗⟨Ω∣)(∣Ω⟩⊗I)=I as maps A→A.
Transpose trick. For every linear map f:A→A,
(I⊗f)∣Ω⟩=(fT⊗I)∣Ω⟩.
Dagger compactness.ε=η†, and η=σ∘η for the swap
σ; with the Hermitian adjoint as dagger, (FdHilb,⊗,C) is a dagger
compact category.
With the normalised Bell state ∣Φ+⟩=∣Ω⟩/d, item 1 says that
projecting systems 1 and 2 of ∣ψ⟩1∣Φ+⟩23 onto ∣Φ+⟩12 leaves
∣ψ⟩ on system 3, with probability amplitude 1/d: the postselected branch of
teleportation. The other outcomes differ by a Pauli
(or Weyl–Heisenberg) operator U on the cap, which by item 2 moves through the wire as a
transposed correction on the output. This is the abstract analysis of
Abramsky and Coecke; the axiomatics are those of
Selinger, and diagrammatic treatments are in
Coecke and Kissinger.
Holds when
A=Cd with a fixed orthonormal basis {∣i⟩}i=1d, used to identify A with its dual; ∣Ω⟩=∑i∣i⟩∣i⟩∈A⊗A (not normalised); transpose is taken in this basis.
Dagger compactness. The Hermitian adjoint reverses composition, fixes identities, is
involutive and satisfies (f⊗g)†=f†⊗g†; it is the identity on objects.
The swap σ(∣a⟩∣b⟩)=∣b⟩∣a⟩ is unitary, and with the standard
identifications (A⊗B)⊗C=A⊗(B⊗C) and C⊗A=A the
associators and unitors are identities, hence unitary. The cap is the adjoint of the cup by
definition, ε=⟨Ω∣=∣Ω⟩†, and σ∣Ω⟩=∣Ω⟩
because ∣Ω⟩ is symmetric, so ε=η†∘σ as the axiom requires
(here A∗ is identified with A through the basis). Together with item 1 this verifies the
axioms of a dagger compact category as stated by Selinger.
Claude (AI drafting assistant)Writing, original draft (CRediT roles)
Review history
Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)
Re-derived in components: both snake equations for |Omega> = sum_i |ii>, the transpose trick (I (x) f)|Omega> = (f^T (x) I)|Omega>, epsilon = eta^dag and sigma eta = eta (so epsilon = eta^dag sigma as in the dagger-compact axiom of Selinger 2007, Def. 2.6, author-hosted PDF), and the teleportation reading (projection onto Phi+ on systems 1,2 leaves psi on system 3 with amplitude 1/d). Crossref metadata of Abramsky-Coecke 2004, Selinger 2007 and Coecke-Kissinger 2017 match.
Revision history
2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
Current revision 02e8acd7ac342a82. Source file knowledge/records/theorem/snake-equations-in-hilbert-spaces.md in the content repository (readable there once it is public).