Quantum evolution kernel: Machine learning on graphs with programmable arrays of qubits