I just stumbled upon this: tket doesn't perform any kind of full ancilla allocation as Qiskit does when mapping quantum circuits to architectures. As a result, the mapped circuits resulting from tket contain quantum registers with varying size; depending on how the circuit was routed. For example, if the largest qubit index being used in the circuit is 32, then the circuit mapped to the 127-qubit ibm_washington architecture will still only have a qreg node[32]; definition.
While this is not urgent, I found this surprising and believe it would be good to resolve this disparity between the files generated by qiskit and the files generated by tket.
I just stumbled upon this:
tket
doesn't perform any kind of full ancilla allocation as Qiskit does when mapping quantum circuits to architectures. As a result, the mapped circuits resulting from tket contain quantum registers with varying size; depending on how the circuit was routed. For example, if the largest qubit index being used in the circuit is32
, then the circuit mapped to the 127-qubitibm_washington
architecture will still only have aqreg node[32];
definition.While this is not urgent, I found this surprising and believe it would be good to resolve this disparity between the files generated by qiskit and the files generated by tket.