Skip to main content
KetQat

Appearance

Theorem · intermediate

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\eta = \ket{\Omega} : \C \to A \otimes A and the cap be ε=⟨Ω∣:A⊗A→C\varepsilon = \bra{\Omega} : A \otimes A \to \C. Then:

  1. Snake equations. (⟨Ω∣⊗I)(I⊗∣Ω⟩)=I(\bra{\Omega} \otimes I)(I \otimes \ket{\Omega}) = I and (I⊗⟨Ω∣)(∣Ω⟩⊗I)=I(I \otimes \bra{\Omega})(\ket{\Omega} \otimes I) = I as maps A→AA \to A.
  2. Transpose trick. For every linear map f:A→Af : A \to A, (I⊗f)∣Ω⟩=(fT⊗I)∣Ω⟩(I \otimes f)\ket{\Omega} = (f^{T} \otimes I)\ket{\Omega}.
  3. Dagger compactness. ε=η†\varepsilon = \eta\dagg, and η=σ∘η\eta = \sigma \circ \eta for the swap σ\sigma; with the Hermitian adjoint as dagger, (FdHilb,⊗,C)(\mathbf{FdHilb}, \otimes, \C) is a dagger compact category.

With the normalised Bell state ∣Φ+⟩=∣Ω⟩/d\ket{\Phi^{+}} = \ket{\Omega}/\sqrt{d}, item 1 says that projecting systems 1 and 2 of ∣ψ⟩1∣Φ+⟩23\ket{\psi}_1 \ket{\Phi^{+}}_{23} onto ∣Φ+⟩12\ket{\Phi^{+}}_{12} leaves ∣ψ⟩\ket{\psi} on system 3, with probability amplitude 1/d1/d: the postselected branch of teleportation. The other outcomes differ by a Pauli (or Weyl–Heisenberg) operator UU 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=CdA = \C^{d} with a fixed orthonormal basis {∣i⟩}i=1d\{\ket{i}\}_{i=1}^{d}, used to identify AA with its dual; ∣Ω⟩=∑i∣i⟩∣i⟩∈A⊗A\ket{\Omega} = \sum_{i} \ket{i}\ket{i} \in A \otimes A (not normalised); transpose is taken in this basis.

Proof

Proof that finite-dimensional Hilbert spaces form a dagger compact categoryMachine-checked

Snake equations. By linearity it suffices to evaluate on a basis vector ∣k⟩\ket{k}:

(⟨Ω∣⊗I)(I⊗∣Ω⟩)∣k⟩=(⟨Ω∣⊗I)∑j∣k⟩∣j⟩∣j⟩=∑i,j⟨i∣k⟩⟨i∣j⟩ ∣j⟩=∑jδjk∣j⟩=∣k⟩.(\bra{\Omega} \otimes I)(I \otimes \ket{\Omega})\ket{k} = (\bra{\Omega} \otimes I) \sum_{j} \ket{k}\ket{j}\ket{j} = \sum_{i, j} \braket{i}{k}\braket{i}{j}\, \ket{j} = \sum_{j} \delta_{jk} \ket{j} = \ket{k} .

The second equation is the same computation with the roles of the first and third tensor factors exchanged: (I⊗⟨Ω∣)(∣Ω⟩⊗I)∣k⟩=∑i,j∣j⟩⟨j∣i⟩⟨i∣k⟩=∣k⟩(I \otimes \bra{\Omega})(\ket{\Omega} \otimes I)\ket{k} = \sum_{i,j} \ket{j}\braket{j}{i}\braket{i}{k} = \ket{k}.

Transpose trick. With fji=⟨j∣f∣i⟩f_{ji} = \bra{j} f \ket{i},

(I⊗f)∣Ω⟩=∑i∣i⟩⊗f∣i⟩=∑i,jfji ∣i⟩∣j⟩,(fT⊗I)∣Ω⟩=∑jfT∣j⟩⊗∣j⟩=∑i,j(fT)ij ∣i⟩∣j⟩,(I \otimes f)\ket{\Omega} = \sum_{i} \ket{i} \otimes f\ket{i} = \sum_{i, j} f_{ji}\, \ket{i}\ket{j}, \qquad (f^{T} \otimes I)\ket{\Omega} = \sum_{j} f^{T}\ket{j} \otimes \ket{j} = \sum_{i, j} (f^{T})_{ij}\, \ket{i}\ket{j} ,

and (fT)ij=fji(f^{T})_{ij} = f_{ji}, so the two vectors are equal.

Dagger compactness. The Hermitian adjoint reverses composition, fixes identities, is involutive and satisfies (f⊗g)†=f†⊗g†(f \otimes g)\dagg = f\dagg \otimes g\dagg; it is the identity on objects. The swap σ(∣a⟩∣b⟩)=∣b⟩∣a⟩\sigma(\ket{a}\ket{b}) = \ket{b}\ket{a} is unitary, and with the standard identifications (A⊗B)⊗C=A⊗(B⊗C)(A \otimes B) \otimes C = A \otimes (B \otimes C) and C⊗A=A\C \otimes A = A the associators and unitors are identities, hence unitary. The cap is the adjoint of the cup by definition, ε=⟨Ω∣=∣Ω⟩†\varepsilon = \bra{\Omega} = \ket{\Omega}\dagg, and σ∣Ω⟩=∣Ω⟩\sigma\ket{\Omega} = \ket{\Omega} because ∣Ω⟩\ket{\Omega} is symmetric, so ε=η†∘σ\varepsilon = \eta\dagg \circ \sigma as the axiom requires (here A∗A^{*} is identified with AA through the basis). Together with item 1 this verifies the axioms of a dagger compact category as stated by Selinger.

Builds on
Related
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. 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. Bob Coecke, Aleks Kissinger (2017). Picturing Quantum Processes. Cambridge University Press. doi:10.1017/9781316219317

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)

    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

  1. 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).