Qiskit / qiskit-ibm-catalog

Apache License 2.0
6 stars 2 forks source link

No mention in TEM docs that depth is limited to <= 100, also limits to small circuits only #37

Open nonhermitian opened 15 hours ago

nonhermitian commented 15 hours ago

Steps to reproduce the problem

Submitting a circuit where the total circuit depth is > 100 gives the error

QiskitServerlessException: {"error_message": "Traceback (most recent call last):\n File \"runner.py\", line 125, in tem.runner.Runner.run\n File \"validation.py\", line 170, in tem.validation.TEMInputs.init\n File \"validation.py\", line 197, in tem.validation.TEMInputs.validate\nValueError: Unsupported circuit: depth greater than 100.\n"}

What is the current behavior?

One gets the above error when submitting a circuit with depth greater than 100. There is no mention of this limitation in docs

What is the expected behavior?

I would expect this limitation to be documented. I would also expect this to work up to depth 100, especially when this depth calculation includes 1Q gates. E.g. in the example that threw this error the 2Q entangling gate depth is only 48. Much larger circuits using this method appear in literature: https://arxiv.org/abs/2411.00765

nonhermitian commented 14 hours ago

The circuit used here is attached to issue #38