Skip to main content
added 23 characters in body
Source Link
J.G.
  • 25.4k
  • 2
  • 40
  • 70

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, you need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Edit: in the comments below, @KurtG. has noted the alternative (which is to multiply $|q\rangle$ by $+i$) $$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|1\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$ which works the same way.

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, you need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Edit: @KurtG. has noted the alternative (which is to multiply $|q\rangle$ by $+i$) $$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|1\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$ which works the same way.

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, you need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Edit: in the comments below, @KurtG. has noted the alternative (which is to multiply $|q\rangle$ by $+i$) $$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|1\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$ which works the same way.

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, yoiuyou need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Edit: @KurtG. has noted the alternative$$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|0\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$ (which is to multiply $|q\rangle$ by $+i$) $$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|1\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$ which works the same way.

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, yoiu need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Edit: @KurtG. has noted the alternative$$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|0\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$which works the same way.

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, you need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Edit: @KurtG. has noted the alternative (which is to multiply $|q\rangle$ by $+i$) $$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|1\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$ which works the same way.

added 179 characters in body
Source Link
J.G.
  • 25.4k
  • 2
  • 40
  • 70

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, yoiu need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Edit: @KurtG. has noted the alternative$$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|0\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$which works the same way.

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, yoiu need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Your parameterization assumes we rescale $|q\rangle$ by a unit complex factor so $\langle q|0\rangle\ge0$. In this case, yoiu need to multiply by $-i$ first. So you actually want to solve $\cos\frac{\theta}{2}=\frac{1}{\sqrt{2}},\,e^{i\phi}\sin\frac{\theta}{2}=\frac{-i}{\sqrt{2}}$. I leave you to solve that.

Edit: @KurtG. has noted the alternative$$\tfrac{i}{\sqrt{2}}|0\rangle+\tfrac{1}{\sqrt{2}}|0\rangle=i\cos\tfrac{\theta}{2}|0\rangle+ie^{i\phi}\sin\tfrac{\theta}{2}|1\rangle,$$which works the same way.

Source Link
J.G.
  • 25.4k
  • 2
  • 40
  • 70
Loading