qiskit_iqm.qiskit_to_iqm.qubit_to_name
You're reading an old version of this documentation.
If you want up-to-date information, please have a look at 11.0.
qiskit_iqm.qiskit_to_iqm.qubit_to_name#
- qiskit_iqm.qiskit_to_iqm.qubit_to_name(qubit, circuit)#
Construct a unique name for a qubit based on its index in the circuit.
- Parameters
qubit (qiskit.circuit.quantumregister.Qubit) – logical qubit
circuit (qiskit.circuit.quantumcircuit.QuantumCircuit) – circuit the qubit belongs to
- Returns
logical qubit name
- Return type