I am trying to build an optimization for a machine learning quantum circuit, so I need to call several times the same circuit. I am using the execute
function to compile it, but the quantum function is only called about four times in the same loop when I run the code. Then the program keeps running but it stops on the execute line doing nothing.
Is this a limitation of IBM Quantum Systems? I can't find why this happens if the code calls the quantum circuit four times before it stops. This issue occurs both in the simulator and in the quantum machines, so I suppose it is not a credit problem.