How do you show that if $|\langle \psi|\phi\rangle| = 1$, then $\phi$ and $\psi$, both of dimension $d$, represent the same quantum state?
(Same quantum state iff there exists a $\theta$ s.t. $|\psi\rangle = e^{i\theta}|\phi\rangle$)
I've tried doing given
$|\langle \psi|\phi\rangle| = 1$
$$\Leftrightarrow \left|\sum_{k=0}^{d-1}{\psi_{k}\phi_{k}}\right| = 1$$
$$\Leftrightarrow \left|\exp(i\theta)\sum_{k=0}^{d-1}{\psi_{k}\phi_{k}}\right| = 1 $$
for any $\theta \in \mathbb{R}$, but couldn't go much further.
Best Answer
Hint: use Cauchy–Schwarz inequality.