rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz(theta1) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | rz(pi) q1; symb q; rz(pi) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q1; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz((pi/2)) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(theta1) q0; symb q; | symb q; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(theta2) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(pi) q1; symb q; rxx(theta1) q0, q1; | symb q; rxx(((4*pi)-theta1)) q0, q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q0; symb q; rxx(theta1) q0, q1; | symb q; rxx(((4*pi)-theta1)) q0, q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry((pi/2)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q0; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q1; symb q; rxx(theta1) q0, q1; | symb q; rxx(((4*pi)-theta1)) q0, q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
symb q; rz(theta2) q1; | rz(theta1) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; ry(theta1) q1; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry((theta1+theta2)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; rz(theta1) q1; symb q; | symb q; rz(pi) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta1) q1; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(pi) q0; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(pi) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz((pi/2)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q0; symb q; | rz((pi/2)) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; rz((theta1+theta2)) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(pi) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(theta2) q1; symb q; | symb q; rz((pi/2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; rxx(theta1) q0, q1; | symb q; rxx(((4*pi)-theta1)) q0, q1; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; ry(pi) q0; | symb q; rx(pi) q0; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q0; rz((theta1+theta2)) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q0; rz(theta1) q1; symb q; | symb q; rz((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; rz(pi) q0; | symb q; rx(pi) q0; rx(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz((theta1+theta2)) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; ry(theta1) q1; | symb q; rx(theta1) q1; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(pi) q1; | symb q; rz(pi) q1; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(pi) q0; symb q; | symb q; rz((pi/2)) q0; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(pi) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | symb q; rz(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; | rz(theta2) q1; symb q; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(pi) q0; symb q; rz(pi) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta2) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; rz((theta1+theta2)) q1; symb q; | symb q; rz((pi/2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; | rz(((4*pi)-theta1)) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(theta2) q1; symb q; rz(theta2) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q0; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; rz(pi) q0; symb q; | symb q; rz((theta1+theta2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(pi) q1; symb q; | symb q; rx(pi) q0; ry(pi) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(theta2) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q1; symb q; | rz(((4*pi)-theta1)) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; symb q; | symb q; rz((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; | rz(theta2) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q0; symb q; | rz(((4*pi)-theta1)) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz((pi/2)) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; | symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q0; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; | rz(((4*pi)-theta1)) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; symb q; | symb q; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; rz(theta1) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(pi) q1; | symb q; rz(pi) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; rz(theta1) q0; | symb q; rz(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(pi) q0; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rz(theta1) q1; | symb q; rz(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q1; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; symb q; | rz((pi/2)) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; | rz(theta2) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta2) q1; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz(pi) q1; symb q; rz(pi) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; symb q; | rz((pi/2)) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
symb q; rz((pi/2)) q1; | rz((pi/2)) q0; symb q; rz(pi) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q1; rz(theta1) q1; symb q; | symb q; rz((pi/2)) q1; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; ry(theta2) q0; | symb q; rx(theta2) q0; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; | rz(theta2) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(theta2) q0; symb q; rz(theta2) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; rz(theta2) q0; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(theta2) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz(pi) q1; symb q; | symb q; rz((pi/2)) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
symb q; ry(pi) q0; | rz(pi) q0; symb q; rx(pi) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; rz(pi) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz((pi/2)) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta2) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(pi) q0; symb q; rz(pi) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q0; symb q; rz(theta2) q0; | symb q; rz(theta2) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(theta1) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q0; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; ry((pi/2)) q0; | symb q; rx((pi/2)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; rz(theta2) q0; symb q; | symb q; rz(pi) q0; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(theta1) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q0; symb q; | rz((pi/2)) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry((theta1+theta2)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; ry(theta1) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz(theta2) q0; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
symb q; rz(theta2) q0; | rz(theta1) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(pi) q1; symb q; rz(pi) q1; | symb q; rx(pi) q0; rx(pi) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(theta2) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q1; symb q; | rz((pi/2)) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz((theta1+theta2)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta2) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; symb q; | symb q; rz((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rz(pi) q1; | symb q; rz(pi) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(pi) q1; symb q; | symb q; rz((theta1+theta2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz((pi/2)) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q1; rz(theta2) q0; symb q; | symb q; rz((pi/2)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q1; symb q; | rz((pi/2)) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz(theta2) q1; symb q; rz(theta2) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
symb q; rz((theta1+theta2)) q0; | rz(((4*pi)-theta1)) q0; symb q; rz(theta2) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz((theta1+theta2)) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; rz(pi) q0; symb q; | symb q; rz((theta1+theta2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(theta2) q0; rz(theta2) q0; symb q; | symb q; rz(theta2) q0; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; rz(theta2) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q0; symb q; | symb q; rz(theta1) q0; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(theta1) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; rz(theta1) q0; symb q; | symb q; rz(pi) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz(theta2) q0; symb q; | symb q; rz((pi/2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q1; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | rz(theta1) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rz(theta1) q0; | symb q; rz(theta1) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q0; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(pi) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q0; symb q; | symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz((theta1+theta2)) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz((theta1+theta2)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q0; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q0; symb q; | symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz((theta1+theta2)) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz((pi/2)) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; rz(theta2) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; | rz(theta1) q0; symb q; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q1; rz(theta1) q1; symb q; | symb q; rz(theta1) q1; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q0; symb q; | rz((pi/2)) q0; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; rz(theta1) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
symb q; ry(pi) q0; | rz(pi) q1; symb q; rx(pi) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q1; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q1; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; rz(theta1) q1; symb q; | symb q; rz(pi) q0; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q1; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; rz(theta2) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q1; symb q; rz(pi) q1; | symb q; rz(pi) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; rz(theta1) q0; symb q; | symb q; rz(pi) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; | symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; symb q; | rz(theta1) q0; symb q; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz(theta1) q1; symb q; | symb q; rz((pi/2)) q0; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(theta1) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q0; symb q; | rz((pi/2)) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q1; rz(theta2) q1; symb q; | symb q; rz(pi) q0; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; rz((theta1+theta2)) q0; symb q; | symb q; rz((pi/2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rz(pi) q1; | symb q; rz(pi) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(pi) q0; symb q; | symb q; rx(pi) q0; ry(pi) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz((pi/2)) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; rxx(((4*pi)-theta1)) q0, q1; | symb q; rxx(theta1) q0, q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz((theta1+theta2)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q1; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(theta2) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q0; rz(theta2) q0; symb q; | symb q; rz(theta2) q1; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
symb q; rz((pi/2)) q0; | rz((pi/2)) q1; symb q; rz(pi) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(pi) q0; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q1; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(theta1) q0; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(theta1) q1; | symb q; rx(theta1) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz((pi/2)) q1; symb q; | symb q; rz((pi/2)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q1; rz(theta1) q0; symb q; | symb q; rz((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q1; symb q; | symb q; rz(theta1) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(theta1) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry((pi/2)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; rz(theta2) q1; symb q; | symb q; rz(theta1) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta1) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q1; symb q; | symb q; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; rz((theta1+theta2)) q1; symb q; | symb q; rz((pi/2)) q1; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz(pi) q1; symb q; rz(pi) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(theta1) q0; symb q; | symb q; rz((pi/2)) q0; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; rxx(((4*pi)-theta1)) q0, q1; | symb q; rxx(theta1) q0, q1; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; rz(theta2) q0; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; | symb q; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; rz(theta2) q1; symb q; | symb q; rz(pi) q1; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; rz(theta2) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(pi) q1; symb q; | symb q; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(theta1) q0; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | rz(pi) q1; symb q; rz(pi) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q1; symb q; rz(theta2) q0; | symb q; rz(theta2) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz((pi/2)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q0; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q0; symb q; | symb q; rz(theta1) q1; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(pi) q1; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; ry((pi/2)) q0; | symb q; rx((pi/2)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(pi) q0; symb q; | symb q; rz((theta1+theta2)) q1; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; ry(theta1) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q1; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q0; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(theta1) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rx(theta1) q1; | symb q; ry(((4*pi)-theta1)) q1; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q0; rz(theta1) q1; symb q; | symb q; rz((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; rz(theta2) q1; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz((pi/2)) q0; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta2) q1; rz(theta2) q1; symb q; | symb q; rz(theta2) q0; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; | symb q; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz((theta1+theta2)) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta2) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta2) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz((theta1+theta2)) q0; symb q; | symb q; rz((theta1+theta2)) q0; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | rz((pi/2)) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; symb q; | symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; symb q; | symb q; rz((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(pi) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; rz(theta2) q1; symb q; | symb q; rz((pi/2)) q1; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q0; rz((theta1+theta2)) q1; symb q; | symb q; rz((pi/2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(theta1) q0; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; ry(theta2) q1; | symb q; rx(theta2) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q1; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta2) q1; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q0; rz(theta1) q0; symb q; | symb q; rz((pi/2)) q1; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta2) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta2) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta1) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q1; rz(theta2) q0; symb q; | symb q; rz(pi) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; | rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta1) q0; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q0; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; | rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; rz(theta1) q0; symb q; | symb q; rz(pi) q0; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta2) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; ry(pi) q0; | symb q; rx(pi) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; ry((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q0; symb q; ry(theta1) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(theta2) q0; symb q; | symb q; rz((pi/2)) q1; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(theta2) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(pi) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(pi) q1; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; | rz(theta2) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta2) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; ry((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
symb q; rz((theta1+theta2)) q1; | rz(((4*pi)-theta1)) q1; symb q; rz(theta2) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(theta2) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; | rz(theta2) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; rz(theta1) q0; | symb q; rz(theta1) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | rz(theta1) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; symb q; | rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q1; rz(theta1) q1; symb q; | symb q; rz(theta1) q0; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q1; rz(theta2) q1; symb q; | symb q; rz(theta2) q1; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; ry((pi/2)) q1; | symb q; rx((pi/2)) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz((theta1+theta2)) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q1; symb q; | symb q; rz(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta2) q0; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q0; symb q; | symb q; rz(theta1) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz((theta1+theta2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; symb q; | rz((pi/2)) q0; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; rz(theta1) q0; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz(pi) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; ry(theta1) q0; | symb q; rx(theta1) q0; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; rx(theta1) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; rz(pi) q1; symb q; | symb q; rz((theta1+theta2)) q1; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; rz(theta1) q1; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q1; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(pi) q1; rz(theta1) q1; symb q; | symb q; rz(pi) q1; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; rx(theta1) q0; | symb q; ry(((4*pi)-theta1)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; | rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; symb q; | rz((pi/2)) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta1) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta2) q1; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; rz(pi) q1; | symb q; rx(pi) q0; rx(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry(theta1) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(theta2) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | rz(theta2) q1; symb q; rz(theta2) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q1; rz(theta2) q0; symb q; | symb q; rz(theta1) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; rz(pi) q1; symb q; | symb q; rz((pi/2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz((pi/2)) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; ry(theta1) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(pi) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q1; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q1; rz(pi) q0; symb q; | symb q; rz((pi/2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; rz(theta1) q0; symb q; | symb q; rz(theta1) q1; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(pi) q1; | symb q; rz(pi) q1; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q0; rz((theta1+theta2)) q0; symb q; | symb q; rz((pi/2)) q0; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q1; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q1; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry(theta1) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q0; rz(pi) q1; symb q; | symb q; rz(pi) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; rz(theta2) q0; symb q; | symb q; rz(pi) q1; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(pi) q1; | symb q; rz(pi) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q0; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(pi) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(pi) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(theta1) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(theta1) q0; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta1) q1; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q0; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(pi) q0; symb q; | symb q; rz((theta1+theta2)) q0; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta2) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(pi) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((pi/2)) q1; rz(theta2) q1; symb q; | symb q; rz((pi/2)) q0; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q0; rz(theta2) q1; symb q; | symb q; rz(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz(theta1) q0; symb q; | symb q; rz((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz(theta1) q1; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz(pi) q0; symb q; | symb q; rz((pi/2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; | rz(theta1) q1; symb q; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; rz((theta1+theta2)) q0; symb q; | symb q; rz((pi/2)) q1; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(theta1) q0; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q1; rz(theta2) q0; symb q; | symb q; rz(pi) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(pi) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(pi) q0; rz(theta1) q1; symb q; | symb q; rz(pi) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; | rz(theta1) q1; symb q; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q1; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz(theta1) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(theta2) q0; symb q; rz(theta2) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q0; rz(theta2) q1; symb q; | symb q; rz(pi) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry((pi/2)) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz(theta1) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz(theta2) q1; symb q; rz(theta2) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta2) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta2) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(theta1) q1; symb q; | symb q; rz(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(pi) q1; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q0; rz(theta2) q1; symb q; | symb q; rz(theta2) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz((theta1+theta2)) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(theta1) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; rz(pi) q0; | symb q; rx(pi) q0; rx(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(pi) q1; symb q; | symb q; rz((pi/2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(theta1) q0; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; | symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz(theta1) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; ry(theta2) q1; | symb q; rx(theta2) q1; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((pi/2)) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q1; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz((pi/2)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
symb q; rx(pi) q0; | rz(pi) q0; symb q; ry(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(pi) q0; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; | symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta2) q1; symb q; | symb q; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q0; | symb q; rz(theta1) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta2) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
symb q; rx(pi) q0; | rz(pi) q1; symb q; ry(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q1; symb q; | symb q; rz(pi) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q0; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(pi) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; rz((theta1+theta2)) q1; symb q; | symb q; rz((theta1+theta2)) q1; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; ry((pi/2)) q1; | symb q; rx((pi/2)) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta2) q1; symb q; | symb q; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q1; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(pi) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; rz((theta1+theta2)) q0; symb q; | symb q; rz((theta1+theta2)) q1; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
symb q; rz((pi/2)) q1; | rz((pi/2)) q1; symb q; rz(pi) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((theta1+theta2)) q0; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; rz(theta2) q0; symb q; | symb q; rz((theta1+theta2)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; | rz(pi) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
symb q; rz((theta1+theta2)) q0; | rz(((4*pi)-theta1)) q1; symb q; rz(theta2) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(pi) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; | rz(pi) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q0; symb q; | symb q; rz(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q0; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(theta2) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(theta1) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(theta1) q0; | symb q; rx(theta1) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz((pi/2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(pi) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; rz(pi) q0; | rz(pi) q1; symb q; rz(pi) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(theta1) q0; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | rz(theta2) q1; symb q; rz(theta2) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q0; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; symb q; | rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz((pi/2)) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
symb q; rz((pi/2)) q0; | rz((pi/2)) q0; symb q; rz(pi) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; | rz((pi/2)) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(pi) q1; symb q; rxx(((4*pi)-theta1)) q0, q1; | symb q; rxx(theta1) q0, q1; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
symb q; rz(theta2) q0; | rz(theta1) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q0; | rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta2) q1; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; symb q; | symb q; rz((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q0; rz(theta1) q0; symb q; | symb q; rz(pi) q1; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; symb q; | rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; symb q; | rz((pi/2)) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(pi) q1; symb q; rxx(((4*pi)-theta1)) q0, q1; | symb q; rxx(theta1) q0, q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz((pi/2)) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; rz(theta1) q0; | symb q; rz(theta1) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((pi/2)) q1; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; rx(theta1) q0; | symb q; ry(((4*pi)-theta1)) q0; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q0; symb q; rx(theta1) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(pi) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(theta1) q1; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q0; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; | rz(pi) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(pi) q0; symb q; | symb q; rz(pi) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(theta1) q0; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; | rz(pi) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(pi) q1; symb q; rz(pi) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; rx(theta1) q1; | symb q; ry(((4*pi)-theta1)) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz((pi/2)) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(pi) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(theta1) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; symb q; ry(theta2) q0; | symb q; ry(theta2) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((pi/2)) q0; rz(theta2) q1; symb q; | symb q; rz((pi/2)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; | symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry(theta1) q1; | symb q; ry(theta1) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q0; | symb q; rz(((4*pi)-theta1)) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(theta1) q0; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz((pi/2)) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q1; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; rz(theta1) q0; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q0; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rz(pi) q1; | symb q; rz(pi) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry((pi/2)) q1; | symb q; ry((pi/2)) q1; rx(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q1; symb q; | symb q; rz(pi) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; rz(theta2) q1; symb q; | symb q; rz(pi) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz(theta1) q0; symb q; | symb q; rz(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; rx(theta1) q0; | symb q; rx(theta1) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q0; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz(theta1) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta2) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q1; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(theta1) q0; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry(theta2) q1; | symb q; ry(theta2) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta2) q0; symb q; rz(theta1) q1; | symb q; rz(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(theta1) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; ry(pi) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta2) q0; symb q; | symb q; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta1) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; rz(pi) q1; | rz(pi) q1; symb q; rz(pi) q0; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q0; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(theta1) q1; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q1; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(theta2) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(theta2) q1; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; rz(pi) q0; | symb q; rz(pi) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(pi) q0; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((pi/2)) q1; rz(pi) q1; symb q; | symb q; rz((pi/2)) q0; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz(theta2) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz((theta1+theta2)) q0; symb q; | symb q; rz((pi/2)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; symb q; | rz((theta1+theta2)) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(theta1) q1; rz(theta2) q0; symb q; | symb q; rz(theta1) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q1; | rz(theta2) q1; symb q; rz(theta2) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(theta2) q0; symb q; | symb q; rz(theta2) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rx(((4*pi)-theta1)) q0; | symb q; ry(theta1) q0; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz((pi/2)) q1; symb q; ry(theta2) q0; | symb q; rx(theta2) q0; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry((pi/2)) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz((pi/2)) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; rx(((4*pi)-theta1)) q0; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
symb q; rz((theta1+theta2)) q1; | rz(((4*pi)-theta1)) q0; symb q; rz(theta2) q1; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz(theta1) q0; rz(theta2) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
symb q; rz(theta2) q1; | rz(theta1) q0; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz((pi/2)) q1; symb q; ry(pi) q0; | symb q; ry(pi) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q1; rz(pi) q1; symb q; | symb q; rz((theta1+theta2)) q0; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q0; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz(pi) q1; symb q; rx(theta1) q0; | symb q; rx(((4*pi)-theta1)) q0; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(pi) q1; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((pi/2)) q0; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz((pi/2)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q0; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz(pi) q1; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q1; rz((theta1+theta2)) q1; symb q; | symb q; rz((pi/2)) q0; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q1; symb q; rx(((4*pi)-theta1)) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; | rz(theta2) q0; symb q; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta2) q0; symb q; rz((pi/2)) q0; | symb q; rz((pi/2)) q0; rz(theta2) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q0; symb q; rx(theta1) q1; | symb q; rx(((4*pi)-theta1)) q1; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz((theta1+theta2)) q1; symb q; ry((pi/2)) q0; | symb q; ry((pi/2)) q0; rx((theta1+theta2)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; rz(theta2) q1; symb q; | symb q; rz((theta1+theta2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; | symb q; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(pi) q1; symb q; ry(pi) q1; | symb q; ry(pi) q1; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; symb q; | rz((pi/2)) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(pi) q0; symb q; | symb q; rz(pi) q1; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; rx(theta2) q1; | symb q; rx(theta2) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}]
rz(pi) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; rz(theta2) q1; symb q; | rz(theta2) q1; symb q; rz((theta1+theta2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(theta2) q0; symb q; | rz(theta2) q0; symb q; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q0; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; rx((theta1+theta2)) q1; | symb q; rx((theta1+theta2)) q1; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q0; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; ry(((4*pi)-theta1)) q0; | symb q; ry(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((pi/2)) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q1; symb q; ry(((4*pi)-theta1)) q1; | symb q; ry(((4*pi)-theta1)) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz((pi/2)) q1; rz(theta1) q1; symb q; | rz(theta1) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; rx(theta1) q1; | symb q; rx(theta1) q1; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(((4*pi)-theta1)) q1; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; | symb q; rz((theta1+theta2)) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rx((pi/2)) q0; | symb q; rx((pi/2)) q0; ry(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(pi) q0; symb q; | symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz((pi/2)) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz((pi/2)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; symb q; rz(((4*pi)-theta1)) q1; | rz((pi/2)) q1; symb q; rz((pi/2)) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q0; symb q; ry((theta1+theta2)) q1; | symb q; ry((theta1+theta2)) q1; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(theta1) q1; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta2) q0; symb q; rz((theta1+theta2)) q0; | symb q; rz((theta1+theta2)) q0; rz(theta2) q1; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; rz(((4*pi)-theta1)) q0; | rz(pi) q1; symb q; rz(pi) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz(pi) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; symb q; ry((theta1+theta2)) q0; | symb q; ry((theta1+theta2)) q0; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}]
rz(theta1) q1; symb q; rx((pi/2)) q1; | symb q; rx((pi/2)) q1; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz(theta1) q0; rz(theta1) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(pi) q0; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; symb q; | rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta1) q0; rz(theta1) q0; symb q; | symb q; rz(theta1) q0; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; symb q; rz((pi/2)) q1; | symb q; rz((pi/2)) q1; rz(theta1) q1; | [{[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; rz(pi) q0; symb q; | rz(pi) q0; symb q; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz((theta1+theta2)) q0; symb q; | symb q; rz((theta1+theta2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(theta1) q1; symb q; rz(((4*pi)-theta1)) q1; | symb q; rz(((4*pi)-theta1)) q1; rz(theta1) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(theta2) q0; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((pi/2)) q0; rz(theta2) q0; symb q; | symb q; rz((pi/2)) q0; rz(theta2) q0; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}]
rz((theta1+theta2)) q0; symb q; rx(pi) q0; | symb q; rx(pi) q0; rz((theta1+theta2)) q0; | [{[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}]
rz(theta1) q1; symb q; ry(theta1) q0; | symb q; ry(theta1) q0; rz(theta1) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[true, true], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q1; rz(pi) q1; symb q; | rz(pi) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[false, false]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[false, false]}]
rz(((4*pi)-theta1)) q1; symb q; | symb q; rz(((4*pi)-theta1)) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz(pi) q1; symb q; rz((theta1+theta2)) q1; | symb q; rz((theta1+theta2)) q1; rz(pi) q0; | [{[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}]
rz(((4*pi)-theta1)) q1; rz(theta1) q0; symb q; | symb q; rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; | [{[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}]
rz(pi) q1; rz(theta1) q0; symb q; | rz(theta1) q0; symb q; rz(pi) q0; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[true, true]}]
rz((theta1+theta2)) q0; symb q; | rz(theta2) q0; symb q; rz(theta1) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}]
rz(pi) q0; symb q; rx(theta2) q0; | symb q; rx(theta2) q0; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}]
rz(((4*pi)-theta1)) q0; rz(((4*pi)-theta1)) q1; symb q; | rz(((4*pi)-theta1)) q1; symb q; rz(theta1) q0; | [{[false, false]=[true, true], [true, false]=[false, false], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[true, true], [true, true]=[false, false]}, {[false, false]=[true, false], [true, false]=[false, false], [false, true]=[true, true], [true, true]=[false, true]}, {[false, false]=[true, true], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[false, false]}]
rz(theta1) q0; rz(theta1) q1; symb q; | symb q; rz(theta1) q0; rz(theta1) q1; | [{[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}]
rz((pi/2)) q0; rz(pi) q0; symb q; | symb q; rz((pi/2)) q1; rz(pi) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}]
rz((pi/2)) q0; rz((theta1+theta2)) q1; symb q; | rz((theta1+theta2)) q1; symb q; rz((pi/2)) q0; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[false, true], [true, true]=[true, false]}, {[false, false]=[false, true], [true, false]=[true, false], [false, true]=[false, false], [true, true]=[true, true]}, {[false, false]=[false, true], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[true, false]}, {[false, false]=[false, false], [true, false]=[true, false], [false, true]=[false, true], [true, true]=[true, true]}]
rz((pi/2)) q0; symb q; rx((theta1+theta2)) q0; | symb q; rx((theta1+theta2)) q0; rz((pi/2)) q1; | [{[false, false]=[false, false], [true, false]=[true, true], [false, true]=[true, false], [true, true]=[false, true]}, {[false, false]=[true, false], [true, false]=[true, true], [false, true]=[false, false], [true, true]=[false, true]}, {[false, false]=[false, false], [true, false]=[false, true], [false, true]=[true, false], [true, true]=[true, true]}, {[false, false]=[true, false], [true, false]=[false, true], [false, true]=[false, false], [true, true]=[true, true]}]
