TransWikia.com

Error while running the circuit on a real device on IBMQ

Quantum Computing Asked by Dhruvesh Asnani on December 9, 2020

I have been trying to run a circuit on ibmq_16_melbourne. But the result shows ERROR_RUNNING_JOB. The run status says:
'Circuit runtime is greater than the device repetition rate [8020]'.

Here are a few circuit details:

Size (total number of gates): 14137
Depth: 7836
Qubits: 14
Shots: 64

Gate count: [('u1', 7506), ('cx', 5850), ('u2', 678), ('x', 73), ('cswap', 18), ('h', 6), ('measure', 6)]

It runs fine on the qasm_simulator. I could not find how to deal with this kind of error. Can some tell what does it mean and how to fix it?

One Answer

This error means that the circuit is too deep, you need to reduce the depth of the circuit in order to get it to run. This means that you need to reduce the number of gates you are using.

If you have not already, I would suggest running it through the transpiler using a higher optimization level before you run it to see if this reduces the gate count. You can do this by doing execute(your_circuit, backend, optimization_level=3)

Alternatively, you can continue running the circuit on the simulator, but add a NoiseModel to make it more like a run on a real device. There is more information about how to do that here.

Answered by met927 on December 9, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP