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.
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.
To recreate the data and plots run python3 recreate_data.py
For benchmark comparisons, we also include a MPS-based statevector simulator in the mps_circuit_sim/ subfolder. The code supports general "qudits".
The prerint of the paper is avaolable on arxiv.