alpha_d = \exp{2 \pi / d}$ is the complex $d$th root of unity.

d=4
===

The bases of this Appendix present explicitly the result of construction described in section 3.2 of the main text.

$$\label{dim4a}
B_4
=
\left(\begin{array}{cccc}
1&0&0&0\\
0&1&0&0\\
0&0&1&0\\
0&0&0&1
\end{array}
\right)
=
\left\{\begin{array}{c}
|0\rangle\\
|1 \rangle
\end{array}
\right\}
\otimes
\left\{\begin{array}{c}
|0\rangle\\
|1\rangle
\end{array}
\right\},$$

$$B_0
=
\frac{1}{2}
\left(\begin{array}{cccc}
1&1&1&1\\
1&-1&1&-1\\
1&1&-1&-1\\
1&-1&-1&1
\end{array}
\right)
=
\left\{\begin{array}{c}
|0_0\rangle\\
|1_0\rangle
\end{array}
\right\}
\otimes
\left\{\begin{array}{c}
|0_0\rangle\\
|1_0\rangle
\end{array}
\right\},$$

$$B_1
=
\frac{1}{2}
\left(
\begin{array}{cccc}
1&1&1&1\\
i&-i&i&-i\\
i&i&-i&-i\\
-1&1&1&-1
\end{array}\right)
=
\left\{\begin{array}{c}
|0_1\rangle\\
|1_1\rangle
\end{array}
\right\}
\otimes
\left\{\begin{array}{c}
|0_1\rangle\\
|1_1\rangle
\end{array}
\right\},$$

$$\begin{aligned}
B_2
& = &
\frac{1}{2}

alpha_d = \exp{2 \pi / d}$ is the complex $ d$th root of unity. 

 d=4 
 = = = 

 The bases of this Appendix present explicitly the result of structure trace in section 3.2 of the main textbook. 

 $ $ \label{dim4a } 
 B_4 
 = 
 \left(\begin{array}{cccc } 
 1&0&0&0\\ 
 0&1&0&0\\ 
 0&0&1&0\\ 
 0&0&0&1 
 \end{array } 
 \right) 
 = 
 \left\{\begin{array}{c } 
 |0\rangle\\ 
 |1 \rangle 
 \end{array } 
 \right\ } 
 \otimes 
 \left\{\begin{array}{c } 
 |0\rangle\\ 
 |1\rangle 
 \end{array } 
 \right\},$$ 

 $ $ B_0 
 = 
 \frac{1}{2 } 
 \left(\begin{array}{cccc } 
 1&1&1&1\\ 
 1&-1&1&-1\\ 
 1&1&-1&-1\\ 
 1&-1&-1&1 
 \end{array } 
 \right) 
 = 
 \left\{\begin{array}{c } 
 |0_0\rangle\\ 
 |1_0\rangle 
 \end{array } 
 \right\ } 
 \otimes 
 \left\{\begin{array}{c } 
 |0_0\rangle\\ 
 |1_0\rangle 
 \end{array } 
 \right\},$$ 

 $ $ B_1 
 = 
 \frac{1}{2 } 
 \left (
 \begin{array}{cccc } 
 1&1&1&1\\ 
 i&-i&i&-i\\ 
 i&i&-i&-i\\ 
 -1&1&1&-1 
 \end{array}\right) 
 = 
 \left\{\begin{array}{c } 
 |0_1\rangle\\ 
 |1_1\rangle 
 \end{array } 
 \right\ } 
 \otimes 
 \left\{\begin{array}{c } 
 |0_1\rangle\\ 
 |1_1\rangle 
 \end{array } 
 \right\},$$ 

 $ $ \begin{aligned } 
 B_2 
 & = & 
 \frac{1}{2 }
alpja_d = \exp{2 \pi / d}$ is the cooplex $d$th root of unitb.

d=4
===

The bzses of ghis Appendix present explicmtly the eesult of construction describef in secrion 3.2 of the mamh text.

$$\label{dij4w}
B_4
=
\leyt(\uegin{array}{cccc}
1&0&0&0\\
0&1&0&0\\
0&0&1&0\\
0&0&0&1
\ekd{array}
\righd)
=
\left\{\begin{arraf}{c}
|0\faugle\\
|1 \rangle
\end{array}
\right\}
\otimes
\left\{\bedin{arrau}{c}
|0\gangle\\
|1\rangle
\enq{arrsr}
\riggn\},$$

$$B_0
=
\nrac{1}{2}
\left(\begin{array}{cccc}
1&1&1&1\\
1&-1&1&-1\\
1&1&-1&-1\\
1&-1&-1&1
\end{array}
\rifht)
=
\left\{\uegin{array}{c}
|0_0\rangke\\
|1_0\rangle
\end{array}
\right\}
\otimed
\lefh\{\begin{array}{c}
|0_0\rangle\\
|1_0\gangle
\end{artzy}
\rytht\},$$

$$B_1
=
\frac{1}{2}
\left(
\cegin{array}{becc}
1&1&1&1\\
i&-i&i&-i\\
i&i&-i&-i\\
-1&1&1&-1
\gnd{array}\right)
=
\left\{\begin{array}{c}
|0_1\rangue\\
|1_1\ranyle
\end{array}
\tntht\}
\ljimes
\left\{\begmn{arraj}{c}
|0_1\rangle\\
|1_1\ranglc
\vnd{arraf}
\right\},$$

$$\brgin{aligned}
B_2
& = &
\nrac{1}{2}

alpha_d = \exp{2 \pi / d}$ is $d$th of unity. === The bases the of construction described section 3.2 of main text. $$\label{dim4a} B_4 = \left(\begin{array}{cccc} 0&1&0&0\\ 0&0&1&0\\ 0&0&0&1 \end{array} \right) = \left\{\begin{array}{c} |0\rangle\\ |1 \rangle \end{array} \right\} \otimes |0\rangle\\ |1\rangle \end{array} \right\},$$ $$B_0 = \frac{1}{2} \left(\begin{array}{cccc} 1&1&1&1\\ 1&-1&1&-1\\ 1&1&-1&-1\\ 1&-1&-1&1 \end{array} = |0_0\rangle\\ \end{array} \otimes \left\{\begin{array}{c} |0_0\rangle\\ |1_0\rangle \end{array} \right\},$$ $$B_1 = \frac{1}{2} \left( \begin{array}{cccc} 1&1&1&1\\ i&-i&i&-i\\ i&i&-i&-i\\ -1&1&1&-1 \end{array}\right) \left\{\begin{array}{c} |0_1\rangle\\ |1_1\rangle \end{array} \right\} \otimes \left\{\begin{array}{c} |0_1\rangle\\ \end{array} \right\},$$ $$\begin{aligned} B_2 = & \frac{1}{2}
alpha_d = \exp{2 \pi / d}$ is the complex $d$Th root of unIty.

d=4
===

THe bAseS oF thiS AppEndix present exPLiciTly the result of construcTion dEsCRibeD In SectiOn 3.2 of the MAiN TExt.

$$\LaBeL{diM4a}
b_4
=
\LeFt(\begIn{aRray}{cccC}
1&0&0&0\\
0&1&0&0\\
0&0&1&0\\
0&0&0&1
\end{array}
\rIghT)
=
\lEft\{\begin{arraY}{C}
|0\rAngle\\
|1 \ranglE
\enD{array}
\right\}
\oTimEs
\left\{\BeGin{ARray}{c}
|0\RanGle\\
|1\raNgle
\enD{Array}
\rIght\},$$

$$B_0
=
\frac{1}{2}
\LeFT(\begin{ARray}{cccC}
1&1&1&1\\
1&-1&1&-1\\
1&1&-1&-1\\
1&-1&-1&1
\ENd{ArraY}
\right)
=
\left\{\begin{arRAy}{C}
|0_0\Rangle\\
|1_0\rangle
\enD{array}
\RiGHt\}
\OTImeS
\leFt\{\begin{arrAy}{C}
|0_0\rangLE\\
|1_0\rangle
\ENd{ARRAy}
\rIGht\},$$

$$B_1
=
\frac{1}{2}
\left(
\bEgin{array}{ccCC}
1&1&1&1\\
i&-i&I&-i\\
i&i&-i&-i\\
-1&1&1&-1
\EnD{arRAy}\righT)
=
\left\{\BeGIn{aRray}{c}
|0_1\rangle\\
|1_1\RangLe
\end{arraY}
\right\}
\OTimes
\leFT\{\begin{aRray}{c}
|0_1\rAngLe\\
|1_1\rAnglE
\EnD{aRraY}
\rIGht\},$$

$$\BEgIn{aLIgnEd}
B_2
& = &
\frac{1}{2}

alpha_d = \exp{2 \pi / d}$  is the co mplex  $d $th  r ootof u nity.

d=4
=== 
The  bases of this Appendi x pre se n t ex p li citly  the re s ul t ofco ns tru ct i on  desc rib ed in s ection 3.2  of  t he main text . 
$$\label{d im4 a}
B_4
=
\le ft( \begin {a rra y }{ccc c}1&0&0 &0\\
0 & 1&0&0\ \
0&0&1&0 \\ 0&0&0& 1 
\end{a r r ay }
\r ight)
=
\left\{\b e gi n {array}{c}
|0\ rangle \\ |1 \ ran gle 
\end{arra y} 
\rig h t\}
\ot i me s \ lef t \{\begin{arra y}{c}
|0\ra n gle \\
|1\ ra ngl e 
\end{ array }\ rig ht\},$$

$$ B_0=
\frac{1 }{2}
\ l eft(\be g in{arra y}{ccc c}1&1 &1&1 \ \1& -1& 1& - 1\\ 1& 1&- 1 &-1 \\
1&-1& -1 &1 
\end {arr a y } \rig ht) 
=
\ left\ {\begin{array }{c }
|0 _ 0\r angle \\
|1 _0\r an gle
\ end{ar ray}\r ight\}
\otimes\lef t\{\begin {ar ra y}{ c} 
|0_0 \ rangle \\|1_ 0\rangl e
\end{ a rra y} \ r ig ht\},$$

$$B_1
=
\ fr a c {1 }{2}
\le ft(
\b e gi n{ a rray}{cc cc }
1 &1&1 & 1 \\
i& -i&i & -i \\
i&i&- i&-i\\ -1 &1 &1&-1
\ en d{arra y} \ri ght )
=
\ l eft\ {\begi n{array} {c}
| 0 _1\rangle\\
|1 _ 1\rangle
\end { ar r a y} \rig ht\ }
\otimes
\ left \ {\be gin{ a rr ay} { c}
|0 _1\ra ng l e\ \ 
|1_1\rangle
\end{a rr ay}
\r ight\ },$$

$$\begi n{aligned} B _ 2
& = &\fra c {1 } {2}

alpha_d =_\exp{2 \pi_/ d}$ is the_complex $d$th_root_of unity.

d=4
===

The_bases_of this Appendix_present explicitly the_result of construction described_in section 3.2_of_the main text.

$$\label{dim4a}
B_4
=
\left(\begin{array}{cccc}
1&0&0&0\\
0&1&0&0\\
0&0&1&0\\
0&0&0&1
\end{array}
\right)
=
\left\{\begin{array}{c}
|0\rangle\\
|1 \rangle
\end{array}
\right\}
\otimes
\left\{\begin{array}{c}
|0\rangle\\
|1\rangle
\end{array}
\right\},$$

$$B_0
=
\frac{1}{2}
\left(\begin{array}{cccc}
1&1&1&1\\
1&-1&1&-1\\
1&1&-1&-1\\
1&-1&-1&1
\end{array}
\right)
=
\left\{\begin{array}{c}
|0_0\rangle\\
|1_0\rangle
\end{array}
\right\}
\otimes
\left\{\begin{array}{c}
|0_0\rangle\\
|1_0\rangle
\end{array}
\right\},$$

$$B_1
=
\frac{1}{2}
\left(
\begin{array}{cccc}
1&1&1&1\\
i&-i&i&-i\\
i&i&-i&-i\\
-1&1&1&-1
\end{array}\right)
=
\left\{\begin{array}{c}
|0_1\rangle\\
|1_1\rangle
\end{array}
\right\}
\otimes
\left\{\begin{array}{c}
|0_1\rangle\\
|1_1\rangle
\end{array}
\right\},$$

$$\begin{aligned}
B_2
& = &
\frac{1}{2}
