Hybrid model of the kernel method for quantum computers