# Heisenberg's principle in Quantum Cryptography

In quantum cryptography why do we need the Heisenberg uncertainty principle?

Edit:

I only know the statement of the Heisenberg uncertainity principle. As I know that if Eve tries to know the polarization angle of a photon with a wrong basis then it will alert others. Then where is the use of Heisenberg uncertainity rule in it? I know this is a childish question to physics people but I really need to know the answer. Please anybody answer it.

• Welcome to Physics.SE. There is probably a good question in here, but right now it is too underspecified to be reasonably answerable. Can you make this more specific in terms of (1) you understanding of the Heisenberg rule in general and (2) why you think it might not be important in any quantum process? – dmckee --- ex-moderator kitten Mar 28 '12 at 14:21

Two operators $A$ and $B$ are said to commute if $AB = BA$. In simple terms, for commuting operators it doesn't matter whether you first measure $A$ and then $B$ or first measure $B$ and then $A$.
If, however, the operators do not commute, then the order matters: If you measure first $A$ and then $B$, you get a different outcome than if you measure first $B$ and then $A$.
The relevance for quantum cryptograhpy now is that measuring the polarization angle in a basis $1$ and measuring it in a basis $2$ corresponds to two non-commuting operators. This means that Eve measuring with basis $2$ before Bob measures with basis $1$ will lead to different outcomes than if Eve would do nothing. Heisenberg basically says that if Eve measures in basis $2$, then the uncertainty of the observable "Polarization in basis 2" is zero and therefore the uncertainty of the observable "Polarization in basis 1" must be at a maximum, i.e., Eve has completely messed up the state of the photon for basis $1$.