Skip to content

Commit

Permalink
minor formatting issue in qiskit.execute_function (#9645) (#9648)
Browse files Browse the repository at this point in the history
* minor formatting issue in qiskit.execute_function

* bullets

---------

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 13e748a)

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
  • Loading branch information
mergify[bot] and 1ucian0 authored Feb 24, 2023
1 parent 09f904a commit afad540
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions qiskit/execute_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,23 +118,26 @@ def execute(
#. :class:`qiskit.transpiler.Layout` instance
#. ``dict``:
virtual to physical::
* virtual to physical::
{qr[0]: 0,
qr[1]: 3,
qr[2]: 5}
physical to virtual::
* physical to virtual::
{0: qr[0],
3: qr[1],
5: qr[2]}
#. ``list``
virtual to physical::
#. ``list``:
* virtual to physical::
[0, 3, 5] # virtual qubits are ordered (in addition to named)
physical to virtual::
* physical to virtual::
[qr[0], None, None, qr[1], None, qr[2]]
Expand Down

0 comments on commit afad540

Please sign in to comment.