Awesome Open Source
Awesome Open Source

viznet - a network visualization toolbox

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.

To Install

    $ 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

To Run Examples

    $ 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

Boltzmann Machine TEBD
Quantum Circuit Graph Theory

The theme for neural network follows from Neural Network Zoo Page,

The theme for quantum circuits follows from ProjectQ.

Author

The first release of viznet (v0.1) was developed by Jin-Guo Liu in the group of Lei Wang at IOP China.

Documentation

  • Go through notebook docs/viznet_basic.ipynb (online) as a quick introduction
  • Click here to read the docs!


Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (822,298
Theme (43,415
Network (37,621
Neural (16,678
Visualization (15,330
Edge (7,577
Circuit (4,085
Quantum (3,254