-
Notifications
You must be signed in to change notification settings - Fork 0
/
parameterizedCircuit
1 lines (1 loc) · 1.23 KB
/
parameterizedCircuit
1
"OPENQASM 3;\ninclude \"stdgates.inc\";\ninput float[64] beta0;\ninput float[64] gamma0;\ngate rzz_1466526231824(gamma0) _gate_q_0, _gate_q_1 {\n cx _gate_q_0, _gate_q_1;\n rz(gamma0) _gate_q_1;\n cx _gate_q_0, _gate_q_1;\n}\ngate rzz_1466525103632(gamma0) _gate_q_0, _gate_q_1 {\n cx _gate_q_0, _gate_q_1;\n rz(gamma0) _gate_q_1;\n cx _gate_q_0, _gate_q_1;\n}\ngate rzz_1466532946384(gamma0) _gate_q_0, _gate_q_1 {\n cx _gate_q_0, _gate_q_1;\n rz(gamma0) _gate_q_1;\n cx _gate_q_0, _gate_q_1;\n}\ngate rzz_1466526338000(gamma0) _gate_q_0, _gate_q_1 {\n cx _gate_q_0, _gate_q_1;\n rz(gamma0) _gate_q_1;\n cx _gate_q_0, _gate_q_1;\n}\ngate rzz_1466526335120(gamma0) _gate_q_0, _gate_q_1 {\n cx _gate_q_0, _gate_q_1;\n rz(gamma0) _gate_q_1;\n cx _gate_q_0, _gate_q_1;\n}\nbit[4] meas;\nqubit[4] q;\nh q[0];\nh q[1];\nrzz_1466526231824(gamma0) q[0], q[1];\nh q[2];\nrzz_1466525103632(gamma0) q[0], q[2];\nrx(2.0*beta0) q[0];\nrzz_1466532946384(gamma0) q[1], q[2];\nh q[3];\nrzz_1466526338000(gamma0) q[1], q[3];\nrx(2.0*beta0) q[1];\nrzz_1466526335120(gamma0) q[2], q[3];\nrx(2.0*beta0) q[2];\nrx(2.0*beta0) q[3];\nbarrier q[0], q[1], q[2], q[3];\nmeas[0] = measure q[0];\nmeas[1] = measure q[1];\nmeas[2] = measure q[2];\nmeas[3] = measure q[3];\n"