CQCL/pytket-quantinuum

Remove `syntax_checker` argument to `QuantinuumBackend.cost()`

cqc-alec opened this issue · 2 comments

It is a footgun. Just have it automatically detected when possible, and error otherwise (which shouldn't happen).

Currently emulator devices will error if we just remove the argument since they don't have associated syntax checkers. Until this changes we will have to figure it out by mangling the name or having a hard-coded dictionary.

We should also handle the case where the backend is itself a syntax-checker/