qilisdk.digital.topology

Functions

build_topology_graph(→ rustworkx.PyGraph[int, None])

Return a topology as a rustworkx.PyGraph.

Module Contents

build_topology_graph(topology: qilisdk.digital.types.Topology) rustworkx.PyGraph[int, None][fuente]

Return a topology as a rustworkx.PyGraph.

Parámetros:

topology (Topology) – Coupling map provided either as a list of connected physical-qubit pairs or as an existing PyGraph.

Muestra:

ValueError

Devuelve:

Coupling map in PyGraph form.

Tipo del valor devuelto:

PyGraph[int, None]