Archived
1
0
This repository has been archived on 2023-07-24. You can view files and clone it, but cannot push or open issues or pull requests.
qalg/qasm/grover-qiskit-output.qasm

37 lines
687 B
Plaintext

OPENQASM 2.0;
include "qelib1.inc";
qreg q[7];
creg meas[2];
rz(1.5707963267948966) q[0];
sx q[0];
rz(1.5707963267948966) q[0];
rz(1.5707963267948966) q[1];
sx q[1];
rz(1.5707963267948966) q[1];
barrier q[0], q[1];
rz(1.5707963267948966) q[1];
sx q[1];
rz(1.5707963267948966) q[1];
cx q[0], q[1];
rz(1.5707963267948966) q[1];
sx q[1];
rz(1.5707963267948966) q[1];
barrier q[0], q[1];
rz(-1.5707963267948968) q[0];
sx q[0];
rz(1.5707963267948966) q[0];
rz(-3.141592653589793) q[1];
cx q[0], q[1];
rz(1.5707963267948966) q[0];
sx q[0];
rz(-1.5707963267948966) q[0];
rz(-3.141592653589793) q[1];
barrier q[0], q[1];
barrier q[0], q[1];
measure q[0] -> meas[0];
measure q[1] -> meas[1];