Skip to content

Commit

Permalink
expand docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Nov 20, 2024
1 parent 49b3b93 commit fe3cb50
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pytket/extensions/qiskit/qiskit_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,10 @@ def tk_to_qiskit(
If no exact replacement can be found for a part of the circuit then an equivalent
circuit will be returned using the tket gates which are supported in qiskit.
Please note that implicit swaps in a pytket Circuit are not handled by default.
Consider using the replace_implicit_swaps to replace these implicit swaps with
SWAP gates.
:param tkcirc: A :py:class:`Circuit` to be converted
:param replace_implicit_swaps: Implement implicit permutation by adding SWAPs
to the end of the circuit.
Expand Down

0 comments on commit fe3cb50

Please sign in to comment.