OPENQASM 3.0; input float theta; input uint n; qubit[n] q; rx(theta) q[0]; for uint i in [1:n-1] { cx q[0], q[i]; }