Skip to main content

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
$ 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!


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

viznet-0.1.1-py3.6.egg (31.5 kB view details)

Uploaded Source

viznet-0.1.1-py2.py3-none-any.whl (15.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file viznet-0.1.1-py3.6.egg.

File metadata

  • Download URL: viznet-0.1.1-py3.6.egg
  • Upload date:
  • Size: 31.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for viznet-0.1.1-py3.6.egg
Algorithm Hash digest
SHA256 07dbf38f20ce0798a6ccc7cea51e2643abb7f8858d27dc2ce66d5410eff88ee3
MD5 a93ed38d3a0439a36a8a5b3068ca7557
BLAKE2b-256 a35d3ba3c224530b03c1b3d4eeb6bbee5f3eb73fc0bb1e1df39716ca808d009b

See more details on using hashes here.

File details

Details for the file viznet-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for viznet-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 04fbe514a031b5256f9e07f35bc078d868d81bf652e40936a642bd87410eea14
MD5 c553deec43616c5784059a0a79ab5283
BLAKE2b-256 dd0827b469bb3170f7d2b5d2ae16b875a033e748ec171243bcf49aff346d9743

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page