Skip to content

Commit

Permalink
Add missing layout data for ibmq_casablanca. (#5492)
Browse files Browse the repository at this point in the history
Co-authored-by: Luciano Bello <luciano.bello@ibm.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
(cherry picked from commit 7f45f5b)
  • Loading branch information
kdk authored and mergify-bot committed Dec 10, 2020
1 parent c939233 commit 563a41e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions qiskit/visualization/gate_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ def plot_gate_map(backend, figsize=None,

mpl_data[1] = [[0, 0]]

mpl_data[5] = [[1, 0], [0, 1], [1, 1], [1, 2], [2, 1]]

mpl_data[7] = [[0, 0], [0, 1], [0, 2],
[1, 1],
[2, 0], [2, 1], [2, 2]]

mpl_data[20] = [[0, 0], [0, 1], [0, 2], [0, 3], [0, 4],
[1, 0], [1, 1], [1, 2], [1, 3], [1, 4],
[2, 0], [2, 1], [2, 2], [2, 3], [2, 4],
Expand All @@ -145,8 +151,6 @@ def plot_gate_map(backend, figsize=None,
[0, 4], [0, 5], [0, 6], [0, 7], [1, 7],
[1, 6], [1, 5], [1, 4], [1, 3], [1, 2], [1, 1]]

mpl_data[5] = [[1, 0], [0, 1], [1, 1], [1, 2], [2, 1]]

mpl_data[27] = [[1, 0], [1, 1], [2, 1], [3, 1], [1, 2],
[3, 2], [0, 3], [1, 3], [3, 3], [4, 3],
[1, 4], [3, 4], [1, 5], [2, 5], [3, 5],
Expand Down

0 comments on commit 563a41e

Please sign in to comment.