304 From the pair to quaternions, the disc, and information

This section continues B1–B146 and cites only them. The step that made the complex numbers from the reals is repeated twice, giving quaternions and octonions. The unit quaternions give spin. The Laplacian and the hyperbolic disc are built, not assumed. Then entropy, relative entropy, Fisher information and their quantum forms are derived from counting.

304.1 One step, repeated: \(\mathbb R,\mathbb C,\mathbb H,\mathbb O\)

B147 (the doubling step). Let \(A\) have a sum, a product and a conjugate \(a\mapsto \bar a\) (for the reals, \(\bar a=a\)). On pairs (B3) put

\begin{equation} (a,b)(c,d)=(ac-\bar d\,b,\ da+b\,\bar c),\qquad \overline {(a,b)}=(\bar a,\,-b). \tag{19663}\end{equation}
For \(A=\mathbb R\) this is \((ac-bd,\ ad+bc)\) with \(\overline {(a,b)}=(a,-b)\): the complex numbers of B24 and B25. Nothing new enters: the pair and the swap are B3, the sign is the swap of a difference pair (B12), and the conjugate is the sign on the second place (B25). The doubling step is these three branches of the source, applied again.

step result keeps loses
\(\mathbb R\to \mathbb C\) pairs of reals commutative, associative, norm the order (\(i^2=-1<0\))
\(\mathbb C\to \mathbb H\) pairs of complex numbers associative, norm commutativity (B148)
\(\mathbb H\to \mathbb O\) pairs of quaternions norm associativity (B150)

B148 (quaternions). \(\mathbb H\) is the pairs \((a,b)\) of complex numbers with B147. Send \((a,b)\) to the array \(\begin {pmatrix}a&b\\-\bar b&\bar a\end {pmatrix}\). Multiplying two such arrays gives first row \((ac-b\bar d,\ ad+b\bar c)\), which is B147 for commuting entries. So the product of \(\mathbb H\) is composition of arrays:

Swapping the two factors gives the negative: again the swap is the sign (B12).

B149 (unit quaternions and spin). The quaternions with \(N(q)=1\) form a group (B148), the sphere \(a\bar a+b\bar b=1\) in \(\mathbb R^4\). Their arrays have orthonormal rows and determinant \(1\): this is \(SU(2)\). A path \(q(t)\) in it through \(1\) has \(\dot q+\overline {\dot q}=0\) at \(t=0\) (differentiate \(q\bar q=1\), B96), so \(\dot q\) is a combination of \(\mathbf i,\mathbf j,\mathbf k\). Put

\begin{equation} J_x=-\tfrac i2\mathbf k,\qquad J_y=-\tfrac i2\mathbf j,\qquad J_z=-\tfrac i2\mathbf i . \tag{19664}\end{equation}
From \(\mathbf k\mathbf j=-\mathbf i\), \(\mathbf j\mathbf i=-\mathbf k\), \(\mathbf i\mathbf k=-\mathbf j\) (B148),
\begin{equation} [J_x,J_y]=iJ_z\ \text { and cyclically},\qquad [J_z,J_\pm ]=\pm J_\pm ,\quad [J_+,J_-]=2J_z . \tag{19665}\end{equation}
These are the relations of B75, which then gives \(j\in \{0,\tfrac 12,1,\dots \}\), dimension \(2j+1\) and \(J^2=j(j+1)\). Spin is derived from the second doubling of the pair.

B150 (octonions). \(\mathbb O\) is the pairs of quaternions with B147. Its norm \(N(a)+N(b)\) is multiplicative and its product is not associative; both are checked by expanding B147 on basis elements (placed). After this step the norm is no longer multiplicative, so the sequence \(\mathbb R,\mathbb C,\mathbb H,\mathbb O\) ends here (placed).

304.2 The Laplacian and the disc

B151 (the Laplacian comes from the least energy). For \(u\) on a region with fixed boundary values put \(E[u]=\tfrac 12\int (u_x^2+u_y^2)\). Vary \(u\mapsto u+s\eta \) with \(\eta =0\) on the boundary. By B98 and Stokes (B67),

\begin{equation} \frac {dE}{ds}\Big |_0=\int (u_x\eta _x+u_y\eta _y)=-\int \eta \,(u_{xx}+u_{yy}), \tag{19666}\end{equation}
so by the lemma of B104, \(E\) is stationary exactly when \(\Delta u=u_{xx}+u_{yy}=0\). In a metric, \(E=\tfrac 12\int \sqrt {|g|}\,g^{ab}\partial _au\,\partial _bu\) gives \(\Delta _g=\frac 1{\sqrt {|g|}}\partial _a\bigl (\sqrt {|g|}g^{ab}\partial _b\bigr )\) (B115). For \(g=\Omega ^2(dx^2+dy^2)\) in two dimensions, \(\sqrt {|g|}g^{ab}=\delta ^{ab}\): the energy does not see \(\Omega \), and
\begin{equation} \Delta _g=\Omega ^{-2}\Delta . \tag{19667}\end{equation}

B152 (the disc and its metric come from a group). The disc is \(\{z\in \mathbb C\mid N(z)<1\}\) (B26), with boundary \(S^1\) (B28). For complex \(a,b\) with \(N(a)-N(b)=1\) put \(f(z)=\dfrac {az+b}{\bar bz+\bar a}\). Expanding with B26,

\begin{equation} |\bar bz+\bar a|^2-|az+b|^2=\bigl (N(a)-N(b)\bigr )(1-|z|^2),\qquad f'(z)=\frac {N(a)-N(b)}{(\bar bz+\bar a)^2}, \tag{19668}\end{equation}
so
\begin{equation} 1-|f(z)|^2=\frac {1-|z|^2}{|\bar bz+\bar a|^2},\qquad \frac {|f'(z)|}{1-|f(z)|^2}=\frac 1{1-|z|^2}. \tag{19669}\end{equation}
These maps take the disc to itself, form a group, and move \(0\) to any point \(b/\bar a\). A metric \(\Omega (z)^2(dx^2+dy^2)\) is unchanged by all of them exactly when \(\Omega (f(z))|f'(z)|=\Omega (z)\), and by the second equation this forces
\begin{equation} \Omega (z)=\frac {c}{1-|z|^2}. \tag{19670}\end{equation}
Take \(c=2\). The pairs \((a,b)\) with \(N(a)-N(b)=1\) are the unit quaternions of B149 with one sign changed.

B153 (its curvature is \(-1\)). For \(g=\Omega ^2\delta \) and \(\varphi =\log \Omega \), B105 gives \(\Gamma ^1_{11}=\varphi _1\), \(\Gamma ^1_{12}=\varphi _2\), \(\Gamma ^1_{22}=-\varphi _1\), \(\Gamma ^2_{22}=\varphi _2\), \(\Gamma ^2_{12}=\varphi _1\), \(\Gamma ^2_{11}=-\varphi _2\). By B107,

\begin{equation} R^1{}_{212}=-\varphi _{11}-\varphi _{22}+(-\varphi _1^2+\varphi _2^2)-(\varphi _2^2-\varphi _1^2)=-\Delta \varphi , \tag{19671}\end{equation}
so by B108, \(K=R_{1212}/\det g=-\Omega ^{-2}\Delta \log \Omega \). With \(f(r)=\log (1-r^2)\) and \(\Delta f=f''+f'/r\),
\begin{equation} \Delta f=\frac {-2-2r^2}{(1-r^2)^2}-\frac {2(1-r^2)}{(1-r^2)^2}=-\frac 4{(1-r^2)^2},\qquad K=-\frac {(1-r^2)^2}4\cdot \frac 4{(1-r^2)^2}=-1 . \tag{19672}\end{equation}
By B151 its harmonic functions are those of \(\Delta \), and B70 fills the disc from \(S^1\).

304.3 Entropy, relative entropy, Fisher information

B154 (the logarithm integrates). \(\log \) is the inverse of \(e^x\) (B43), so \(\log '(x)=1/x\) (B38). Then \((x\log x-x)'=\log x\) and \(\int _1^n\log =n\log n-n+1\) (B65). Since \(\log \) increases, \(\int _1^n\log \leq \sum _{k=2}^n\log k\leq \int _1^{n+1}\log \):

\begin{equation} \log n!=n\log n-n+O(\log n). \tag{19673}\end{equation}

B155 (entropy is the growth of a count). The rows of length \(n\) with \(n_i=np_i\) marks of kind \(i\) number \(n!/\prod n_i!\) (B10). By B154,

\begin{equation} \frac 1n\log \frac {n!}{\prod _in_i!}\to -\sum _ip_i\log p_i=H(p),\qquad H(p)\leq \log r\ \text {(B80)}. \tag{19674}\end{equation}

B156 (relative entropy is the cost of the wrong weights). Draw rows with weights \(q_i\). The weight of all rows with counts \(n_i=np_i\) is \(\frac {n!}{\prod n_i!}\prod q_i^{np_i}\), and by B155

\begin{equation} \frac 1n\log \Bigl (\frac {n!}{\prod n_i!}\prod _iq_i^{np_i}\Bigr )\to -\sum _ip_i\log \frac {p_i}{q_i}=-D(p\Vert q). \tag{19675}\end{equation}
By \(\log x\leq x-1\) (B43), \(-D(p\Vert q)\leq \sum p_i(q_i/p_i-1)=0\), with equality only for \(p=q\).

B157 (Fisher information is the curvature of \(D\)). For \(p_\theta \) with continuous derivatives, \(\sum p\,\partial \log p=\partial \sum p=0\) and \(\sum p\,\partial ^2\log p=-\sum p(\partial \log p)^2\). Expanding \(\log p_{\theta +h}\) to second order,

\begin{equation} D(p_\theta \Vert p_{\theta +h})=\tfrac 12g_F\,h^2+O(h^3),\qquad g_F=\sum _ip_i(\partial _\theta \log p_i)^2 . \tag{19676}\end{equation}
For a coin \(p=(\theta ,1-\theta )\): \(g_F=\frac 1{\theta (1-\theta )}\), least at \(\theta =\tfrac 12\), where it is \(4\).

B158 (Fisher geometry is a sphere). With \(p_i=y_i^2\), \(\sum y_i^2=1\), and \(\partial p_i=2y_i\partial y_i\),

\begin{equation} g_F=4\sum _i(\partial y_i)^2 : \tag{19677}\end{equation}
four times the round metric of the unit sphere, in the square roots of the probabilities.

B159 (Cramér–Rao). From \(\sum (a_it+b_i)^2\geq 0\) for all \(t\): \((\sum a_ib_i)^2\leq \sum a_i^2\sum b_i^2\). If \(\sum p_\theta T=\theta \), differentiating gives \(\sum p\,(\partial \log p)(T-\theta )=1\), and with \(a=\sqrt p\,\partial \log p\), \(b=\sqrt p(T-\theta )\),

\begin{equation} \mathrm {Var}(T)\geq \frac 1{g_F}. \tag{19678}\end{equation}

304.4 The quantum forms

B160 (quantum relative entropy). A state is a Hermitian \(\rho \) on \(\mathbb C^n\) with eigenvalues \(\geq 0\) and trace \(1\); \(\log \rho =\sum \log p_iP_i\) (B75). Put \(S(\rho \Vert \sigma )=\mathrm {Tr}\,\rho (\log \rho -\log \sigma )\). With eigenvectors \(|i\rangle \), \(|j\rangle \), values \(p_i\), \(q_j\) and \(w_{ij}=|\langle i|j\rangle |^2\) (rows and columns of \(w\) sum to \(1\)),

\begin{equation} S(\rho \Vert \sigma )=\sum _{i,j}w_{ij}\,p_i\log \frac {p_i}{q_j}\geq \sum _{i,j}w_{ij}(p_i-q_j)=0 \tag{19679}\end{equation}
by B43. If \(\rho \) and \(\sigma \) commute, \(w\) is a permutation and this is \(D(p\Vert q)\) of B156.

B161 (quantum Fisher information). For unit vectors \(\psi _\theta \): \(\mathrm {Re}\langle \psi |\psi '\rangle =0\) and \(\mathrm {Re}\langle \psi |\psi ''\rangle =-\langle \psi '|\psi '\rangle \). Expanding,

\begin{equation} 1-|\langle \psi _\theta |\psi _{\theta +h}\rangle |^2=\tfrac 14F_Q\,h^2+O(h^3),\qquad F_Q=4\bigl (\langle \psi '|\psi '\rangle -|\langle \psi |\psi '\rangle |^2\bigr ). \tag{19680}\end{equation}
For real amplitudes \(\psi =y\) this is \(4\sum (\partial y_i)^2\): the classical \(g_F\) of B158. For \(\psi _\theta =e^{-i\theta G}\psi _0\) with \(G\) Hermitian, \(\psi '=-iG\psi \) (B75, B38), so
\begin{equation} F_Q=4\bigl (\langle G^2\rangle -\langle G\rangle ^2\bigr ). \tag{19681}\end{equation}

B162 (a check on one qubit). \(\psi _\theta =\tfrac 1{\sqrt 2}(1,e^{i\theta })\), \(G=\mathrm {diag}(0,1)\): \(\langle G\rangle =\langle G^2\rangle =\tfrac 12\), so \(F_Q=1\). Measuring along \(\tfrac 1{\sqrt 2}(1,\pm 1)\) gives \(p_\pm =\tfrac 12(1\pm \cos \theta )\), and

\begin{equation} g_F=\frac {(\partial p_+)^2}{p_+p_-}=\frac {\sin ^2\theta /4}{\sin ^2\theta /4}=1=F_Q . \tag{19682}\end{equation}
That no measurement gives \(g_F>F_Q\) is placed (Braunstein–Caves).

304.5 The chain

links result from
B147–B150 doubling; \(\mathbb H\); unit quaternions; spin; \(\mathbb O\) the pair, swap and sign (B3, B12, B24)
B151–B153 Laplacian; disc; invariant metric; \(K=-1\) B67, B104, B26, B105, B107
B154–B156 \(\log n!\); entropy; relative entropy B43, B65, B10
B157–B159 Fisher information; sphere; Cramér–Rao B156
B160–B162 quantum relative entropy; quantum Fisher; qubit check B75, B43, B38