mindquantum.io.draw_topology

View Source On Gitee
mindquantum.io.draw_topology(topo, circuit=None, style=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.