Quantum kernels in solving differential equations