Skip to content

Gistbatch/tree-tensor-network-simulator

Repository files navigation

Tree Tensor Network (TTN) Quantum Circuit Simulation

Quantum circuit simulation using a TTN representation of the quantum state. Run python3 example.py for a simple demonstration. Includes finding of a fitting tree structure.

Installation

Install dependencies with pip3 install - f requirements.txt To use gpu functionality, cuda has to be set up correctly. Then you can use pip3 install cupy. As an alternative you can build a docker container.

docker build --tag mps_circuit_sim .
docker run mps_circuit_sim

Running the data generation from the docker file is not recommended.

Data

To recreate the data and plots run python3 recreate_data.py

Comparison with matrix product state (MPS) simulation

For benchmark comparisons, we also include a MPS-based statevector simulator in the mps_circuit_sim/ subfolder. The code supports general "qudits".

Publiccation

The prerint of the paper is avaolable on arxiv.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages