OPENQASM 3.1; qubit[2] q; h q[0]; t q[1]; // g's gates inverted, in reverse order sdg q[0]; rz(-0.3) q[1]; cx q[0], q[1]; h q[0]; // sx = h s h h q[1]; sdg q[1]; h q[1]; // U(θ, φ, λ) is rz(φ) ry(θ) rz(λ) up to a phase rz(-0.2) q[0]; ry(-0.1) q[0]; rz(-0.3) q[0]; // iswap = s, s, h, cx, cx, h h q[1]; cx q[1], q[0]; cx q[0], q[1]; h q[0]; sdg q[1]; sdg q[0];