OPENQASM 3.0; // <- keyword // ^ number.float include "stdgates.inc"; // ^ string qubit[2] q; // <- type // ^ number gate bell(t) a, b { // <- keyword // ^ function // ^ variable.parameter h a; //^ function.call rz(pi / 2) b; // ^ constant.builtin // ^ operator } ctrl @ bell(0.5) q[0], q[1]; // <- keyword // ^ operator c = measure q; // the end // ^ keyword // ^ comment