Python module for network visualization.
Project description
# 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
```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
<img src="docs/images/bm.png" width="40%"><img src="docs/images/tebd.png" width="50%">
<img src="docs/images/ghz4.png" width="50%">
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!
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
$ 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
<img src="docs/images/bm.png" width="40%"><img src="docs/images/tebd.png" width="50%">
<img src="docs/images/ghz4.png" width="50%">
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!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
viznet-0.1.0.linux-x86_64.tar.gz
(22.2 kB
view hashes)
Built Distribution
viznet-0.1.0-py2.py3-none-any.whl
(15.5 kB
view hashes)
Close
Hashes for viznet-0.1.0.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bead59160e101cf83ee1aff585e6386fec2aada2c596c0779ed91514cae825d |
|
MD5 | 72973fcdd993fb5c9ec2edd94e028505 |
|
BLAKE2b-256 | ec1227a05301085f42af3a062958649bfb313288dab1c66c992baaba2f464360 |
Close
Hashes for viznet-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f118724a0443245daca3534a6555f2ec1fbee2ec0977be98d9d9edbc3bf72f3 |
|
MD5 | 857ac869779cf43aebe9ff70897244cb |
|
BLAKE2b-256 | 4af814e6009b1b570302a6e6bafbd045205f2a1703237aba5b95075bb4477640 |