I'm running an algorithm on a real quantum device from IBM (ibmqx2), using the QASM and circuit composer, and it just gets the same error over and over again: Instruction not in basis gates: instruction: bfunc, qubits: [].
Here is the transpiled code:
qreg q[5];
creg c[4];
u3(2.0943951023931953, 1.5707963267948966, 1.5707963267948966) q[0];
u2(0, 3.141592653589793) q[1];
cx q[1], q[2];
cx q[0], q[1];
u2(0, 3.141592653589793) q[0];
cx q[2], q[4];
measure q[0] -> c[0];
if(c == 1) u1(3.141592653589793) q[2];
if(c == 1) u1(3.141592653589793) q[4];
measure q[1] -> c[1];
if(c == 1) u3(3.141592653589793, 0, 3.141592653589793) q[2];
if(c == 1) u3(3.141592653589793, 0, 3.141592653589793) q[4];
measure q[2] -> c[2];
measure q[4] -> c[0];
It's just a simple teleportation algorithm with an extra qubit. How can that be to not work properly? Does someone knows what may be happening?
ifor it should have two qubits with three connections in order to work properly. Thanks again. – doomsk Apr 19 '20 at 13:52