Training support vector machines: a quantum-computing perspective.