Skip to main content
KetQat

Appearance

Proof · intermediate

Proof that finite-dimensional Hilbert spaces form a dagger compact category

Direct computation on basis vectors for the snake equations and the transpose trick; the remaining dagger-compact axioms follow from properties of the adjoint and the swap.

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.

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.

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

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)

    Proof checked line by line against theorem/snake-equations-in-hilbert-spaces (both snake equations, transpose trick, swap invariance of Omega, epsilon = eta^dagger); snake equations and transpose trick confirmed numerically for d = 3 with a random complex f; the dagger-compact axiom epsilon_A^dagger = sigma o eta_A compared with Selinger (2007) Definition 2.6 (author's open PDF from mathstat.dal.ca).

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 c15ccc69a952e17a. Source file knowledge/records/proof/snake-equations-in-hilbert-spaces.md in the content repository (readable there once it is public).