qasm 1.0.0

A OPENQASM 2.0 Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
OPENQASM 2.0;

// Clifford gate: Hadamard
gate h a { u2(0,pi) a; }

qreg q[2];
creg c[1];

h q[0];
CX q[0], q[1];

measure q[1] -> c[1];