Solution
= Solution
For each position $i$, Alice uses $y_i$ to choose a basis and $x_i$ to choose a vector in that basis. Explicitly, she sends the <qubit>
$$
|\psi_i\rangle=H^{y_i}|x_i\rangle.
$$
\b[Thus $y_i=0$ uses the <computational basis> $\{|0\rangle,|1\rangle\}$, while $y_i=1$ uses the <Hadamard basis> $\{|+\rangle,|-\rangle\}$.]