So, I am fairly new to Qiskit, and I've been following Qiskit textbook recently. In the chapter 7, where the QC lab exercises are located, in the first lab when working on the real hardware it is required to select the optimal initial_layout
setting during the transpile
function call based on the error map consideration.
Now, I understand that the initial layout governs how computational qubits map onto the physical qubits.
For instance, if we select hardware option with 5 qubits (e.g. ibmq_quito
) and we designe a circuit with e.g. 4 qubits, with initial_layout
we can specify any 4-element combination out of 5 possible elements. However, what I fail to understand is what exactly is the error map specified in the lab exercise. Does it mean to sweep all possible qubit configurations (c1 = [0, 1, 2, 3]
, c2 = [0, 1, 2, 4]
, c3 = [1, 2, 3, 4]
, ...) and pick the one with lowest noise impact, or a different approach must be taken?
I would appreciate any input on this.