You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add the possibility to define wires names in a circuit. They will be printed using circuit.draw() instead of the standard "q0", "q1", "q2"... This is useful when transpiling circuits on a subset of qubits to avoid deceptive printing.
It is important that wires names is not just an argument of the draw function as the transpiled circuit should have the same name of the wires as the physical qubits.
for example:
Add the possibility to define wires names in a circuit. They will be printed using circuit.draw() instead of the standard "q0", "q1", "q2"... This is useful when transpiling circuits on a subset of qubits to avoid deceptive printing.
example:
ancilla: -------
hi : -------
q2 : --------
another possibility can be passing a dictionary used to rename only a subset of wires like:
ancilla: -------
q1 : -------
hi : --------
It is important that wires names is not just an argument of the draw function as the transpiled circuit should have the same name of the wires as the physical qubits.
for example:
q2 : -------
q4 : -------
The text was updated successfully, but these errors were encountered: