Closed daniel-mills-cqc closed 7 months ago
might close #25
I cannot reproduce a NotImplementedError
from phirgen.py. When i run the file (using device_name='H1-1'
instead of 'H1-1LE'
) I see this error: pytket.qasm.qasm.QASMUnsupportedError: Classical gate NOT not supported.
The source of this error is line 206 of pytket/qasm/qasm.py
, the NOT operation is missing from _classical_gatestr_map
.
Are you using a specific branch or doing anything else that might be helpful to know to reproduce the error?
If you are using H1-1
then it won't be going via PHIR at all. But it sounds like there may be a second issue here if the QASM conversion is also failing. I'll check that...
But it sounds like there may be a second issue here if the QASM conversion is also failing.
There is a mismatch between the classical operations pytket-phir can handle and those that the pytket to qasm converters could handle - if the following OpType could be supported then we should have parity:
In particular:
raises
NotImplementedError
.