An algorithm for machine learning on near-term quantum computers | Hacker News Reader