Skip to content

Commit

Permalink
add another TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
CalMacCQ committed Dec 17, 2024
1 parent 80dddbe commit e38ca3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytket/extensions/qiskit/qiskit_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e38ca3e

Please sign in to comment.