I've read that in Quantum circuits the matrix that encodes the transformation has to be unitary. I understand that it must preserve the norm of the resulting qubit, but what is the intuition behind it?
-
1$\begingroup$ A qubit encodes a "probability distribution" on $\{0,1\}$. By applying a unitary transformation to a qubit, one maps it to a different probability distribution. Since this operation is reversible, the quantum computer is too. $\endgroup$– ckamathCommented Mar 22, 2017 at 8:30
2 Answers
Short (unhelpful?) answer: the transformation are unitary, because quantum physics says all transformations on quantum states are unitary. So your question boils down to “Why are unitaries the only allowed transformations?”.
For two reasons:
- Quantum mechanics restricts the allowed transformation on quantum states to be linear, transforming the vector $|ψ\rangle$ to $V|ψ\rangle$, where V is a matrix. I have no obvious intuition on why the transformation have to be linear$^\dagger$, except that
- it gives an elegant and simple mathematical theory;
- attempts at constructing nonlinear quantum mechanics have all lead to problematic consequences, e.g. in causality.
- Once you accept the linearity of the transformation $V$, the unitarity comes from the conservation of the norm of $|φ\rangle$, since this norm corresponds to the sum of probabilities of the different measurement results, which is therefore $1$. We have then, for all $|φ\rangle$, \begin{align*} \langle φ|φ \rangle &=1 & \langle φ|V^\dagger V|φ\rangle=1. \end{align*} Since it is true for all $|φ\rangle$, it implies that the eigenvalues of the Hermitian operator $V^\dagger V$ are all $1$, that is $ V^\dagger V=\mathbb I$: in words, $V$ is unitary. Another (maybe mor intuitive) explanation of this is that unitaries are the only matrices preserving the the scalar products $\langle φ|ψ\rangle$, which measures the distinguisability of states $|φ\rangle$ and $|\psi\rangle$.
$\dagger$: if anyone knows an intuitive explanation of the linearity of QM, I’d love to read it!
I am not a physicist, but I did take a quantum mechanics elective many decades ago.
The following question and its answers from Physics Stack Exchange illustrate the significance of unitary evolution of states in Quantum Mechanics.
Intutitively, until we make a measurement (at the very end of the computation) and the wavefunction collapses, all the other quantum evolutions are unitary. See especially the references to Wigner's and Kadison's theorems.
Quantum circuits are governed by Quantum Mechanics.