You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am combining qiskit and TKET compilation passes together in a single compilation flow and for some quantum circuits, I sometimes get the following critical assertion leading to an abort of the python script.
The error occurs not always, when executing the script it usually happens before iteration 30.
Also, it happens for different target devices and corresponding cmaps. Interestingly, the error says node 58 although IBM Montreal is a 27 qubit device and the printed path obviously does not correspond to a valid path on my computer, even the mentioned TKET version within the printed path is outdated.
I use pytket v1.10.0, qiskit v0.39.4, python 3.10.8 and Mac OS 13.1.
The text was updated successfully, but these errors were encountered:
Good morning @nquetschlich, thank you very much for bringing this issue to our attention.
This is actually a known bug with an open pull request for its fix at #715. If you're interested, hopefully the description of the issue in that pull request will explain what was going wrong.
I have run your example locally using a build of TKET from this linked branch and the script passes (multiple times).
I will leave this issue open until that pull request is merged. Once the pull request is merged we will put out a release so the fix is available through the pytket version available from pip. I'll let you know here once this is done.
Hi,
I am combining qiskit and TKET compilation passes together in a single compilation flow and for some quantum circuits, I sometimes get the following critical assertion leading to an abort of the python script.
[2023-01-17 09:14:13] [tket] [critical] Assertion 'jt != architecture_nodes.end()' (/Users/alec/.conan/data/tket/1.0.36/tket/stable/build/59ebf0620228eb658575009636eae68dcd1b80d6/Mapping/LexiRoute.cpp : reassign_node : 58) failed. Aborting.
The behavior can be reproduced by the (rather lengthy) code example:
The error occurs not always, when executing the script it usually happens before iteration
30
.Also, it happens for different target devices and corresponding cmaps. Interestingly, the error says
node 58
although IBM Montreal is a 27 qubit device and the printed path obviously does not correspond to a valid path on my computer, even the mentioned TKET version within the printed path is outdated.I use pytket v1.10.0, qiskit v0.39.4, python 3.10.8 and Mac OS 13.1.
The text was updated successfully, but these errors were encountered: