Inverse spectral problem for the Schrödinger equation with periodic vector potential