OPENQASM 3.1; qubit[4] q; int i = 0; while (i < 4) { h q[i]; i += 1; } int j = 3; while (true) { if (j < 1) break; x q[j]; j -= 2; }