Loading search...
QuNet
QuNet.BasicNode — TypeThe default QNode object. Nothing special, but nothing unspecial either ;-)"
QuNet.Coords — TypeCoordinates of the QNode object in two or three spatial dimensions
QuNet.add — MethodAdd a QNode object to the network.
Example:
3 | ```
4 | using QuNet
5 | Q = QNetwork()
6 | A = BasicNode("A")
7 | add(Q, A)
8 | ```QuNet.percolate_vertices — Methodpercolate_vertices(graph, p, exclude)Perform vertex percolation on graph with probability p, excluding specified vertices.
QuNet.remove — MethodRemove a Qnode object from the network.
The convention for removal echos that of LightGraphs.jl. Suppose a given network has N nodes, and we want to remove the node with the id v.
- Check if v < N . If false, simply pop the node from QNetwork.nodes
- Else, swap the nodes v and N, then pop from QNetworks.nodes











