« first day (731 days earlier)      last day (1495 days later) » 

6:09 AM
[ Boson ] New comment posted by HYW
Thank you very much! Now I understand the meaning of the "c" values. I am able to construct the circuit now. I will upload my solution too. — HYW 2 mins ago
 
6:34 AM
[ Boson ] New comment posted by Martin Vesely
As video encoding works with huge amount of information and there are quatum processors with only lower tens of qubits, such application seems impossible today. Moreover today quantum processors are too noisy. — Martin Vesely 2 mins ago
 
Nobody here?
 
 
1 hour later…
7:49 AM
[ Boson ] New comment posted by DaftWullie
But this is not what you're trying to use. Instead, you're trying to say that $\arccos(\sqrt{0.75})=\theta\pi$, and that $\theta$ has a binary expansion $0.\theta_1\theta_2\theta_2\ldots\theta_k$, which means that $\theta=\sum_i\theta_i/2^i$. So, if we can create individual phase rotations $e^{i\theta_j Z\pi/2^j}$, then those phases all add up to give what you need. Note that $e^{i Z\pi/2^j}$ is just a standard $Z$ rotation. The effect of the $\theta_j\in\{0,1\}$ can be implemented by use of a control ($\theta_j=0$ means don't do a rotation, $\theta_j=1$ means do the rotation. — DaftWullie 24 mins ago
 
 
2 hours later…
9:54 AM
[ Boson ] New comment posted by Martin Vesely
Nice answer. Just one question, why not to calculate an angle as $\theta = \arccos(2P(|0\rangle)-1)$ or $\theta = \arccos(1-2P(|1\rangle))$? I supposed you subtracted probabilities $P(|0\rangle)$ and $P(|1\rangle)$ from each other, right? — Martin Vesely 1 min ago
[ Boson ] New comment posted by WilliamYang
Thank you so much! You do help me a lot! — WilliamYang 13 mins ago
[ Boson ] New comment posted by DaftWullie
Do you have many copies of the state $|\phi\rangle$, or just one? Can you access them all at once, or do you have them just one at a time? — DaftWullie 19 mins ago
 
10:19 AM
[ Boson ] New comment posted by Davit Khachatryan
Thanks Martin. You are right. I will add also that expression to the equation in the answer. I think $P(0) - P(1)$ is a more easily understandable expression, so I will keep it :) — Davit Khachatryan 8 mins ago
[ Boson ] New comment posted by Davit Khachatryan
@WilliamYang in my answer for $\phi$ I assumed that we have many copies of the state $\phi$ (we can prepare them as many as we want). I will add this to my answer. — Davit Khachatryan 23 mins ago
 
10:44 AM
[ Boson ] New comment posted by glS
the TL;DR is that if you want to do quantum computation, you need to operate on quantum states. If you want to do use a quantum computer to process classical data, you thus need to have your classical data somehow encoded into a quantum state. How exactly you do this depends, but in general it's as simple as pretending that, say, an input 00 correspond to this quantum state, 01 to this other one, etc., and then perform your operations on the quantum states — glS 3 mins ago
[ Boson ] New comment posted by WilliamYang
Thank you Martin :) — WilliamYang 13 mins ago
 
11:34 AM
[ Boson ] New comment posted by Davit Khachatryan
@DaftWullie yes, you are right, I assume also that I have them one at a time. Interesting! Can you, please, share some info/links about how this improvement is achieved? — Davit Khachatryan 7 mins ago
[ Boson ] New comment posted by DaftWullie
@DavitKhachatryan but you also assumed you just get them one at a time. If you have them all at the same time, you can get a square root improvement I believe. — DaftWullie 22 mins ago
 
 
3 hours later…
2:29 PM
[ Boson ] New comment posted by Sam Palmer
my idea of using the linearity is that for each number represented in $\{0,1\}^K$ would only require one rotation for each, $k$, that is $|1 \rangle$ where each $\theta_i = \arrcos(2^{-k})$. — Sam Palmer 1 min ago
[ Boson ] New comment posted by DaftWullie
Yes, that's exactly what I'm proposing. — DaftWullie 5 mins ago
[ Boson ] New comment posted by Sam Palmer
but does this not still then require a gate of size $2^K$ to encode $\theta_i$ for all the binary basis states? as each state would require its own $\theta$, or are you proposing that there is also an $\arccos$ circuit implemented to calculate $\theta_i$ on the fly. — Sam Palmer 9 mins ago
 
2:54 PM
[ Boson ] New comment posted by DaftWullie
@DavitKhachatryan hmmm maybe it doesn't quite work being given just the state $|\phi\rangle$ as compared to having an oracle that applies the unknown phase. I thought I'd seen something like it before, but cannot instantly reconstruct anything that out-performs your answer. — DaftWullie 18 mins ago
[ Boson ] New comment posted by Sam Palmer
@DaftWullie I see :D, I will look into $\arccos$ circuits....I didn't realise how more involved this seemingly 'simple' rotation R would be! — Sam Palmer 24 mins ago
 

« first day (731 days earlier)      last day (1495 days later) »