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-cirq-output.qasm

46 lines
884 B
Plaintext

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