viznet is designed for visualizing networks composed of nodes and edges, e.g. tensor networks, neural networks and quantum circuits.
It is based on and compatible with matplotlib. The theme brush (for both node and edge) makes the design itself interesting, getting you free from fine tuning the node and wire parameters for hours.
$ pip install viznet
or for the latest version
$ git clone https://github.com/GiggleLiu/viznet.git $ cd viznet $ pip install -r requirements.txt $ python setup.py install
$ cd viznet $ python apps/nn/bm.py # example on neural network $ python apps/tn/tebd.py # example on tensor network $ python apps/qc/ghz.py # example on quantum circuit
you will get something like
|Quantum Circuit||Graph Theory|
The theme for neural network follows from Neural Network Zoo Page,
The theme for quantum circuits follows from ProjectQ.
The first release of viznet (v0.1) was developed by Jin-Guo Liu in the group of Lei Wang at IOP China.