Programable two-qubit gates in capacitively coupled flopping-mode spin qubits