A simple getting started post on a similar topic is here: https://medium.com/rigetti/how-to-write-a-quantum-program-in... which might be useful for comparison.