A correspondence theorem for L-functions and partial differential operators