A single qubit Landau-Zener gate