When I design some classical register, flip-flop, binary counter, small byte of RAM, etc from scratch with classical logic gate, I never deal with such binary direction because classical bit doesn't have direction.
I only care about whether its state currently in 0 or 1. Yes in classical gate, the magnitude amplitude is always deterministic (magnitude=1 or magnitude=0).
I accept the notion of this magnitude because it's useful for superposition state therefore it's useful for parallel computation. But why we need to know its phase angle too? What is the simple example of phase application? When I was designing full-adder that was discovered by Feynman as a simple example with just using Toffoli (CCNOT) and CNOT, I still don't have business with direction (phase angle).
So why should we care about phase angle (direction) in qubit state?
Update:
As far as I understand from average answers, the most simple example of phase application is for distinguish superposition state from previous state.
For example:
To make a superposition state from a qubit, we put Hadamard gate H
.
If the previous state was |0>
, then it became superposition state |+>
.
If the previous state was |1>
, then it became superposition state too, but with rotating phase (π). Hence the superposition state is |->
.
So if we put the Hadamard gate again, If the superposition state is |+>
, then it will became |0>
again. If the superposition state is |->
, then it will became |1>
again.
I'm as a computer engineer (not computer scientist), from explanation above I think in another word the phase is useful for storing previous state (memory) in case of Hadamard gate.
What I mean with storing is, |+>
and |->
are both superposition state with carrying information about its previous state (we can think it act as memory). |+>
the previous state was |0>
, while |->
the previous state was |1>
.
So when someone say hey, it's in superposition state.
, If we care about its previous state, we wouldn't know unless that someone write it mathematically with|+>
or |->
. Or tells explicitly like hey, it's in superposition state with phase angle π.
then we know that the previous state was |1>
.
But Hadamard gate is playing with rotating phase to the π
. How about rotating phase to the π/2
?. What case can I do for rotating phase to the π/2
.