Currently, the classes TTN and MERA use qubit_list and qubits list data structures to store the qubit indices as required. This, after observation, comes out as a redundant and inefficient way of storage when data structures like QuantumRegister and Qubit are made available by Qiskit.
Perhaps, modification to the code that replaces the existing list data structure with QuantumRegister or Qubit is required.
Currently, the classes TTN and MERA use
qubit_list
andqubits
list data structures to store the qubit indices as required. This, after observation, comes out as a redundant and inefficient way of storage when data structures likeQuantumRegister
andQubit
are made available by Qiskit.Perhaps, modification to the code that replaces the existing
list
data structure withQuantumRegister
orQubit
is required.