Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.transpiler.CouplingMap.from_hexagonal_lattice

classmethod CouplingMap.from_hexagonal_lattice(rows, cols, bidirectional=True)[fuente]

Return a hexagonal lattice graph coupling map.

Parámetros
  • rows (int) – The number of rows to generate the graph with.

  • cols (int) – The number of columns to generate the graph with.

  • bidirectional (bool) – Whether the edges in the output coupling graph are bidirectional or not. By default this is set to True

Devuelve

A hexagonal lattice coupling graph

Tipo del valor devuelto

CouplingMap