I recently saw a tweet about the Qiskit Advocate Program. In response, I tweeted that I am an OpenQASM Advocate and that IBM Research should make that a real thing. I doubt that’s actually going to happen, but I’d like to make the case for it anyway.
my first OpenQASM code; it could’ve been only 7 lines instead of 8
“Hello, quantum world!” in OpenQASM
OpenQASM has been my favorite computing language ever since I first saw it. It was an accident, quite frankly. I had created an IBM Q Experience account and logged in, but was disappointed when the drag-and-drop circuit builder didn’t work on my smartphone.
After that initial disappointment, I noticed the OpenQASM circuit editor. I did a quick Internet search and was able to create the tutorial circuit by writing code instead. It stands out in my memory for multiple reasons: one obviously being that this was my first ever quantum computing experiment, but also that it worked on my very first try. Notwithstanding how little code was required, it was still my first time using a language that visually resembles a hybrid of Assembly Language and C, and errors could certainly be expected.