Closed andrew-koren closed 7 months ago
Hi,
Thanks for the feedback. Since it appears that you have solved the issue already yourself, would you be interested in making a pull request to fix the issue? I usually prefer this, because the git log then credits you for solving.
Should work now. Please let me know if not. Tanks for reporting!
Describe the bug Attempted to import multiple circuits from qasm, all circuits containing s gate failed to import.
TypeError: Phase() got multiple values for argument 'target'
The error message showed that this is due to part of parse_command() in qasm.py
Changing this to
fixes the issue
To Reproduce Steps to reproduce the behavior: Ideally an executable code snipped like
Expected behavior Should import s gate without error
Computer (please complete the following information): tequila version: 1.9.4 python version: 3.10.13 (main, Feb 6 2024, 19:53:26) [GCC 9.4.0] platform: #19~22.04.1-Ubuntu SMP Wed Jan 10 22:57:03 UTC 2024