mindquantum.io.draw_topology_plt

View Source On Gitee
mindquantum.io.draw_topology_plt(topo: QubitsTopology, circuit: Circuit = None, style: Dict = None)[source]

Draw a qubit topology with matplotlib.

Parameters
  • topo (device.QubitsTopology) – The qubit topology.

  • circuit (Circuit) – The given quantum circuit you want to execute on given qubit topology. Default: None.

  • style (Dict) – The picture style configuration. Default: None.