Replace bit condition “c_if” in bit-string condition “if_test” of "qiskit_convert.py" #366
Labels
circuit_conversion
Issues and pull requests related to coverting qiskit circuits to pytket and vice versa
enhancement
New feature or request
In “tk_to_qiskit”, a conditional gate in TKET circuit transpires a conditional gate of qiskit circuit using bit condition “c_if” on L660-L697 of “qiskit_convert.py”.
https://github.com/CQCL/pytket-qiskit/blob/main/pytket/extensions/qiskit/qiskit_convert.py
https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.InstructionSet#c_if
I found that bit-string condition “if_test” is currently supported and recommended in qiskit. Should we edit the lines L660-L697 of “qiskit_convert.py”?
https://docs.quantum.ibm.com/api/qiskit/qiskit.circuit.QuantumCircuit#if_test
pytket-qiskit/pytket/extensions/qiskit/qiskit_convert.py
Line 660 in 9417469
The text was updated successfully, but these errors were encountered: