A quantum algorithm for learning a graph of bounded degree | Synapse