// A Clifford+T program: written to QIR in Clifford+T intrinsics alone, no // rotation, and read back to the bit-exact method. OPENQASM 3.0; include "stdgates.inc"; qubit[3] q; bit[3] c; h q[0]; t q[0]; p(pi/4) q[1]; p(3*pi/4) q[2]; cx q[0], q[1]; ccx q[0], q[1], q[2]; s q[2]; c = measure q;