From e38ca3e03776ffba57525454b9bd26ab14dfd091 Mon Sep 17 00:00:00 2001 From: CalMacCQ <93673602+CalMacCQ@users.noreply.github.com> Date: Tue, 17 Dec 2024 14:48:03 +0000 Subject: [PATCH] add another TODO --- pytket/extensions/qiskit/qiskit_convert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytket/extensions/qiskit/qiskit_convert.py b/pytket/extensions/qiskit/qiskit_convert.py index ac93ab07..17e74dca 100644 --- a/pytket/extensions/qiskit/qiskit_convert.py +++ b/pytket/extensions/qiskit/qiskit_convert.py @@ -484,6 +484,7 @@ def _pytket_boxes_from_IfElseOp(instr: Instruction) -> tuple[CircBox, CircBox]: if_qc: QuantumCircuit = instr.params[0] else_qc: QuantumCircuit = instr.params[1] + # TODO handle non-simple register case? default_qreg_if = QuantumRegister(if_qc.num_qubits, "q") default_creg_if = ClassicalRegister(if_qc.num_clbits, "c") default_qreg_else = QuantumRegister(else_qc.num_qubits, "q")