# Work done by introducing a spin in supersposition into a Magnetic Field

A spin is created in a superposition of up and down states. A magnet is moved very slowly, towards the spin. What is the work done by the magnet. It may be helpful to imagine that the magnet is connected to a spring that expands or contracts depending on work done by the magnet.

-
You tagged this "measurement problem" which I don't see to match at all. Is this homework? – A.O.Tell Oct 6 '12 at 14:25
No this is not homework. I think a consideration like this have some relevance to measurement problem. Because I believe that from the sign of the work done one can infer the spin. – Prathyush Oct 6 '12 at 15:37
So find the energy, find its change, get work. And I still don't see any relation to the measurement problem – A.O.Tell Oct 6 '12 at 15:39
I think Ive been rather brief, The change in the expectation value of energy cannot be the work done. Energy can be infact Zero if the particle is in a Half and Half superposition of up and down states. The concept of work being a thermodynamic cannot be equal to change in energy. I think One must analyze this problem by considering a statistical system like a spring, which is composed of many degrees of freedom. So spring is connected to a magnet. When the Spring + Magnet system in bought in the presence of spin, this system expands or contracts, Measuring the spin of the particle. – Prathyush Oct 6 '12 at 15:56
What you propose is not in agreement with quantum theory – A.O.Tell Oct 6 '12 at 15:59
The work is of course equal to the potential energy of the dipole $\vec m$ in the magnetic field, $$U = -\vec m \cdot \vec B.$$ Now, your wording indicates that the magnetic field $\vec B$ is macroscopic so it may be treated as a classical parameter. However, $\vec m$ from a spinning particle is quantum mechanical. For example, for an electron, $$\vec m = -g_S \mu_B \frac{\vec S}{\hbar}$$ where the spin $g$-factor is $g_S\sim 2.0023$, $\mu_B=e\hbar/(2m_e)$ is the Bohr magneton, and $\vec S$ is the operator (or triplet of operators) of the electron's angular momentum – that act as $\hbar/2$ times the Pauli matrices on the spin-up and spin-down states.
So up to a multiplicative constant $\gamma$, $$U = \gamma \vec \sigma\cdot \vec B .$$ The work done on the electron is a $q$-number, an operator, which acts on the spin-up and spin-down states. For the up and down states relatively to the direction of the external magnetic field $\vec B$, the work done has a sharply defined value, an eigenvalue of $U$. For general linear superpositions, the work done on the electron has a certain probability amplitude to be positive and a certain probability amplitude to be negative. The squared absolute values of these probability amplitudes determine the probabilities that the work will be seen to be one (positive) value or the other (negative) value, just like everywhere in quantum mechanics.
It's however very interesting to consider superpositions of states in this context, especially for $j=1/2$. For spin-1/2 particles, each superposition of up and down states is equivalent to "up" with respect to a certain axis in space. If we deal with general superpositions, this axis on which the spin is "up" will generally not be aligned with the direction of the magnetic field. If that's the case, the presence of the magnetic field will have the effect of causing "precession" of the axis defining the spin up. The axis at which the particle is polarized "up" will be "turning around" the direction of $\vec B$ like a ninny. This precession results from the time-dependent change of the phases of the wave function – which is opposite for the up and down states, so the relative phase is changing as well – and the fact that the relative phases of the wave functions always matter (for something) in quantum mechanics.