Pytket QASM Importer Bug: Unsupported ISwap Gate Gate has an invalid number of parameters
#1605
Labels
bug
Something isn't working
Expected behavior
When using Pytket to import a QASM file containing an ISwap gate generated by Qiskit, we expect the import to succeed without any errors. The Pytket importer should be able to correctly parse the ISwap gate and its parameters.
Actual behavior
The Pytket importer crashes when trying to import the QASM file, throwing a "Gate has an invalid number of parameters" error. This error occurs because the Pytket importer does not support the ISwap gate with two parameters.
Additional information
This issue is 100% reproducible. We have verified that the Qiskit-generated QASM file is correct and can be imported by other tools. The issue seems to be specific to the Pytket importer.
Source code
Tracebacks
System
Output:
The text was updated successfully, but these errors were encountered: