Hybryd variational classical-quantum computing, the machine learning way