// A Bell pair as an OpenQASM 3 exporter writes it: the library included, bits // declared before qubits, each measurement on its own line. OPENQASM 3.0; include "stdgates.inc"; bit[2] c; qubit[2] q; h q[0]; cx q[0], q[1]; c[0] = measure q[0]; c[1] = measure q[1];