  Formalizations of quantum information theory in category theory and type
theory, for the design of verifiable quantum programming languages, need to
express its two fundamental characteristics: (1) parameterized linearity and
(2) metricity. The first is naturally addressed by dependent-linearly typed
languages such as Proto-Quipper or, following our recent observations: Linear
Homotopy Type Theory (LHoTT). The second point has received much attention
(only) in the form of semantics in "dagger-categories", where operator adjoints
are axiomatized but their specification to Hermitian adjoints still needs to be
imposed by hand.
  We describe a natural emergence of Hermiticity which is rooted in principles
of equivariant homotopy theory, lends itself to homotopically-typed languages
and naturally connects to topological quantum states classified by twisted
equivariant KR-theory. Namely, we observe that when the complex numbers are
considered as a monoid internal to Z/2-equivariant real linear types, via
complex conjugation, then (finite-dimensional) Hilbert spaces do become
self-dual objects among internally-complex Real modules.
  The point is that this construction of Hermitian forms requires of the
ambient linear type theory nothing further than a negative unit term of tensor
unit type. We observe that just such a term is constructible in LHoTT, where it
interprets as an element of the infinity-group of units of the sphere spectrum,
tying the foundations of quantum theory to homotopy theory. We close by
indicating how this allows for encoding (and verifying) the unitarity of
quantum gates and of quantum channels in quantum languages embedded into LHoTT.
