Metadata-Version: 2.0
Name: viznet
Version: 0.2.2
Summary: Python module for network visualization.
Home-page: https://github.com/GiggleLiu/viznet
Maintainer: Giggle Liu
Maintainer-email: cacate0129@gmail.com
License: MIT
Download-URL: https://github.com/GiggleLiu/viznet
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: matplotlib

# viznet - a network visualization toolbox
![](docs/images/viznetlogo.jpg)
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
```bash
    $ pip install viznet
```

or for the latest version
```bash
    $ git clone https://github.com/GiggleLiu/viznet.git
    $ cd viznet
    $ pip install -r requirements.txt
    $ python setup.py install
```

## To Run Examples
```bash
    $ 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                      
----------------------- | -------------------------
![](docs/images/bm.png) | ![](docs/images/tebd.png)

| quantum circuit           |
| --------------------------|
| ![](docs/images/ghz4.png) |

The theme for neural network follows from [Neural Network Zoo Page](http://www.asimovinstitute.org/neural-network-zoo/),

The theme for quantum circuits follows from [ProjectQ](https://github.com/ProjectQ-Framework/ProjectQ.git).

## Author

The first release of viznet (v0.1) was developed by [Jin-Guo Liu](https://giggleliu.github.io/)  in the group of Lei Wang at IOP China.

## Documentation

Click [here](http://viznet.readthedocs.io/en/latest/) to read the docs!


