I am trying to build a simple 16-qubit Quantum circuit where I am appending an 8-qubit quantum circuit to the first 8-qubits of my custom circuit. Then I measure all the qubits. However when I execute it, I get the error:
DAGCircuitError: expected 8 wires, got 16
(See attached image).