Skip to main content
# 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 | Graph Theory
--------------------------| -------------------------------
![](docs/images/ghz4.png) | ![](docs/images/contract.gif)

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
* Go through notebook `docs/viznet_basic.ipynb` ([online](https://drive.google.com/file/d/1mP9DOoTR4JEhd-ILVXfggpBJOyGatiws/view?usp=sharing)) as a quick introduction
* Click [here](http://viznet.readthedocs.io/en/latest/) to read the docs!


Metadata

Release files for viznet 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for viznet 0.3.0
File Interpreter ABI Platform
viznet-0.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / viznet-0.3.0-py2.py3-none-any.whl

Download URL viznet-0.3.0-py2.py3-none-any.whl
Size 23.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
21dc480f29b471b773a4e4f7f4cd0b61b0af5c0f5ceebeae8b292abf40e7c827
BLAKE2b-256 checksum
How to use checksums
ada8487ca80821847046011621f492f05949cfa5296342ff24f775c3ad444902
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 release file

0.2.2

1 release file

0.2.1

2 release files

0.2.0

1 release file

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page