mindquantum.io.draw_topology

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

Draw a qubit topology as a svg picture.

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.