I'm talking Quantum Mechanics here. Let's say that we have a constant magnetic field $\mathbf{B} = (0,0,B)$. Then I can pick two different vector potentials:
$\mathbf{A} = (\ -\tfrac{1}{2}By ,\ \tfrac{1}{2}Bx ,\ 0 \ )$
$\widetilde{\mathbf{A}} = ( \ 0 , \ Bx , \ 0 \ )$
Which both yield $\nabla \times \mathbf{A} = \nabla \times \widetilde{\mathbf{A}} = \mathbf{B}$. Then the way I understand it, I have two Hamiltonians:
$H = \tfrac{1}{2m} ( \mathbf{p} - \frac{e}{c} \mathbf{A} )^{2}$
$\widetilde{H} = \tfrac{1}{2m} ( \mathbf{p} - \frac{e}{c} \widetilde{\mathbf{A}} )^{2}$
These Hamiltonians are $different$, and yet they describe the same physical system!
How does this work? Why is this okay?
My thoughts are that it doesn't matter, since both $H$ and $\widetilde{H}$ will yield the same measurable quantities (energy eigenvalues). Is this correct?