I want to run a simulation using qasm
with a realistic noise model from a backend, specifying a coupling_map
as well as an initial_layout
. I do that via a QuantumInstance
which in turn is passed to an algorithm. Now, two questions regarding that qubit layout:
I know that the transpiler may change the mapping of logical to physical qubits. Furthermore, I pass a circuit to the algorithm as an argument and the algorithm then adds an ancilla qubit to the circuit. Is there a way for me to verify the final logical to physical qubit mapping after transpiling?
Could that automatic adding of an ancilla cause problems when using
QuantumInstance
with a specificinitial_layout
?