Q:

What's the purpose of phases in quantum mechanics?

I know this it's perhaps, a little "stupid" question, but... What's the purpose of phase in Quantum?
Per example, in quantum Computing, the phase don't seems to be very important in the amplitudes and probability of the outcomes, before a qubit be measured. But I know that phase it's important for something, I just don't know exactly for what (quantum entanglement, perhaps?)

A:

This is simply not true. It is the global phase that is not physically relevant -- which can be immediately seen from the linearity of the Schrodinger equation: two states $| \psi \rangle, e^{i \phi} | \psi \rangle$ are both solutions to the same equation.
However, consider a qubit state, $| \psi \rangle \in \mathbb{C}^{2}$, with two different choices of local (a.k.a. relative) phases: $| + \rangle \equiv \frac{1}{\sqrt{2}}(| 0 \rangle + | 1 \rangle) \text{ and } | - \rangle \equiv \frac{1}{\sqrt{2}}(| 0 \rangle - | 1 \rangle)$, which are orthogonal to each other and hence completely distinguishable (for example, see this answer). For an explanation of the difference(s) between global and local phases, see this answer.
One way to deal with the ambiguity of global phases is to work in a complex projective space (or with density matrices) -- which is what one does, for example in quantum computing, where we represent qubit states on the Bloch sphere.
Also, phases are relevant for both amplitudes and probabilities of outcomes (again, it is the global phase that is not physically relevant). For example, see this answer, where two states that have same probability of outcomes when measured in the $\sigma_z$ basis yield different probabilities when measured in a different basis (say $\sigma_x$). Apart from this, phases are clearly very important for several quantum computing protocols like quantum phase estimation, in cyclic evolutions i.e., Berry phase, etc.

A:

Phase is really one of the things that makes quantum computing what it is! In fact, I think there is a quote by Aaronson like how quantum is "probability theory with negative numbers."
The place it comes in is when looking at the interference of different amplitudes. We don't see the phase directly when measuring states like $|+\rangle = |0\rangle + |1\rangle$ and $|-\rangle = |0\rangle - |1\rangle$ in the Z basis. Both states will give a 50/50 distribution. But if you apply a Hadamard transform to them, $$H|+\rangle = H|0\rangle + H|1\rangle = (|0\rangle + |1\rangle) + (|0\rangle - |1\rangle) = |0\rangle,$$
$$H|-\rangle = H|0\rangle - H|1\rangle = (|0\rangle + |1\rangle) - (|0\rangle - |1\rangle) = |1\rangle.$$
The minus signs cause different terms to cancel out. So when changing basis or combining different states, the phase controls which amplitudes constructively and destructively interfere.

