magnetic field lines interacting in hilbert space