Quantum spin dynamics of the antiferromagnetic linear chain in zero and nonzero magnetic field