Number of bits not preserved in tk_to_qiskit
conversion with RangePredicate
#410
Labels
bug
Something isn't working
circuit_conversion
Issues and pull requests related to coverting qiskit circuits to pytket and vice versa
Whilst looking into #375 I found that the number of bits was not preserved in the tk_to_qiskit conversion. I think this may well be the cause of the
KeyError
issue.But if I convert to a qiskit
QuantumCircuit
...We only get 4 bits in the converted qiskit circuit. it seems the
tk_SCRATCH_BIT[0]
bit is lost in the conversion.The text was updated successfully, but these errors were encountered: