5

I am trying to build a circuit for quantum teleportation. On the simulator, everything runs fine and according to expectations, however, I am not able to run the algorithm on the real quantum processor.

ERROR_RUNNING_JOB is returned without any other explanation. I tried to implement two different circuits, the first one with controlled X and Z gates, the second one with gates X and Z are controlled by a value in the classical register. Please find both circuits below.

I appreciate any help.

Thanks.

Circuit with IFs Circuit with "normal" controlled X and Z gates

glS
  • 27,510
  • 7
  • 37
  • 125
Martin Vesely
  • 15,244
  • 4
  • 32
  • 75

2 Answers2

9

The issue is that you are applying operations after measurement gates and this is currently not available on the real hardware. I think the hardware also does not support reset operations mid-way through a circuit at the moment.

The best way forward is to keep running this on the simulator or try to find a different way of expressing the circuit such that it avoids these features.

met927
  • 3,251
  • 1
  • 10
  • 22
1

Thanks for help, it works. Here is a changed circuit and results on IBM Q (Vigo processor). Just note that q-bit $0.5|0\rangle + \sqrt {0.75}|1\rangle$ is teleported from q-bit q0 to q2. Angle in Ry gate is $2\pi/3$.

Circuit, Results

Sanchayan Dutta
  • 17,945
  • 8
  • 50
  • 112
Martin Vesely
  • 15,244
  • 4
  • 32
  • 75