Idea: Refactor qiskit_to_tk
#313
Labels
circuit_conversion
Issues and pull requests related to coverting qiskit circuits to pytket and vice versa
enhancement
New feature or request
The qiskit_to_tk and tk_to_qiskit converters are a frequent source of bug reports and feature requests from users. I suspect for a significant number of people these converters are their first exposure to using pytket and related libraries.
The code for doing the conversion is old and has been patched together over time. Its now about 1000 lines of untidy python. I think it could make the code simpler and more maintainable if we rethink/refactor the converters perhaps splitting out some of the compilcated case handling into separate internal functions.
I think this would save us time in the long run when addressing bugs and feature requests from users. May also make it easier for new contributors to make PRs.
A couple of thoughts...
AerBackend
simulator.The text was updated successfully, but these errors were encountered: