EntangledQuery
  • Threads
  • Categories
  • Users
  • Seminar
  • forum
  • group
  • theaters
  • search
  1. Threads
  2. Qiskit
chevron_left Qiskit

What is the distance_matrix of a coupling map?

  • forum 1 reply
  • last reply by Meng Oct. 18, 2021
  • Last
  • link
    whoami
    Members 5 posts
    Oct. 17, 2021, 11:02 p.m. Oct. 17, 2021, 11:02 p.m.
    link

    What is the distance_matrix of a coupling map?
    qiskit.org/documentation/stubs/qiskit.transpiler.CouplingMap.html

  • link
    Meng
    Members 22 posts
    Oct. 18, 2021, 1:48 p.m. Oct. 18, 2021, 1:48 p.m.
    link

    The coupling map is a graph which indicates the connectivity of the qubits in the hardware. The nodes in the coupling map represent qubits and the edges represent their connection.

    For example:
    image.png

    The element $d[i][j]$ of the distance matrix for a coupling map represent the distance between $i$-th qubit and $j$-th qubit. The distance between 1 and 5 qubits is 2, so $d[1][5]=2$, you can follow the same logic to reconstruct the entire distance matrix.

    image.png

    PNG, 14.5 KB, uploaded by Meng on Oct. 18, 2021.

There are no more posts in this thread.

  • EntangledQuery