Entanglement-based machine learning on a quantum computer.