Closed gkpotter closed 2 months ago
Hi @gkpotter Thank you for the PR. There is one issues with the format check, could you take care of this? Besides that it is looking good.
I think its just a case of running the black formatter on the qiskit convert file
black qiskit_convert.py
Oops sorry about that. Just re-ran black on qiskit_convert.py
!
Looks good, I have run the checks locally and they all work. It would be nice to add the conversion in the other direction, too. If you don't have the time to do that, I will add an issue for that and try to do it in the near future.
If you don't want to add the other direction, please update the changelog and I am happy to approve this.
I updated the changelog. Unfortunately, right now I do not have time to implement conversion in the other direction.
I updated the changelog. Unfortunately, right now I do not have time to implement conversion in the other direction.
Thanks for the useful contribution @gkpotter :) This reminded me that the qiskit conversion code should be refactored.
@cqc-melf Are you fine with this being merged now?
I have added an issue for that, https://github.com/CQCL/pytket-qiskit/issues/378
Description
Add support for converting controlled unitary gates from Qiskit to TKET.
Related issues
Please mention any github issues addressed by this PR.
Checklist
Notes
I have yet to update the changelog/API docs, in case more changes or refactoring are required.