Quantum algorithms for supervised and unsupervised machine learning | Synapse